Re: a question about tc filter

Linux Advanced Routing and Traffic Control

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

 



On Sunday 01 December 2002 08:18, Folke Aeon wrote:
> hi, all
>
> i run the following scripts :
> tc qdisc add dev eth0 handle ffff: ingress
> tc filter add dev eth0 parent ffff: protocol ip \
>     pref 4 u32 match ip dst 10.0.0.1 flowid :1
>
> my question is :
>
>   can i know how many packets are matched by
> this filter?
No

>   if i can , what should i do to get this
> counter value, then.
But you can make a iptables rule that matches the same packets.  Iptables has 
builtin counters for bytes and packets.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
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