aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2022-03-07 10:16:37 +0800
committerYousong Zhou <yszhou4tech@gmail.com>2022-03-07 10:18:19 +0800
commitd86ca89e4942044e25a59e19696b37f9d3648a9c (patch)
treed8ceb8063c509d8ac6ead8aa82dc6669c7067b90
parent2de9035bda5464a3990b15ef582f6df243ea4f9c (diff)
shadowsocks-libev: add note on nftables set restriction
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
-rw-r--r--net/shadowsocks-libev/README.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/shadowsocks-libev/README.md b/net/shadowsocks-libev/README.md
index 8e72e7fbf..c4a882540 100644
--- a/net/shadowsocks-libev/README.md
+++ b/net/shadowsocks-libev/README.md
@@ -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.