[3678] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: CONFIG_IP_TRANSPARENT_PROXY sample programs?

daemon@ATHENA.MIT.EDU (Matthias Urlichs)
Sun Jul 14 01:50:48 1996

From: Matthias Urlichs <smurf@smurf.noris.de>
To: david@sealabs.com (David Bonn)
Date: 	Sat, 13 Jul 1996 15:21:46 +0200 (MET DST)
Cc: smurf@smurf.noris.de, linux-net@vger.rutgers.edu
In-Reply-To: <199607122015.NAA03172@torment.sealabs.com> from "David Bonn" at Jul 12, 96 01:15:17 pm

Hi,

David Bonn wrote:
>
>The trick is to use getsockname() on the proxied client.  This returns
>the address that the client thinks it is connecting to.
>
Ah. I'll try that.

>My current thinking is that transparent proxies can be used quite
>efficiently to manage ip masquerading connections.  Using a
>transparent proxy for the ftp control connection won't have a
>noticable performance impact, but makes for cleaner, more robust code
>when it comes to building ip masquerading entries for the data
>connection.
>
Good idea. In fact, I'd like a sample program please.
(Somebody must already have written one, in order to test the kernel co=
de!)

--=20
God created Man first, then Woman.  You can't get everything right the
first time.
--=20
Matthias Urlichs         \  noris network GmbH  /  Xlink-POP N=FCrnberg=
=20
Schleiermacherstra=DFe 12   \   Linux+Internet   /   EMail: urlichs@nor=
is.de
90491 N=FCrnberg (Germany)   \    Consulting+Programming+Networking+etc=
'ing
   PGP: 1024/4F578875   1B 89 E2 1C 43 EA 80 44  15 D2 29 CF C6 C7 E0 D=
E
       Click <A HREF=3D"http://info.noris.de/~smurf/finger">here</A>.  =
  42


home help back first fref pref prev next nref lref last post