What can CloudFront see if Tor is involved?

November 15, 2026 4 answers
Asked by r.684+cfgrelay

If a service appears to use both Tor and AWS CloudFront, what can AWS see about its backend? Does Tor hide the origin from CloudFront, or does it depend on how the pieces are connected?

Answers

6x+harborbutton_413

CloudFront has an origin configuration, and AWS can see the endpoint configured there. That might be an AWS resource or an endpoint hosted somewhere else. Knowing that endpoint does not necessarily reveal every server or network hop behind it.

If the configured origin is a proxy, for example, CloudFront sees the proxy as its origin. The proxy might forward requests to another backend that is not apparent from the distribution configuration alone.

r.684+cfgrelay:

So the configured origin and the actual application server are not necessarily the same thing?

9h!ferrulebadge_316:

Right. The origin is where CloudFront sends the request next. What happens beyond that depends on the setup.

Reply to this answer
v.824~tallywheel

The direction of the traffic matters here. CloudFront cannot directly fetch an onion address as a Tor client. A setup that uses CloudFront in front of an onion service would need an intermediary that CloudFront can reach and that can connect to Tor.

AWS would have visibility into the configured intermediary endpoint. That alone would not establish where the onion service is physically hosted.

Reply to this answer
Varnix-2h

There is another possible arrangement: the onion service could make requests to CloudFront for content rather than sit behind it as the origin. Seeing CloudFront involved somewhere does not tell you which direction requests are flowing or prove that it fronts the onion service.

Reply to this answer
8a!drumnotch_374

For HTTPS served by CloudFront, TLS terminates at CloudFront. CloudFront can then use a separate connection to the origin. Application data could also be encrypted separately inside that connection, so visibility into the transport does not automatically mean visibility into every piece of content.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions