From 85b634f0b4f03d057613d45553ca272af877c27e Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Tue, 12 Mar 2024 00:45:28 +0000 Subject: [PATCH] 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 --- net/shadowsocks-libev/Makefile | 2 +- net/shadowsocks-libev/files/ss-rules/set.uc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/shadowsocks-libev/Makefile b/net/shadowsocks-libev/Makefile index ed5c418d15..5c7f567235 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 38140e7e1e..0decec5f1b 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_": { -- 2.30.2