From becee75703dfef9dad616a74db49f96a27a504b0 Mon Sep 17 00:00:00 2001 From: QiuSimons <45143996+QiuSimons@users.noreply.github.com> Date: Tue, 22 Dec 2020 15:16:58 +0800 Subject: [PATCH 1/3] Update 02_prepare_package.sh --- SCRIPTS/02_prepare_package.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SCRIPTS/02_prepare_package.sh b/SCRIPTS/02_prepare_package.sh index 5ef89ecf9..e85897fc6 100644 --- a/SCRIPTS/02_prepare_package.sh +++ b/SCRIPTS/02_prepare_package.sh @@ -225,13 +225,14 @@ svn co https://github.com/fw876/helloworld/trunk/naiveproxy package/lean/naivepr svn co https://github.com/xiaorouji/openwrt-passwall/trunk/luci-app-passwall package/new/luci-app-passwall sed -i 's,default n,default y,g' package/new/luci-app-passwall/Makefile sed -i '/V2ray:v2ray/d' package/new/luci-app-passwall/Makefile -sed -i '/https_dns_proxy:https-dns-proxy/d' package/new/luci-app-passwall/Makefile sed -i 's,ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305,ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256,g' package/new/luci-app-passwall/luasrc/model/cbi/passwall/server/api/trojan.lua sed -i 's,TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256,TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256,g' package/new/luci-app-passwall/luasrc/model/cbi/passwall/server/api/trojan.lua cp -f ../PATCH/new/script/move_2_services.sh ./package/new/luci-app-passwall/move_2_services.sh pushd package/new/luci-app-passwall bash move_2_services.sh popd +rm -rf ./feeds/packages/net/https-dns-proxy +svn co https://github.com/Lienol/openwrt-packages/trunk/net/https-dns-proxy feeds/packages/net/https-dns-proxy svn co https://github.com/xiaorouji/openwrt-passwall/trunk/tcping package/new/tcping svn co https://github.com/xiaorouji/openwrt-passwall/trunk/trojan-go package/new/trojan-go svn co https://github.com/xiaorouji/openwrt-passwall/trunk/brook package/new/brook From 20fba4b6df3c3a458202c070ee567ff385450d0d Mon Sep 17 00:00:00 2001 From: QiuSimons <45143996+QiuSimons@users.noreply.github.com> Date: Wed, 23 Dec 2020 16:16:12 +0800 Subject: [PATCH 2/3] Update white.list --- PATCH/files/etc/ssr/white.list | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/PATCH/files/etc/ssr/white.list b/PATCH/files/etc/ssr/white.list index 222a91481..2ef603c6c 100644 --- a/PATCH/files/etc/ssr/white.list +++ b/PATCH/files/etc/ssr/white.list @@ -1,3 +1,9 @@ -synology.com +checkip.synology.com +checkipv6.synology.com +checkport.synology.com +ddns.synology.com +account.synology.com +whatismyip.akamai.com +checkip.dyndns.org teamviewer.com bing.com From 77176e2a8412486ca7832fc168ae4bd17d77ee4a Mon Sep 17 00:00:00 2001 From: QiuSimons <45143996+QiuSimons@users.noreply.github.com> Date: Wed, 23 Dec 2020 16:17:56 +0800 Subject: [PATCH 3/3] Update 02_prepare_package.sh --- SCRIPTS/02_prepare_package.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SCRIPTS/02_prepare_package.sh b/SCRIPTS/02_prepare_package.sh index e85897fc6..958d766cd 100644 --- a/SCRIPTS/02_prepare_package.sh +++ b/SCRIPTS/02_prepare_package.sh @@ -20,8 +20,8 @@ sed -i 's/O2/O2/g' ./rules.mk #3328 add idle wget -P target/linux/rockchip/patches-5.4 https://github.com/project-openwrt/openwrt/raw/master/target/linux/rockchip/patches-5.4/005-arm64-dts-rockchip-Add-RK3328-idle-state.patch #IRQ -sed -i '/;;/i\set_interface_core 8 "ff160000" "ff160000.i2c"' target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity -sed -i '/;;/i\set_interface_core 1 "ff150000" "ff150000.i2c"' target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity +sed -i '/set_interface_core 4 "eth1"/a\set_interface_core 8 "ff160000" "ff160000.i2c"' target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity +sed -i '/set_interface_core 4 "eth1"/a\set_interface_core 1 "ff150000" "ff150000.i2c"' target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity #disabed rk3328 ethernet tcp/udp offloading tx/rx sed -i '/;;/i\ethtool -K eth0 rx off tx off && logger -t disable-offloading "disabed rk3328 ethernet tcp/udp offloading tx/rx"' target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity #r8152新驱动(可选