Using -j QUEUE
Hello,
I am using the following rule in iptables:
iptables -A INPUT -p TCP -j QUEUE
and I would expect all incoming tcp traffic, independently of the destination IP to be fetched by my userspace program. Nevertheless, what I get, is that only tcp packets destined for the linux machine arrive to the userspace program. Is that the correct behaviour? If so, how should I configure the iptables to get all the tcp packets independently of the destination IP?
Regards
Raquel
_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: http://messenger.microsoft.com/es
Quoted 12 lines · raquel toribio
Hello,
I am using the following rule in iptables:iptables -A INPUT -p TCP -j QUEUE
and I would expect all incoming tcp traffic, independently of the destination IP to be fetched by my userspace program. Nevertheless, what I get, is that only tcp packets destined for the linux machine arrive to the userspace program. Is that the correct behaviour? If so, how should I configure the iptables to get all the tcp packets independently of the destination IP?
You need a rule in the FORWARD chain.
Signature · 2 lines
James Morris <[email protected]>