transparent udp proxy

Hooman Fazaeli hoomanfazaeli at gmail.com
Fri Oct 31 12:20:34 UTC 2014


On 10/31/2014 3:38 PM, Andrey V. Elsukov wrote:
> On 31.10.2014 15:04, Hooman Fazaeli wrote:
>>> Hi,
>>>
>>> udp_input() doesn't overwrite destination address. Probably you have NAT
>>> that does this.
>>>
>> There is no NAT stuff.
>> I checked that on 8.4 source:
>> http://fxr.watson.org/fxr/source/netinet/udp_usrreq.c?v=FREEBSD8#L461
> The more recent FreeBSD versions don't overwrite destination address.
> 	
> 	https://svnweb.freebsd.org/base?view=revision&revision=225044
>
Yes. It seems so.
But still the problem of obtaining original destination port remains.

-- 

Best regards.
Hooman Fazaeli



More information about the freebsd-net mailing list