Score:0

Does NAT leave a trace of the internal source?

in flag
Sam

I was wondering if there is any trace left of the original source when a packet leaves NAT.

Let’s say I do a series of DNS requests from my machine to a public server. I’m behind NAT. Can the server somehow see that these requests originate from the same machine? For example, does NAT reuse the source port when it’s coming from the same machine?

us flag
It depends on the NAT implementation.
in flag
Does the client OS reuse DNS connections, in most cases it's UDP so no, if so you get a new request, real traces are not there but analyzing data might give patterns, also if for example a website really wanted to trace you then they could use some of in each DNS name which could be traceable.
Score:5
cn flag

That question has no good answer because you ask a very specific question - for a generic term.

NAT is an approach, not a program. Every router implementing NAT - may do so differently. Implementation detail.

So, there is no generic answer.

IIRC back in the day you could not only identify NAT was used, but also certain router producer (based on such implementation details) though that was YEARS ago - things have cleaned up then. Seriously, this requires analysis for every router and possibly differs even between firmware versions over the years.

Oh, and another one - your example is bad. REALLY bad:

Let’s say I do a series of DNS requests from my machine to a public server

In any network setup I hever have seen, you would not do that - your machine would do the DNS request to the router, which also acts as a local DNS server. Any request it can not fulfill would be forwarded. The reason for this is i.e. finding local assets also registered in the DNS... which the remote DNS would not know. Anyhow, using this (normal) setup, there would be no NAT involved as any outside DNS request would really come from the same device.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.