Limiting connections with nft

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

 



There's some info on how to limit connections using nft here[1].
We can find there, for instance, the following rule:

nft add rule ip filter INPUT tcp dport 80 meter http1 { tcp dport . ip saddr limit rate over 200/second } counter drop

I was able to rewrite the rule to the following form:

nft add rule ip filter INPUT tcp dport 80 meter http1 { tcp dport . ip saddr } limit rate over 200/second counter drop

Is there any difference between the two? It looks like they 
do the same thing.


[1] https://wiki.nftables.org/wiki-nftables/index.php/Meters



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