Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 2014 15:50:26 +0330
From:      Hooman Fazaeli <hoomanfazaeli@gmail.com>
To:        "Andrey V. Elsukov" <bu7cher@yandex.ru>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: transparent udp proxy
Message-ID:  <54537E8A.9020500@gmail.com>
In-Reply-To: <54537BD0.20804@yandex.ru>
References:  <54535B82.405@gmail.com> <54536909.3030507@yandex.ru> <54537AB7.5030906@gmail.com> <54537BD0.20804@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54537E8A.9020500>