regarding limit option and logging

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

 



Hi,

how to control logging rate using "-m limit --limit" combination.

I want to limit the number of packets logged to one packet per second
(1/s). For this I am using below rules and it is not working.

iptables -A INPUT -d 10.255.13.157  -m limit --limit 1/sec -j NFLOG
--nflog-group 1

what value i have to use for --limit and ----limit-burst to get the 1
packets logged per second.

Thanks and regards,
Adishesh
--
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