Clean up and make a reference

Clean the sing-* based Shadowsocks 2022 with related remnants, making a "clean" state reference
This commit is contained in:
𐲓𐳛π³ͺ𐳂𐳐 𐲀𐳒𐳦𐳫𐳒 π²₯𐳔𐳛π³ͺπ³Œπ³‘π³–π³‡
2026-09-12 16:42:00 +08:00
parent 52a412d9e2
commit 1165fe8fcf
23 changed files with 11 additions and 2298 deletions
+1 -5
View File
@@ -4,7 +4,6 @@ import (
"context"
"crypto/rand"
"io"
"strings"
"sync/atomic"
"time"
@@ -164,12 +163,9 @@ func getDefaultFinalRule(inbound *session.Inbound) *FinalRule {
switch inbound.Name {
case "vless-reverse":
return defaultBlockAllRule
case "vless", "vmess", "trojan", "hysteria", "wireguard":
case "vless", "vmess", "trojan", "hysteria", "wireguard", "shadowsocks":
return defaultBlockPrivateRule
default:
if strings.HasPrefix(inbound.Name, "shadowsocks") {
return defaultBlockPrivateRule
}
}
return nil
}