Linux Netfilter discussions
 help / color / mirror / Atom feed
* specified protocl number problem
@ 2008-11-18  7:31 bahamin takhtaei
  2008-11-18  7:47 ` Bill Chappell
  0 siblings, 1 reply; 4+ messages in thread
From: bahamin takhtaei @ 2008-11-18  7:31 UTC (permalink / raw)
  To: netfilter

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. :(



      

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: specified protocl number problem
  2008-11-18  7:31 specified protocl number problem bahamin takhtaei
@ 2008-11-18  7:47 ` Bill Chappell
  2008-11-18  9:35   ` bahamin takhtaei
  2008-11-19 10:25   ` Pascal Hambourg
  0 siblings, 2 replies; 4+ messages in thread
From: Bill Chappell @ 2008-11-18  7:47 UTC (permalink / raw)
  To: bahamin takhtaei; +Cc: netfilter

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

bahamin takhtaei wrote:
> 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. :(
> 
> 
> 
>       
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
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 <bill.chappell@critical.com> www.critical.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: specified protocl number problem
  2008-11-18  7:47 ` Bill Chappell
@ 2008-11-18  9:35   ` bahamin takhtaei
  2008-11-19 10:25   ` Pascal Hambourg
  1 sibling, 0 replies; 4+ messages in thread
From: bahamin takhtaei @ 2008-11-18  9:35 UTC (permalink / raw)
  To: netfilter

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!


--- On Tue, 11/18/08, Bill Chappell <chappewr@critical.com> wrote:

> From: Bill Chappell <chappewr@critical.com>
> Subject: Re: specified protocl number problem
> To: "bahamin takhtaei" <b_takhtaei@yahoo.com>
> Cc: "netfilter" <netfilter@vger.kernel.org>
> 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
> 
> bahamin takhtaei wrote:
> > 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. :(
> > 
> > 
> > 
> >       --
> > To unsubscribe from this list: send the line
> "unsubscribe netfilter" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at 
> http://vger.kernel.org/majordomo-info.html
> > 
> 
> -- 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
> <bill.chappell@critical.com> www.critical.com


      

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: specified protocl number problem
  2008-11-18  7:47 ` Bill Chappell
  2008-11-18  9:35   ` bahamin takhtaei
@ 2008-11-19 10:25   ` Pascal Hambourg
  1 sibling, 0 replies; 4+ messages in thread
From: Pascal Hambourg @ 2008-11-19 10:25 UTC (permalink / raw)
  To: netfilter

Hello,

Bill Chappell a écrit :
> 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-11-19 10:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-18  7:31 specified protocl number problem bahamin takhtaei
2008-11-18  7:47 ` Bill Chappell
2008-11-18  9:35   ` bahamin takhtaei
2008-11-19 10:25   ` Pascal Hambourg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox