filtering icmp - second try

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All

Is the filter rule bellow supposed to classify icmp request/reply packets?

 $TC filter add dev eth2 protocol ip \
    parent 1:0 prio 1 u32 \
    match ip dst 192.168.0.1 \
    match icmp type 8 0xff flowid 100
 $TC filter add dev eth2 protocol ip \
    parent 1:0 prio 1 u32 \
    match ip dst 192.168.0.1 \
    match icmp type 0 0xff flowid 100

it is accepted by tc but I think it is not filtering anything. icmp
packets are going thru default htb class.

How do I "see" if these rules are catching anything? Is there something
like the -s class option?

Any clues?

-- 

Ethy H. Brito         /"\
InterNexo Ltda.       \ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
+55 (12) 3941-6860     X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
S.J.Campos - Brasil   / \
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux