On Fri, February 10, 2006 15:05, David Vogt wrote: > 2006/2/10, Rob Sterenborg <rob@xxxxxxxxxxxxxxx>: >> Yes, but still : can you give me a reason why I would use >> iptables/netfilter/libipq to sniff and log packets when I can do it with >> tcpdump or something ? >> The OP says <quote>I want to capture IP packets so that I can compress it >> and >> then send it to the receiver</quote>. If he just wants to capture packets, >> it >> seems to me that using iptables for this is a bit more difficult. >> > > As far as I understood he wants to modify the packets and reinject > them. Is this possible with pcdump and ethereal as well? I thought > they were ... read-only? > On the other hand ... if he takes care of the communication of the > packets in any other way (socket or whatever), libipq would not by my > first choice either. <quote> I want to capture IP packets so that I can compress it and then send it to the receiver. Receiver decompresses it at its side. Is it possible to do it with iptables? </quote> What I understand is that he wants to send (not specified how) packet logs to somebody who can process those (also not specified how). Oh well, the OP can choose ;-) Gr, Rob