shadowsocks-libev: add note on nftables set restriction
authorYousong Zhou <yszhou4tech@gmail.com>
Mon, 7 Mar 2022 02:16:37 +0000 (10:16 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Mon, 7 Mar 2022 02:18:19 +0000 (10:18 +0800)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
net/shadowsocks-libev/README.md

index 8e72e7fbf5cd1a319306c4e8412e2b879971999e..c4a8825401398f64b4c0fbc9d61c1d53d0831680 100644 (file)
@@ -71,9 +71,7 @@ We can have multiple instances of component and `server` sections.  The relation
 
        local_default           [bypass], forward, checkdst
 
-ss-rules now uses nft set for storing addresses/networks.  Those set names are also part of the API and can be populated by other programs, e.g. dnsmasq with builtin nft set support
-
-Note also that `src_ips_xx` and `dst_ips_xx` actually also accepts cidr network representation.  Option names are retained in its current form for backward compatibility coniderations
+ss-rules now uses nft set for storing addresses/networks.  Those set names are also part of the API and can be populated by other programs, e.g. dnsmasq with builtin nft set support.  Note that while nftables set supports storing cidr networks when `interval` flag is on, it rejects elements with overlaping intervals.
 
 Extra nftables expressions can be specified with `nft_tcp_extra` and `nft_udp_extra` to apply ss_rules only to selected tcp/udp traffics.  E.g. `tcp dport { 80, 443 }`, `udp dport 53`, etc.