Ho to use rateest module?

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

 



Hi,

I need to log a log message if ingress bandwidth on interface is
higher than 3Mbps. I tried to use rateest module with command
"iptables -A INPUT -m rateest --rateest RE1 --rateest-gt --rateest-bps
3Mbps -j LOG --log-prefix "Bandwidth was >3Mbps"", but this returned
"iptables: No chain/target/match by that name.". However, if I first
pass all the traffic to RATEEST target with "iptables -A INPUT -j
RATEEST --rateest-name RE1 --rateest-interval 250.0ms
--rateest-ewmalog 500.0ms" and then execute "iptables -A INPUT -m
rateest --rateest RE1 --rateest-gt --rateest-bps 3Mbps -j LOG
--log-prefix "Bandwidth was >3Mbps"", then the command is accepted.
Why is the RATEEST target needed in the first place?


thanks,
Martin
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux