From: "Grace Li" Subject: Does iptable save original destination address so that application could retrieve it? Date: Mon, 5 Apr 2004 16:02:25 -0700 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00B5_01C41B27.62EFE560" Return-path: To: Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_00B5_01C41B27.62EFE560 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, folks, Iptables could be instructed to intercept packets arrived on specified = network interface, change the destination port to a specified local port = so that the traffic is directed to appropriate application. For example = Squid asks iptables to intercept traffic for port 80, frox asks iptable = to intercept traffic for port 21, ASSP asks iptable to intercept traffic = for port 80. My question is how could those application know the source = and destination IP address of the packet in order to forward them on? = Does iptable save original source/destination address somewhere so that = application could retrieve it? The answer of this question is very important to me. Thanks in advance = for any tip! Grace ------=_NextPart_000_00B5_01C41B27.62EFE560 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi, folks,
 
Iptables could be instructed to = intercept packets=20 arrived on specified network interface, change the destination port to a = specified local port so that the traffic is directed to appropriate = application.=20 For example Squid asks iptables to intercept traffic for port 80, frox = asks=20 iptable to intercept traffic for port 21, ASSP asks iptable to intercept = traffic=20 for port 80. My question is how could those application know the source = and=20 destination IP address of the packet in order to forward them on? Does iptable save original source/destination address somewhere = so that=20 application could retrieve it?
 
The answer of this question is very = important to=20 me. Thanks in advance for any tip!
 
Grace
------=_NextPart_000_00B5_01C41B27.62EFE560--