Question regarding flow table selectors

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

 



Hello,

I have a question regarding flow tables.

On the wiki [1], there is an example of a single selector flow table:

add rule filter input tcp dport 22 ct state new flow table ssh-ftable { ip saddr limit rate 10/second } accept

>From this example, I am under the impression that:

* For inbound IPv4 TCP traffic to destination port 22 with state new
* The selector is the IPv4 source address of the connection

What I do not understand is if the connection rate limit is used to filter the flow table results (from nft list flow...), or whether this is used to restrict traffic on the rule (only allow traffic that is up to 10 packets per second).

Which one is it ?

Thanks,

- J

Sources
[1] https://wiki.nftables.org/wiki-nftables/index.php/Flow_tables
--
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