From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril COUPEL Subject: Transparent Proxy Date: 25 Nov 2002 14:04:22 +0100 Sender: netfilter-admin@lists.netfilter.org Message-ID: <1038229462.2864.11.camel@sc1.coupel> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-IbFNvtuP4ujFDc8U7lXw" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org --=-IbFNvtuP4ujFDc8U7lXw Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi all, First here is my network architecture: 3 Linux Box, B act has router (A and C can even be a group of PCs): ------ ------ ------ | A |----| B |----| C | ------ ------ ------ I need to REDIRECT (DNAT) the traffic from A to B, to a kind of PROXY, and then forward it to C. For it, I need to retreave on B the real server address requested by A to open a new connection from B to C. My Question is: How to retreave the conntrack informations for a connection, without parsing the /proc/net/ipv4/ip_conntrack? Thank in advance. -- Cyril COUPEL --=-IbFNvtuP4ujFDc8U7lXw Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Hi all,
First here is my network architecture:
3 Linux Box, B act has router (A and C can even be a group of PCs):

------     ------     ------
|  A  |----|  B  |----|  C  |
------     ------     ------

I need to REDIRECT (DNAT) the traffic from A to B, to a kind of PROXY, and then forward it to C.

For it, I need to retreave on B the real server address requested by A to open a new connection from B to C.

My Question is:
How to retreave  the conntrack informations for a connection, without parsing the /proc/net/ipv4/ip_conntrack?

Thank in advance.
--
Cyril COUPEL <cyril@coupel.homelinux.org>
--=-IbFNvtuP4ujFDc8U7lXw--