wwqgtxx
ee5d77cfd1
chore: cleanup tls clientFingerprint code
2025-04-29 21:15:48 +08:00
wwqgtxx
aa51b9faba
chore: replace using internal batch package to x/sync/errgroup
...
In the original batch implementation, the Go() method will always start a new goroutine and then wait for the concurrency limit, which is unnecessary for the current code. x/sync/errgroup will block Go() until the concurrency limit is met, which can effectively reduce memory usage.
In addition, the original batch always saves the return value of Go(), but it is not used in the current code, which will also waste a lot of memory space in high concurrency scenarios.
2025-04-28 10:28:45 +08:00
wwqgtxx
d55b047125
chore: ignore interfaces not with FlagUp in local interface finding
Test / test (1.20, macos-13) (push) Waiting to run
Test / test (1.20, macos-latest) (push) Waiting to run
Test / test (1.20, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.20, windows-latest) (push) Waiting to run
Test / test (1.21, macos-13) (push) Waiting to run
Test / test (1.21, macos-latest) (push) Waiting to run
Test / test (1.21, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.21, windows-latest) (push) Waiting to run
Test / test (1.22, macos-13) (push) Waiting to run
Test / test (1.22, macos-latest) (push) Waiting to run
Test / test (1.22, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.22, windows-latest) (push) Waiting to run
Test / test (1.23, macos-13) (push) Waiting to run
Test / test (1.23, macos-latest) (push) Waiting to run
Test / test (1.23, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.23, windows-latest) (push) Waiting to run
Test / test (1.24, macos-13) (push) Waiting to run
Test / test (1.24, macos-latest) (push) Waiting to run
Test / test (1.24, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.24, windows-latest) (push) Waiting to run
Test / test (1.20, ubuntu-latest) (push) Failing after 1s
Test / test (1.21, ubuntu-latest) (push) Failing after 1s
Test / test (1.22, ubuntu-latest) (push) Failing after 1s
Test / test (1.23, ubuntu-latest) (push) Failing after 1s
Test / test (1.24, ubuntu-latest) (push) Failing after 1s
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
2025-04-27 09:40:17 +08:00
wwqgtxx
c2301f66a4
chore: rebuild fingerprint and keypair handle
2025-04-25 10:34:34 +08:00
wwqgtxx
793ce45db0
chore: update quic-go to 0.51.0
Test / test (1.20, macos-13) (push) Waiting to run
Test / test (1.20, macos-latest) (push) Waiting to run
Test / test (1.20, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.20, windows-latest) (push) Waiting to run
Test / test (1.21, macos-13) (push) Waiting to run
Test / test (1.21, macos-latest) (push) Waiting to run
Test / test (1.21, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.21, windows-latest) (push) Waiting to run
Test / test (1.22, macos-13) (push) Waiting to run
Test / test (1.22, macos-latest) (push) Waiting to run
Test / test (1.22, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.22, windows-latest) (push) Waiting to run
Test / test (1.23, macos-13) (push) Waiting to run
Test / test (1.23, macos-latest) (push) Waiting to run
Test / test (1.23, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.23, windows-latest) (push) Waiting to run
Test / test (1.24, macos-13) (push) Waiting to run
Test / test (1.24, macos-latest) (push) Waiting to run
Test / test (1.24, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.24, windows-latest) (push) Waiting to run
Test / test (1.20, ubuntu-latest) (push) Failing after 1s
Test / test (1.21, ubuntu-latest) (push) Failing after 1s
Test / test (1.22, ubuntu-latest) (push) Failing after 1s
Test / test (1.23, ubuntu-latest) (push) Failing after 1s
Test / test (1.24, ubuntu-latest) (push) Failing after 1s
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
2025-04-21 22:58:08 +08:00
wwqgtxx
39d6a0d7ba
chore: update utls to 1.7.0
Test / test (1.20, macos-13) (push) Waiting to run
Test / test (1.20, macos-latest) (push) Waiting to run
Test / test (1.20, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.20, windows-latest) (push) Waiting to run
Test / test (1.21, macos-13) (push) Waiting to run
Test / test (1.21, macos-latest) (push) Waiting to run
Test / test (1.21, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.21, windows-latest) (push) Waiting to run
Test / test (1.22, macos-13) (push) Waiting to run
Test / test (1.22, macos-latest) (push) Waiting to run
Test / test (1.22, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.22, windows-latest) (push) Waiting to run
Test / test (1.23, macos-13) (push) Waiting to run
Test / test (1.23, macos-latest) (push) Waiting to run
Test / test (1.23, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.23, windows-latest) (push) Waiting to run
Test / test (1.24, macos-13) (push) Waiting to run
Test / test (1.24, macos-latest) (push) Waiting to run
Test / test (1.24, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.24, windows-latest) (push) Waiting to run
Test / test (1.20, ubuntu-latest) (push) Failing after 1s
Test / test (1.21, ubuntu-latest) (push) Failing after 1s
Test / test (1.22, ubuntu-latest) (push) Failing after 1s
Test / test (1.23, ubuntu-latest) (push) Failing after 1s
Test / test (1.24, ubuntu-latest) (push) Failing after 1s
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
2025-04-21 12:07:33 +08:00
wwqgtxx
d5243adf89
chore: better global-client-fingerprint handle
Test / test (1.20, ubuntu-latest) (push) Failing after 1s
Test / test (1.21, ubuntu-latest) (push) Failing after 1s
Test / test (1.22, ubuntu-latest) (push) Failing after 1s
Test / test (1.23, ubuntu-latest) (push) Failing after 1s
Test / test (1.24, ubuntu-latest) (push) Failing after 1s
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
Test / test (1.20, macos-13) (push) Has been cancelled
Test / test (1.20, macos-latest) (push) Has been cancelled
Test / test (1.20, ubuntu-24.04-arm) (push) Has been cancelled
Test / test (1.20, windows-latest) (push) Has been cancelled
Test / test (1.21, macos-13) (push) Has been cancelled
Test / test (1.21, macos-latest) (push) Has been cancelled
Test / test (1.21, ubuntu-24.04-arm) (push) Has been cancelled
Test / test (1.21, windows-latest) (push) Has been cancelled
Test / test (1.22, macos-13) (push) Has been cancelled
Test / test (1.22, macos-latest) (push) Has been cancelled
Test / test (1.22, ubuntu-24.04-arm) (push) Has been cancelled
Test / test (1.22, windows-latest) (push) Has been cancelled
Test / test (1.23, macos-13) (push) Has been cancelled
Test / test (1.23, macos-latest) (push) Has been cancelled
Test / test (1.23, ubuntu-24.04-arm) (push) Has been cancelled
Test / test (1.23, windows-latest) (push) Has been cancelled
Test / test (1.24, macos-13) (push) Has been cancelled
Test / test (1.24, macos-latest) (push) Has been cancelled
Test / test (1.24, ubuntu-24.04-arm) (push) Has been cancelled
Test / test (1.24, windows-latest) (push) Has been cancelled
2025-04-19 02:04:09 +08:00
wwqgtxx
619c9dc0c6
chore: apply the default interface/mark of the dialer in the final stage
2025-04-18 20:16:51 +08:00
wwqgtxx
30d90d49f0
chore: update option checks to use IsZeroOptions
2025-04-17 21:06:55 +08:00
wwqgtxx
ba3c44a169
chore: code cleanup
2025-04-16 09:54:02 +08:00
wwqgtxx
7551c8a545
chore: remove unneed code
2025-04-12 23:42:57 +08:00
wwqgtxx
fe01033efe
chore: quic sniffer should use the exact length of crypto stream when assembling
2025-04-12 22:27:07 +08:00
HiMetre
7a260f7bcf
fix: udp dial support ip4p ( #1377 )
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
2025-04-11 09:20:58 +08:00
wwqgtxx
8085c68b6d
chore: decrease direct using *net.TCPConn
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
2025-04-11 00:33:07 +08:00
wwqgtxx
cac2bf72e1
chore: cleanup netip code
2025-04-09 18:02:13 +08:00
wwqgtxx
b2d2890866
chore: cleanup resolveUDPAddr code
2025-04-09 18:02:12 +08:00
wwqgtxx
577f64a601
fix: X25519MLKEM768 does not work properly with reality
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
2025-04-02 14:39:07 +08:00
wwqgtxx
dcef78782b
chore: update utls
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
2025-03-18 10:06:53 +08:00
wwqgtxx
e3d4ec2476
fix: race at interfaceName setting
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
2025-03-17 14:00:51 +08:00
wwqgtxx
68abb1348a
chore: support longest-prefix matches in local interface finding
2025-03-17 11:10:27 +08:00
wwqgtxx
1e22f4daa9
chore: reduce data copying in quic sniffer and better handle data fragmentation and overlap
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
2025-03-14 13:14:42 +08:00
wwqgtxx
a7a796bb30
chore: cleanup quic sniff's code
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
2025-03-13 16:29:07 +08:00
5aaee9
801f3c35ce
feat: support sniff quic fragment data ( #1899 )
2025-03-13 13:19:36 +08:00
wwqgtxx
7ff046a455
chore: modify UDPSniff's function signature to prepare for its ability to handle multiple packets.
2025-03-13 08:52:27 +08:00
wwqgtxx
070eb3142b
chore: speedup system stack in tun
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
2025-03-12 12:27:41 +08:00
wwqgtxx
4bd3ae52bd
chore: dialer will consider the routing of the local interface when auto-detect-interface in tun is enabled
...
for #1881 #1819
2025-03-10 10:45:31 +08:00
ForestL
9bfb10d7ae
chore: extracting compressed files to correct location ( #1823 )
2025-02-05 10:10:58 +08:00
wwqgtxx
0ac6c3b185
feat: inbound support vless
2025-02-04 00:44:18 +08:00
wwqgtxx
9c73b5b750
fix: the trustcerts not add to globalCerts after ca.ResetCertificate ( #1801 )
...
support PEM format for custom-certificates too
2025-01-20 23:01:26 +08:00
tnextday
192d769f75
chore: ensure forced domains are always sniffed ( #1793 )
...
When a domain matches forceDomain:
- SkipList is not checked
- Failed attempts are not cached
- Sniffing is attempted every time
This ensures forced domains are always sniffed regardless of previous failures.
2025-01-16 10:17:32 +08:00
wwqgtxx
c99c71a969
chore: listening tcp together for dns server ( #1792 )
2025-01-16 10:16:37 +08:00
wwqgtxx
72a126e580
feat: support inline proxy provider
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 1s
2024-12-25 10:34:16 +08:00
laburaps
c7fc93df37
fix: the TLS Sniffer fails when the length of the ClientHello packet exceeds the TCP MSS ( #1711 )
...
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 3s
* chore: add uniformly formatted debug info to sniffDomain
* fix: when data is not enough, attempt to peek more data and retry
* chore: reduce debug info of sniffDomain
2024-12-12 19:02:34 +08:00
laburaps
5d9d8f4d3b
fix: check whether the dst port is within the specified range ( #1706 )
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 2s
2024-12-10 16:15:08 +08:00
ForestL
5a24efdabf
fix: DisableKeepAlive default value of android ( #1690 )
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 3s
2024-12-02 22:49:16 +08:00
wwqgtxx
fbead56ec9
feat: add size-limit for provider
...
https://github.com/MetaCubeX/mihomo/issues/1645
2024-11-27 09:28:38 +08:00
Larvan2
792f16265e
fix: find process panic
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 2s
2024-11-08 16:29:32 +08:00
wwqgtxx
215bf0995f
chore: switch syscall.SyscallN back to syscall.Syscall6
...
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 2s
Until the current version, SyscallN always escapes the variadic argument
2024-11-08 09:40:38 +08:00
wwqgtxx
d4478dbfa2
chore: reduce the performance overhead of not enabling LoopBackDetector
2024-11-05 09:29:56 +08:00
wwqgtxx
e6d1c8cedf
chore: update sing-tun to v0.4.0-rc.5
2024-11-05 09:12:20 +08:00
xishang0128
a86c562852
chore: Increase support for other format of ASN
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 59s
2024-11-04 19:31:43 +08:00
xishang0128
95af5f7325
chore: change subscription-userinfo retrieval
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 41s
2024-10-20 06:01:02 +08:00
ForestL
4437c8861c
chore: better getUpdateTime() for iterating all Geofiles ( #1570 )
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 46s
2024-10-11 08:46:31 +08:00
wwqgtxx
08dcef80bf
fix: mistaken using net.Dialer
...
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 14s
https://github.com/MetaCubeX/mihomo/issues/1572
2024-10-09 12:04:56 +08:00
wwqgtxx
8e6eb70e71
chore: temporary update general in ParseRawConfig and rollback before its retur
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 2s
2024-10-06 00:21:00 +08:00
wwqgtxx
9286e21026
chore: rebuild external ui updater
2024-10-05 13:40:00 +08:00
wwqgtxx
c63a851bba
feat: add direct-nameserver and direct-nameserver-follow-policy in dns section
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 2s
2024-10-04 14:20:10 +08:00
wwqgtxx
4a16d22398
chore: no longer used net.DefaultResolver when dns section is disabled, now is equally only "system://"
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 37s
2024-10-02 14:45:06 +08:00
wwqgtxx
acfc9f8baa
chore: reset resolver's connection after default interface changed
2024-09-27 20:36:00 +08:00
wwqgtxx
cd2d1c6bb0
fix: skip-auth-prefixes not apply on listeners when users is unset
2024-09-27 18:10:05 +08:00
wwqgtxx
4fa15c6334
chore: ensures packets can be sent without blocking the tunnel
2024-09-26 11:21:07 +08:00
wwqgtxx
a4e84f0479
chore: better apply tcp keepalive to listeners
2024-09-25 15:10:53 +08:00
wwqgtxx
59a2b24593
chore: save etag in bbolt by msgpack
2024-09-23 19:25:35 +08:00
wwqgtxx
966eeae41b
chore: rewrite bbolt cachefile implements
...
never use returned byte slices outside the transaction, ref:
https://pkg.go.dev/go.etcd.io/bbolt#hdr-Caveats
2024-09-23 09:35:48 +08:00
wwqgtxx
ddfa9e8671
feat: add etag-support to let user can disable this feature manually
2024-09-22 14:41:45 +08:00
wwqgtxx
b7cb6774bf
chore: support ETag for update geo
2024-09-22 13:57:57 +08:00
wwqgtxx
5d242510c8
chore: support ETag for providers
2024-09-22 11:42:29 +08:00
wwqgtxx
223eae0e06
chore: force refresh provider in background
2024-09-22 00:24:49 +08:00
wwqgtxx
7dafe7889e
chore: disallow space at begin or end in DomainTrie
2024-09-21 21:03:59 +08:00
wwqgtxx
0a2f606e1b
chore: cleanup the patch code
2024-09-11 16:10:49 +08:00
wwqgtxx
7c8f451892
chore: cleanup geo internal code
2024-09-09 16:08:48 +08:00
wwqgtxx
ef244b896a
chore: update geo in a batch
2024-09-09 10:07:50 +08:00
wwqgtxx
dc29514fb6
chore: typo
2024-09-09 10:07:50 +08:00
wwqgtxx
8940bdd56f
chore: better pool_test
2024-09-09 10:07:50 +08:00
Larvan2
56fe7d5304
chore: clean up update_ui code
2024-09-02 11:17:35 +08:00
wwqgtxx
f6164ac195
feat: add fake-ip-filter-mode in dns
...
https://github.com/MetaCubeX/mihomo/issues/1479
2024-08-31 09:59:48 +08:00
wwqgtxx
4fecf68b8b
chore: add sourceGeoIP and sourceIPASN to metadata
2024-08-28 12:25:45 +08:00
wwqgtxx
8483178524
feat: sniff add skip-src-address and skip-dst-address
2024-08-27 20:33:43 +08:00
wwqgtxx
3e2c9ce821
chore: cleanup patch code
2024-08-27 11:04:42 +08:00
wwqgtxx
41efc5e5ab
chore: update dependencies
2024-08-22 09:24:27 +08:00
wwqgtxx
c4660e1aad
chore: reopen tfo support on windows for golang1.23
...
maybe broken again when golang1.24 release
2024-08-21 10:57:44 +08:00
Larvan2
0793998de8
chore: drop support of eBPF
2024-08-16 14:15:36 +08:00
wwqgtxx
4fedfc47b0
chore: update geo unneeded reload whole config
2024-08-16 09:19:18 +08:00
wwqgtxx
4c10d42fbf
fix: normal rule not working in fake-ip-filter
2024-08-15 07:42:59 +08:00
wwqgtxx
7fd0467aef
feat: sniffer's force-domain and skip-domain support rule-set: and geosite:
2024-08-14 23:29:53 +08:00
wwqgtxx
696b75ee37
feat: fake-ip-filter support rule-set: and geosite:
2024-08-14 20:45:36 +08:00
wwqgtxx
f20f371a61
chore: better keepalive handle
2024-08-14 13:01:06 +08:00
Larvan2
50d0cd363c
chore: auto download external UI when 'external-ui' is set and not empty
2024-08-13 14:19:34 +08:00
wwqgtxx
5bf22422d9
fix: wireguard not working in CMFA
2024-08-13 13:36:25 +08:00
wwqgtxx
951cae2156
chore: corrected the incoming parameters of PowerUnregisterSuspendResumeNotification
2024-08-08 13:27:06 +08:00
wwqgtxx
c830b8aaf7
feat: support convert mrs format back to text format
2024-07-28 11:00:27 +08:00
wwqgtxx
4f8a5a5f54
feat: add mrs format ipcidr ruleset
2024-07-27 10:36:11 +08:00
wwqgtxx
303f6e4567
feat: add mrs format domain ruleset
2024-07-26 22:30:42 +08:00
wwqgtxx
d6a1af23a7
feat: local file type provider will auto update after modify
2024-07-24 14:37:10 +08:00
wwqgtxx
313493cc94
chore: add fswatch
2024-07-24 14:37:10 +08:00
wwqgtxx
4eb13a73bf
fix: wrong usage of RLock
2024-07-22 09:57:57 +08:00
ruokeqx
28794c62c4
chore: reduce func findProcessName mem allocs and copy ( #1393 )
2024-07-19 22:24:27 +08:00
xishang0128
9f4cd646c2
fix: dhcp:// with special notation cannot be parsed
2024-06-23 15:33:38 +08:00
wwqgtxx
1457f83530
fix: dns server using direct outbound lookback resolve problem
2024-06-18 13:15:20 +08:00
wwqgtxx
09be5cbc99
feat: tun support auto-redirect, route-address-set and route-exclude-address-set
2024-06-17 22:04:51 +08:00
xishang0128
7b3c9e94e6
chore: Better package name handling on Android
2024-06-02 02:36:15 +08:00
wwqgtxx
39eda257a7
chore: replace zhangyunhao116/fastrand to our metacubex/randv2
2024-05-31 13:07:48 +08:00
wwqgtxx
d3fea909e9
chore: remove tfo windows support
...
Golang officially decided not to open `internal/poll.execIO` to third-party libraries after 1.23 was released, so we can only choose to remove tfo support on the Windows platform.
2024-05-30 10:39:17 +08:00
xishang0128
c504985b99
chore: Adjust sniff logs
2024-05-19 19:35:12 +08:00
Larvan2
4243a74284
chore: auto update geo
2024-05-19 18:51:06 +08:00
Larvan2
c3ee921d30
chore: apply config when geo update
2024-05-19 15:46:23 +08:00
wwqgtxx
df69a31e62
chore: stop using go:linkname for crypto/tls.aesgcmPreferred and update utls to 1.6.6
2024-05-19 11:32:22 +08:00
wwqgtxx
30a913aad6
chore: stop using go:linkname for net.lookupStaticHost
2024-05-18 20:45:15 +08:00
Larvan2
5c3a9b1dfc
fix: geo auto update #1261
2024-05-17 11:51:32 +08:00
wwqgtxx
87877d1b80
fix: don't ignore http.NewRequest's error
2024-05-15 13:53:18 +08:00