From 954faf55158c82ec9624b9a4b00ebcefb49aed0b Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Tue, 24 Oct 2023 11:28:33 +0200 Subject: [PATCH 1/2] Fix OMR-ByPass proto with IPv6 --- omr-bypass/files/etc/init.d/omr-bypass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omr-bypass/files/etc/init.d/omr-bypass b/omr-bypass/files/etc/init.d/omr-bypass index cfb3beb6d0..faceac0deb 100755 --- a/omr-bypass/files/etc/init.d/omr-bypass +++ b/omr-bypass/files/etc/init.d/omr-bypass @@ -501,7 +501,7 @@ _bypass_proto_without_ndpi() { ipset -q flush bypass6_$proto > /dev/null 2>&1 ipset -q --exist restore <<-EOF create bypass_$proto hash:net hashsize 64 - create bypass6_$proto hash:net hashsize 64 + create bypass6_$proto hash:net family inet6 hashsize 64 EOF for ip in $ALLIPS; do valid_ip4=$( valid_subnet4 $ip) From 66478adfacc8fbf1663229aea295b494b9377539 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Wed, 25 Oct 2023 17:03:00 +0200 Subject: [PATCH 2/2] Fix Xray VLESS Reality init --- xray-core/files/etc/init.d/xray | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xray-core/files/etc/init.d/xray b/xray-core/files/etc/init.d/xray index 216ef152f0..d69dcc585d 100755 --- a/xray-core/files/etc/init.d/xray +++ b/xray-core/files/etc/init.d/xray @@ -383,7 +383,7 @@ outbound_section_validate() { 's_vless_reality_port:port' \ 's_vless_reality_user_id:string' \ 's_vless_reality_user_alter_id:and(uinteger, max(65535))' \ - 's_vless_user_security:or("auto", "aes-128-gcm", "chacha20-poly1305", "none")' \ + 's_vless_reality_user_security:or("auto", "aes-128-gcm", "chacha20-poly1305", "none")' \ 's_vless_reality_user_encryption:or("auto", "none")' \ 's_vless_reality_flow:string' \ 's_vless_reality_public_key:string' \