Re: Question about log rate limiting

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

 



On 10/01/2019 12:55, Florian Westphal wrote:
> 
> limit rate .... log prefix ...

That's weird. Shouldn't the two following rules be the same?

add rule inet filter INPUT limit rate 1/minute burst 1 packets log prefix "* INPUT * "
add rule inet filter INPUT log prefix "* INPUT * " limit rate 1/minute burst 1 packets

Because when I use the first rule, only one message goes 
to the syslog. But when I use the second rule instead, all 
packets get logged, even only one of them hits the rule.

Attachment: signature.asc
Description: OpenPGP digital signature


[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