iptables -m limit

Linux Advanced Routing and Traffic Control

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

 



hy,

i want a iptables rule to match if a designated trafic is above x bps or 
  pps, i try

iptm="/usr/local/sbin/iptables -t mangle"
$iptm -A PREROUTING -i eth0 -m limit --limit 10000/sec
$iptm -A PREROUTING -i eth0 -m limit ! --limit 10000/sec

the results are:
62992   16M            all  --  eth0   *       0.0.0.0/0 
0.0.0.0/0          limit: avg 10000/sec burst 5
62993   16M            all  --  eth0   *       0.0.0.0/0 
0.0.0.0/0          limit: avg 10000/sec burst 5

why the ! argument dont work???? and is accepted

C


_______________________________________________
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