From: Yousong Zhou Date: Tue, 12 Mar 2024 00:45:28 +0000 (+0000) Subject: shadowsocks-libev: add remote server ips to dst bypass ipset X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=85b634f0b4f03d057613d45553ca272af877c27e;p=openwrt-packages.git shadowsocks-libev: add remote server ips to dst bypass ipset To align with old iptables-based ss-rules implementation. Supersedes openwrt/packages#20239 Link: https://github.com/openwrt/packages/pull/20239 Signed-off-by: Luis Liou [minor fixup on commit title, version bump, etc.] Signed-off-by: Yousong Zhou --- diff --git a/net/shadowsocks-libev/Makefile b/net/shadowsocks-libev/Makefile index ed5c418d1..5c7f56723 100644 --- a/net/shadowsocks-libev/Makefile +++ b/net/shadowsocks-libev/Makefile @@ -14,7 +14,7 @@ include $(TOPDIR)/rules.mk # PKG_NAME:=shadowsocks-libev PKG_VERSION:=3.3.5 -PKG_RELEASE:=10 +PKG_RELEASE:=11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$(PKG_VERSION) diff --git a/net/shadowsocks-libev/files/ss-rules/set.uc b/net/shadowsocks-libev/files/ss-rules/set.uc index 38140e7e1..0decec5f1 100644 --- a/net/shadowsocks-libev/files/ss-rules/set.uc +++ b/net/shadowsocks-libev/files/ss-rules/set.uc @@ -44,7 +44,7 @@ let set_suffix = { str: o_src_checkdst, }, "dst_bypass": { - str: o_dst_bypass, + str: o_dst_bypass + " " + o_remote_servers, file: o_dst_bypass_file, }, "dst_bypass_": {