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
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"