mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-08-30 13:58:49 +08:00
Compare commits
109 Commits
1c597d1f5f
...
ccceb8b30a
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ccceb8b30a | ||
![]() |
778f9ef81f | ||
![]() |
0c5947e1e3 | ||
![]() |
e268f53c87 | ||
![]() |
8505fc8352 | ||
![]() |
8c4298fd90 | ||
![]() |
e3f6d827bd | ||
![]() |
3f78bf5b93 | ||
![]() |
91f4ab15e9 | ||
![]() |
663da9d605 | ||
![]() |
0c53d6fe4c | ||
![]() |
63760e7f53 | ||
![]() |
d7936ad3a0 | ||
![]() |
e2e36e0d9e | ||
![]() |
47b77b2cc0 | ||
![]() |
8982765024 | ||
![]() |
93dbcbdb47 | ||
![]() |
46a45af787 | ||
![]() |
d3f7f2aaef | ||
![]() |
e617f7ac2d | ||
![]() |
213ad2f3c1 | ||
![]() |
83ca997dd3 | ||
![]() |
bf2963da47 | ||
![]() |
d0108ef0d7 | ||
![]() |
6c559b5df1 | ||
![]() |
4c2eaf624c | ||
![]() |
819c2b46c4 | ||
![]() |
5b34431612 | ||
![]() |
d0e5d145f2 | ||
![]() |
7a219c4613 | ||
![]() |
1a4827a292 | ||
![]() |
4f665ca82e | ||
![]() |
37297190da | ||
![]() |
105101fa0b | ||
![]() |
58c2f6f2cb | ||
![]() |
5cf1b601b4 | ||
![]() |
cd46c5323a | ||
![]() |
6c128dc213 | ||
![]() |
c0e374451d | ||
![]() |
2f1a618390 | ||
![]() |
b0206c1337 | ||
![]() |
07b955c305 | ||
![]() |
442f96e509 | ||
![]() |
2ae7c0964c | ||
![]() |
2afe76b3fd | ||
![]() |
6017820c82 | ||
![]() |
d2b136ed98 | ||
![]() |
11c23a30a4 | ||
![]() |
d1a405cea0 | ||
![]() |
194c890f7a | ||
![]() |
c2518597d5 | ||
![]() |
41e2cb5be4 | ||
![]() |
41699a35f1 | ||
![]() |
9802c6a930 | ||
![]() |
2450dec60e | ||
![]() |
5d7c093158 | ||
![]() |
6de9da225a | ||
![]() |
4f9b09e82a | ||
![]() |
bf556b1209 | ||
![]() |
34cd7f9634 | ||
![]() |
a6686075b1 | ||
![]() |
0d6ae99f33 | ||
![]() |
dac7028377 | ||
![]() |
09e8f7a4ef | ||
![]() |
4ee3b46e52 | ||
![]() |
69f86934fc | ||
![]() |
c64fb04fc9 | ||
![]() |
689f3b6b10 | ||
![]() |
83aecd3605 | ||
![]() |
6d2d9a58c6 | ||
![]() |
78488015c2 | ||
![]() |
ea3e5bf5e2 | ||
![]() |
16da80db87 | ||
![]() |
76e16f8a05 | ||
![]() |
da25171807 | ||
![]() |
afe870e530 | ||
![]() |
434b81ecf0 | ||
![]() |
f204231a76 | ||
![]() |
b032700526 | ||
![]() |
9514219058 | ||
![]() |
2610949d7d | ||
![]() |
241f5ec390 | ||
![]() |
a277fa1020 | ||
![]() |
67ab67975f | ||
![]() |
3665723c66 | ||
![]() |
5253490bde | ||
![]() |
46d40e6370 | ||
![]() |
1b544afc62 | ||
![]() |
9d5bc110ac | ||
![]() |
71927fc02b | ||
![]() |
02885d2c0a | ||
![]() |
3fb5d84542 | ||
![]() |
bf36e62560 | ||
![]() |
ffd8ce99f0 | ||
![]() |
2a5bba8695 | ||
![]() |
e76d0d5a9b | ||
![]() |
0d287ae15e | ||
![]() |
a5332b48c3 | ||
![]() |
43ca1756dc | ||
![]() |
8a0e272e7f | ||
![]() |
61ec6bb81c | ||
![]() |
93a3f1e12f | ||
![]() |
125cad85c8 | ||
![]() |
26af3ecfa1 | ||
![]() |
4682149516 | ||
![]() |
b465281ed9 | ||
![]() |
6094118a7a | ||
![]() |
692d863422 | ||
![]() |
2d1b824b62 |
@ -37,7 +37,15 @@ func ToOptions(reader io.Reader, logger logger.Logger) ([]option.HeadlessRule, e
|
||||
parseLine:
|
||||
for scanner.Scan() {
|
||||
ruleLine := scanner.Text()
|
||||
if ruleLine == "" || strings.HasPrefix(ruleLine, "!") || strings.HasPrefix(ruleLine, "#") {
|
||||
if ruleLine == "" {
|
||||
continue
|
||||
}
|
||||
if strings.Contains(ruleLine, "!") {
|
||||
continue
|
||||
}
|
||||
if strings.Contains(ruleLine, "#") {
|
||||
ignoredLines++
|
||||
logger.Debug("ignored unsupported cosmetic filter: ", ruleLine)
|
||||
continue
|
||||
}
|
||||
originRuleLine := ruleLine
|
||||
|
@ -2,7 +2,7 @@
|
||||
icon: material/alert-decagram
|
||||
---
|
||||
|
||||
#### 1.12.0-beta.25
|
||||
#### 1.12.0-beta.26
|
||||
|
||||
* Fixes and improvements
|
||||
|
||||
|
2
go.mod
2
go.mod
@ -34,7 +34,7 @@ require (
|
||||
github.com/sagernet/sing-shadowsocks v0.2.8
|
||||
github.com/sagernet/sing-shadowsocks2 v0.2.1
|
||||
github.com/sagernet/sing-shadowtls v0.2.1-0.20250503051639-fcd445d33c11
|
||||
github.com/sagernet/sing-tun v0.6.8-0.20250615093440-d1f6001b58c2
|
||||
github.com/sagernet/sing-tun v0.6.9-0.20250617062442-df4458520f26
|
||||
github.com/sagernet/sing-vmess v0.2.4-0.20250605032146-38cc72672c88
|
||||
github.com/sagernet/smux v1.5.34-mod.2
|
||||
github.com/sagernet/tailscale v1.80.3-mod.5
|
||||
|
4
go.sum
4
go.sum
@ -180,8 +180,8 @@ github.com/sagernet/sing-shadowsocks2 v0.2.1 h1:dWV9OXCeFPuYGHb6IRqlSptVnSzOelnq
|
||||
github.com/sagernet/sing-shadowsocks2 v0.2.1/go.mod h1:RnXS0lExcDAovvDeniJ4IKa2IuChrdipolPYWBv9hWQ=
|
||||
github.com/sagernet/sing-shadowtls v0.2.1-0.20250503051639-fcd445d33c11 h1:tK+75l64tm9WvEFrYRE1t0YxoFdWQqw/h7Uhzj0vJ+w=
|
||||
github.com/sagernet/sing-shadowtls v0.2.1-0.20250503051639-fcd445d33c11/go.mod h1:sWqKnGlMipCHaGsw1sTTlimyUpgzP4WP3pjhCsYt9oA=
|
||||
github.com/sagernet/sing-tun v0.6.8-0.20250615093440-d1f6001b58c2 h1:leio5dGtYCKHQam+SyLszq4bbXGaxF4ElK5Aif/lUb8=
|
||||
github.com/sagernet/sing-tun v0.6.8-0.20250615093440-d1f6001b58c2/go.mod h1:fisFCbC4Vfb6HqQNcwPJi2CDK2bf0Xapyz3j3t4cnHE=
|
||||
github.com/sagernet/sing-tun v0.6.9-0.20250617062442-df4458520f26 h1:N9yAoqtQlawlJzLONjdQvIO3GJLEg9tZBfyKToSi0cM=
|
||||
github.com/sagernet/sing-tun v0.6.9-0.20250617062442-df4458520f26/go.mod h1:fisFCbC4Vfb6HqQNcwPJi2CDK2bf0Xapyz3j3t4cnHE=
|
||||
github.com/sagernet/sing-vmess v0.2.4-0.20250605032146-38cc72672c88 h1:0pVm8sPOel+BoiCddW3pV3cKDKEaSioVTYDdTSKjyFI=
|
||||
github.com/sagernet/sing-vmess v0.2.4-0.20250605032146-38cc72672c88/go.mod h1:IL8Rr+EGwuqijszZkNrEFTQDKhilEpkqFqOlvdpS6/w=
|
||||
github.com/sagernet/smux v1.5.34-mod.2 h1:gkmBjIjlJ2zQKpLigOkFur5kBKdV6bNRoFu2WkltRQ4=
|
||||
|
Loading…
x
Reference in New Issue
Block a user