specified protocl number problem
Hi everybody,
Why I can't QUEUE some ip-protocol packets such as IGMP, AH, ESP and so on?
I add these rules to Iptables:
iptables -A INPUT -j QUEUE
iptables -A OUTPUT -j QUEUE
and I see that TCP, UDP and ICMP packets are queued only and other protocol packets are not! But I see them by tcpdump. :(
The packets you are seeing (TCP, UDP, and ICMP)
are what you would get if you were to specify
"-p all".
"all" is not as inclusive as one might expect.
To get packets with other protocols, you must
specific them explicitly.
Bill
Quoted 18 lines · bahamin takhtaei
Hi everybody,
Why I can't QUEUE some ip-protocol packets such as IGMP, AH, ESP and so on? I add these rules to Iptables:
iptables -A INPUT -j QUEUE
iptables -A OUTPUT -j QUEUEand I see that TCP, UDP and ICMP packets are queued only and other protocol packets are not! But I see them by tcpdump. :(
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 4 lines
William Chappell, Software Engineer, Critical Technologies Inc. * Creativity * Diversity * Expertise * Flexibility * Integrity * Suite 400 Technology Center, 4th Floor 1001 Broad St, Utica NY 13501 315-793-0248 x148 FAX -9710 <[email protected]> www.critical.com
Hi,
I change the rules to these:
iptables -A INPUT -p 200 -j QUEUE
iptables -A OUTPUT -p 200 -j QUEUE
and send some packets with protocol-number=200 to target, but Iptables can't QUEUE the packets still!
Quoted 46 lines · Bill Chappell
From: Bill Chappell <[email protected]>
Subject: Re: specified protocl number problem
To: "bahamin takhtaei" <[email protected]>
Cc: "netfilter" <[email protected]>
Date: Tuesday, November 18, 2008, 2:47 AM The packets you are seeing (TCP, UDP, and ICMP) are what you would get if you were to specify "-p all".
"all" is not as inclusive as one might expect. To get packets with other protocols, you must specific them explicitly.Bill
Quoted 3 lines · bahamin takhtaei
Hi everybody,
Why I can't QUEUE some ip-protocol packets such as
IGMP, AH, ESP and so on?
Quoted 6 lines
I add these rules to Iptables:
iptables -A INPUT -j QUEUE
iptables -A OUTPUT -j QUEUEand I see that TCP, UDP and ICMP packets are queued
only and other protocol packets are not! But I see them by tcpdump. :(
Quoted 5 lines
--To unsubscribe from this list: send the line
"unsubscribe netfilter" in
Quoted 2 lines
the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 1 line
-- William Chappell, Software Engineer, Critical Technologies Inc.
* Creativity * Diversity * Expertise * Flexibility * Integrity *
Suite 400 Technology Center, 4th Floor 1001 Broad St, Utica NY 13501
315-793-0248 x148 FAX -9710 <[email protected]> www.critical.com
Hello,
Quoted 6 lines · Bill Chappell
The packets you are seeing (TCP, UDP, and ICMP)
are what you would get if you were to specify
"-p all".
"all" is not as inclusive as one might expect.
To get packets with other protocols, you must
specific them explicitly.
Where did you get such information ? It contradicts the manpage, and my own experience FWIW.