Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 2014 13:26:20 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Hooman Fazaeli <hoomanfazaeli@gmail.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, "Andrey V. Elsukov" <bu7cher@yandex.ru>
Subject:   Re: transparent udp proxy
Message-ID:  <20141031122620.GA2416@unixarea.DDR.dd>
In-Reply-To: <54537AB7.5030906@gmail.com>
References:  <54535B82.405@gmail.com> <54536909.3030507@yandex.ru> <54537AB7.5030906@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Friday, October 31, 2014 a las 03:34:07PM +0330, Hooman Fazaeli escribió:

> > 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

Hi,

In the GOD(*) I run a firewall for our company with an UDP gateway; I've
pulled out the sources from dust and they are here:
http://www.unixarea.de/udprelay.tar.gz

See if you can drain something from it.

	matthias

GOD(*): Good Old Days :-)
-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign



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