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
2025-04-27 09:40:17 +08:00
xishang0128
efc7abc6e0
actions: fix pacman build
2025-04-25 12:36:28 +08:00
wwqgtxx
c2301f66a4
chore: rebuild fingerprint and keypair handle
2025-04-25 10:34:34 +08:00
WeidiDeng
468cfc3cc4
fix: set sni to servername if not specified for trojan outbound ( #1991 )
2025-04-24 19:50:16 +08:00
xishang0128
5dce957755
actions: improve build process
2025-04-24 19:17:32 +08:00
wwqgtxx
4ecb49b3b9
chore: dynamic fetch remoteAddr in hysteria2 service
2025-04-23 12:25:42 +08:00
wwqgtxx
7de4af28d2
fix: shadowtls test
2025-04-23 12:10:37 +08:00
wwqgtxx
48d8efb3e9
fix: do NOT reset the quic-go internal state when only port is different
2025-04-23 12:00:10 +08:00
wwqgtxx
e6e7aa5ae2
fix: alpn apply on shadowtls
2025-04-22 23:44:55 +08:00
wwqgtxx
99aa1b0de1
feat: inbound support shadow-tls
2025-04-22 21:16:56 +08:00
wwqgtxx
52ad793d11
fix: shadowtls v1 not work
2025-04-22 20:52:34 +08:00
wwqgtxx
2fb9331211
fix: some resources are not released in listener
2025-04-22 20:52:33 +08:00
wwqgtxx
793ce45db0
chore: update quic-go to 0.51.0
2025-04-21 22:58:08 +08:00
wwqgtxx
39d6a0d7ba
chore: update utls to 1.7.0
2025-04-21 12:07:33 +08:00
wwqgtxx
d5243adf89
chore: better global-client-fingerprint handle
2025-04-19 02:04:09 +08:00
wwqgtxx
6236cb1cf0
chore: cleanup trojan code
2025-04-19 01:32:55 +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
9c5067e519
action: disable MinGW's path conversion in test
2025-04-18 19:48:22 +08:00
wwqgtxx
feee9b320c
chore: remove unneeded tls timeout in anytls
2025-04-18 16:59:53 +08:00
wwqgtxx
63e66f49ca
chore: cleanup trojan code
2025-04-18 16:59:28 +08:00
wwqgtxx
bad61f918f
fix: avoid panic in inbound test
2025-04-18 11:40:37 +08:00
wwqgtxx
69ce4d0f8c
chore: speed up inbound test
2025-04-17 23:40:46 +08:00
wwqgtxx
b59f11f7ac
chore: add singMux inbound test for shadowsocks/trojan/vless/vmess
2025-04-17 21:07:35 +08:00
wwqgtxx
30d90d49f0
chore: update option checks to use IsZeroOptions
2025-04-17 21:06:55 +08:00
wwqgtxx
76052b5b26
fix: grpc in trojan not apply client-fingerprint
2025-04-17 12:54:36 +08:00
wwqgtxx
7d7f5c8980
chore: add inbound test for tuic
2025-04-17 10:02:48 +08:00
wwqgtxx
e79465d306
chore: add inbound test for hysteria2
2025-04-17 09:26:12 +08:00
wwqgtxx
345d3d7052
chore: add inbound test for anytls
2025-04-17 09:01:26 +08:00
wwqgtxx
3d806b5e4c
chore: add inbound test for shadowsocks/trojan
2025-04-17 01:36:14 +08:00
wwqgtxx
b5fcd1d1d1
fix: chacha8-ietf-poly1305 not work
2025-04-17 00:11:24 +08:00
wwqgtxx
b21b8ee046
fix: panic in ssr packet
2025-04-16 22:22:56 +08:00
wwqgtxx
d0d0c392d7
chore: add inbound test for vmess/vless
2025-04-16 20:44:48 +08:00
wwqgtxx
a75e570cca
fix: vision conn read short buffer error
2025-04-16 20:38:10 +08:00
wwqgtxx
9e0889c02c
fix: observable test
2025-04-16 13:16:11 +08:00
wwqgtxx
55cbbf7f41
fix: singledo test
2025-04-16 13:13:01 +08:00
wwqgtxx
664b134015
fix: websocket data losing
2025-04-16 13:02:50 +08:00
wwqgtxx
ba3c44a169
chore: code cleanup
2025-04-16 09:54:02 +08:00
wwqgtxx
dcb20e2824
fix: websocket server upgrade in golang1.20
2025-04-16 08:47:44 +08:00
wwqgtxx
3d2cb992fa
fix: grpc outbound not apply ca fingerprint
2025-04-16 01:00:06 +08:00
wwqgtxx
984535f006
action: run tests on more platforms
2025-04-15 22:02:40 +08:00
wwqgtxx
8fa4e8122c
chore: remove internal crypto/tls fork in reality server
2025-04-13 03:03:28 +08:00
wwqgtxx
7551c8a545
chore: remove unneed code
2025-04-12 23:42:57 +08:00
wwqgtxx
237e2edea4
chore: tun will add firewall rule for Profile ALL on windows system stack
2025-04-12 22:46:26 +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
wwqgtxx
84cd0ef688
chore: remove internal crypto/tls fork in shadowtls
2025-04-12 20:28:26 +08:00
wwqgtxx
cedb36df5f
chore: using SetupContextForConn to reduce the DialContext cannot be cancelled
2025-04-12 11:19:03 +08:00
HiMetre
7a260f7bcf
fix: udp dial support ip4p ( #1377 )
2025-04-11 09:20:58 +08:00
wwqgtxx
8085c68b6d
chore: decrease direct using *net.TCPConn
2025-04-11 00:33:07 +08:00
wwqgtxx
dbb5b7db1c
fix: SetupContextForConn should return context error to user
2025-04-11 00:03:46 +08:00