From: Arnt Karlsen Subject: Re: question about iptables Date: Sun, 2 Mar 2003 15:45:37 +0100 Sender: netfilter-admin@lists.netfilter.org Message-ID: <20030302154537.0982e706.arnt@c2i.net> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org On Thu, 27 Feb 2003 19:23:33 -0500, "subramoni padmanabhan" wrote in message : > Hi, > > I have a question about the use of iptables. I am working on a > project in > which I have to capture packets. Does iptables allow non-obtrusive > packet capture? For example, if there is a router between A and B and > when I send a packet from A to B, the router is supposed to make a > copy of the packet going through it and send that copy to another > node, say C without altering the packet going to B. So in effect the > packet becomes two at the router and one goes to C and the original > one goes to B. Is there provision in iptables to do such a thing? > Also, can I capture packets based on the data fields inside the packet > rather than on the fields in the packet header? If so, please let me > know how. Any response would be greatly appreciated. Thanks. > > Subramoni Padmanabhan > G-126, 700 woodland avenue > Lexington, Kentucky 40508 > Phone : 859 323 9405 ..you can do this with tcpdump thru ssh, 'info tcpdump' for details. (I assume you control the router you use to sniff traffic from.) -- ..med vennlig hilsen = with Kind Regards from Arnt... ;-) ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case.