Hellojack
a82745f544
chore: Remove legacy XTLS support ( #645 )
...
* chore: Remove legacy XTLS support
* chore: Rename function
2023-07-16 23:26:07 +08:00
wwqgtxx
9cbca162a0
feat: tuic outbound allow set an empty ALPN
array
2023-07-16 10:29:43 +08:00
wwqgtxx
8f1475d5d0
chore: update to go1.21rc2, drop support for go1.19
2023-07-02 09:59:18 +08:00
タイムライン
57db8dfe23
Chore: Something update from clash ( #639 )
...
Chore: add alive for proxy api
Improve: alloc using make if alloc size > 65536
2023-06-30 17:36:43 +08:00
wwqgtxx
614cc93cac
chore: better close single connection in restful api
2023-06-26 18:25:36 +08:00
wwqgtxx
42ef4fedfa
chore: avoid unneeded map copy when close connection in restful api
2023-06-26 17:46:14 +08:00
wwqgtxx
d391fda051
chore: function rename
2023-06-19 08:32:11 +08:00
wwqgtxx
fe0f2d9ef9
chore: Update dependencies
2023-06-19 08:23:48 +08:00
Larvan2
6c8631d5cc
chore: adjustable cwnd for cc in quic
2023-06-18 00:47:26 +08:00
汐殇
77fb9a9c01
feat: optional provider path ( #624 )
2023-06-15 22:45:02 +08:00
wwqgtxx
4f79bb7931
fix: singmux return wrong supportUDP value
2023-06-14 15:51:13 +08:00
wwqgtxx
644abcf071
fix: tuicV5's heartbeat should be a datagram packet
2023-06-13 17:50:10 +08:00
wwqgtxx
e914317bef
feat: support tuicV5
2023-06-12 18:42:46 +08:00
Skyxim
b72219c06a
chore: allow unsafe path for provider by environment variable
2023-06-11 01:55:49 +00:00
H1JK
64b23257db
chore: Replace murmur3 with maphash
2023-06-10 17:35:19 +08:00
H1JK
cd44901e90
fix: Disable XUDP global ID if source address invalid
2023-06-08 15:57:51 +08:00
H1JK
c3ef05b257
feat: Add XUDP migration support
2023-06-07 23:03:36 +08:00
wzdnzd
767aa182b9
When testing the delay through REST API, determine whether to store the delay data based on certain conditions instead of discarding it directly ( #609 )
2023-06-07 11:04:03 +08:00
タイムライン
dafecebdc0
chore: Something update from clash :) ( #606 )
2023-06-06 09:45:05 +08:00
wzdnzd
e7174866e5
fix: nil pointer in urltest ( #603 )
2023-06-05 12:40:46 +08:00
wzdnzd
3c1f9a9953
ProxyProvider health check also supports specifying expected status ( #600 )
...
Co-authored-by: wwqgtxx <wwqgtxx@gmail.com>
2023-06-04 14:00:24 +08:00
wzdnzd
3ef81afc76
[Feature] Proxy stores delay data of different URLs. And supports specifying different test URLs and expected statue by group ( #588 )
...
Co-authored-by: Larvan2 <78135608+Larvan2@users.noreply.github.com>
Co-authored-by: wwqgtxx <wwqgtxx@gmail.com>
2023-06-04 11:51:30 +08:00
wwqgtxx
2c44b4e170
chore: update quic-go to 0.35.1
2023-06-03 16:45:35 +08:00
H1JK
17565ec93b
chore: Reject packet conn implement wait read
2023-06-02 22:58:33 +08:00
Larvan2
26acaee424
fix: handle manually select in url-test
2023-06-02 18:26:51 +08:00
Larvan2
1120c8185d
chore: Use API to create windows firewall rule
2023-05-31 15:54:36 +08:00
wwqgtxx
8e88e0b9f5
chore: add WaitReadFrom support in ssr
2023-05-28 22:51:44 +08:00
wwqgtxx
9c2972afb0
chore: add IN-USER
and IN-NAME
rules
2023-05-28 17:19:57 +08:00
wwqgtxx
7aae781569
chore: add WaitReadFrom support in quicStreamPacketConn
2023-05-28 15:22:08 +08:00
wwqgtxx
92f71fd25f
chore: add WaitReadFrom support in hyPacketConn
2023-05-28 09:33:42 +08:00
wwqgtxx
f44ba26f0c
chore: switch ss uot default back to version 1
2023-05-28 08:50:02 +08:00
wwqgtxx
89ae640487
fix: ensure group not empty
2023-05-19 19:57:55 +08:00
wwqgtxx
033f902ace
chore: more context passing in outbounds
2023-05-18 13:15:08 +08:00
H1JK
ed17478961
feat: Support insecure gRPC
2023-05-13 09:38:14 +08:00
wwqgtxx
a22b1cd69e
fix: sing-based listener panic
2023-05-12 09:14:27 +08:00
wwqgtxx
76caab19bf
fix: Deadline not apply on EnhancePacketConn
2023-05-11 19:58:50 +08:00
wwqgtxx
234f7dbd3b
chore: decrease shadowsocks udp read memory used for no-windows platform
2023-05-11 19:01:41 +08:00
wwqgtxx
e404695a0d
fix: mux's udp should add write lock
2023-05-11 15:34:28 +08:00
wwqgtxx
75cd72385a
chore: decrease direct udp read memory used for no-windows platform
2023-05-11 13:47:51 +08:00
wwqgtxx
0cb594dd5d
chore: upgrade dependencies
2023-05-10 07:23:49 +08:00
PuerNya
7ae3e78b15
Feat: rewrite http outbound
2023-05-03 22:00:06 +08:00
sleshep
463da578dd
fixes #512 : geo download failed when startup ( #538 )
...
* fixes #512 : geo download failed when startup
- 启动阶段,executor还未初始化tunnel,tcpIn==nil导致geo下载失败,阻塞在
tcpIn <- context
* chore: handled by the upper layer
* chore: remove useless parameters
---------
Co-authored-by: Skyxim <noreply@skyxim.dev>
2023-05-01 21:27:55 +08:00
H1JK
19b403da86
refactor: Switch to sing-shadowsocks2 client
2023-04-30 18:57:16 +08:00
wwqgtxx
eceea72a56
fix: tunnel udp panic
2023-04-26 15:57:25 +08:00
wwqgtxx
e1af1abcc2
fix: wireguard auto close not working
2023-04-26 09:34:36 +08:00
wwqgtxx
7bb5da3005
chore: support splice for direct outbound
2023-04-25 23:01:05 +08:00
wwqgtxx
efcb278f61
chore: safe sing-mux close
2023-04-24 10:30:12 +08:00
wwqgtxx
72a67ac534
chore: force set SelectAble when start load cache
2023-04-24 08:07:17 +08:00
wwqgtxx
7f1b7e7521
fix: smux should show its support udp and uot
2023-04-23 21:50:42 +08:00
wwqgtxx
0c61057551
feat: add statistic
and only-tcp
options for smux
2023-04-23 20:55:42 +08:00
wwqgtxx
7ca4b64a2b
feat: add proxy and sing-based listener support sing-mux
2023-04-23 19:57:54 +08:00
wwqgtxx
40da1911d9
chore: using sync/atomic replace uber/atomic
2023-04-22 15:37:57 +08:00
wwqgtxx
31095e4a8c
fix: vless udp not working
2023-04-20 09:38:08 +08:00
wwqgtxx
495033270c
chore: using new chan based deadline reader
2023-04-17 19:29:07 +08:00
wwqgtxx
394889258c
fix: wireguard reconnect failed
2023-04-13 17:01:01 +08:00
wwqgtxx
38a85272c2
fix: vless tcp not working
2023-04-13 11:10:35 +08:00
wwqgtxx
cb0c9e5caf
chore: udp always direct pass ip to remote without domain
2023-04-12 21:49:22 +08:00
wwqgtxx
aaf534427e
chore: close all connections after proxySet initial
2023-04-12 18:50:51 +08:00
wwqgtxx
e745755a46
fix: direct outbound not ensure ip was resolved
2023-04-12 12:57:59 +08:00
wwqgtxx
20eb168315
fix: proxyDialer panic when domain name was not resolved
2023-04-12 12:49:53 +08:00
wwqgtxx
fda8857ec8
feat: proxy-provider can set dialer-proxy
too
...
it will apply `dialer-proxy` to all proxy in this provider
2023-04-12 10:39:24 +08:00
wwqgtxx
7beb09153e
chore: proxyDialer can add inner conn to statistic
2023-04-11 21:42:16 +08:00
wwqgtxx
90f95d7c78
chore: wireguard dns can work with domain-based server
2023-04-11 14:10:57 +08:00
wwqgtxx
92cc268209
chore: proxyDialer can limited support old dial function
2023-04-11 12:51:24 +08:00
wwqgtxx
ab3fce29ab
feat: wireguard add remote-dns-resolve
and dns
settings
2023-04-11 10:29:55 +08:00
wwqgtxx
9afcb7071f
feat: support dialer-proxy
config for all outbound
2023-04-10 11:20:28 +08:00
wwqgtxx
2c48d2da3f
chore: clarify the wireguard logging
2023-04-10 10:13:36 +08:00
wwqgtxx
87b9e3d977
feat: wireguard add dialer-proxy
config to support chain forwarding
2023-04-10 08:54:10 +08:00
wwqgtxx
6c76312e5c
chore: Add read deadline implementation
2023-04-09 22:58:05 +08:00
Larvan2
20b0af9a03
chore: fix build
2023-04-09 19:17:44 +08:00
metacubex
2c09ce44f6
feat: urltest can be select by user
2023-04-08 02:04:16 +08:00
wwqgtxx
7308c6c2a9
feat: Add multi-peer support for wireguard outbound
2023-04-03 16:14:07 +08:00
wwqgtxx
99f84b8a66
chore: make all net.Conn wrapper can pass through N.ExtendedConn
2023-04-02 22:24:46 +08:00
wwqgtxx
2ff0f94262
chore: sync sing-wireguard's update
2023-04-02 17:29:30 +08:00
wwqgtxx
cd95cf4849
fix: firstWriteCallBackConn can pass N.ExtendedConn too
2023-04-01 20:56:49 +08:00
Skyxim
db7623968d
fix: inner http use host of address
2023-03-29 20:50:46 +08:00
世界
8cb67b6480
Update UoT protocol
2023-03-17 13:23:45 +08:00
wwqgtxx
3ae4285702
fix: tuic udp native mode can't relay packetSize>1200
2023-03-16 21:09:44 +08:00
世界
e8d4f8ae7b
Update UoT protocol
2023-03-15 14:46:35 +08:00
wwqgtxx
f7610ce2ad
chore: better uuid using
2023-03-15 10:10:03 +08:00
wwqgtxx
516c219580
fix: let quic-go works on outbound's packetConn
2023-03-15 09:56:00 +08:00
Skyxim
9d9bd245f3
fix: Adjust the timing of subscription information acquisition
2023-03-15 09:05:16 +08:00
Skyxim
88116d9032
fix: optimize health check
2023-03-14 20:10:52 +08:00
wwqgtxx
6ba82c6d85
chore: cleanup code
2023-03-14 17:45:37 +08:00
wwqgtxx
5816dc2955
chore: better restls
2023-03-14 16:50:27 +08:00
3andne
2fef00d2a8
Support Restls-V1 in Clash.Meta ( #441 )
...
* feat: impl restls
* fix: don't break shadowtls' working
* chores: correct restls-client-go version
* feat: bump restls-client-go version
* fix: consistent naming `client-fingerprint`
* docs: update example config
* chore: adjust client-fingerprint's snippet
---------
Co-authored-by: wwqgtxx <wwqgtxx@gmail.com>
Co-authored-by: Larvan2 <78135608+Larvan2@users.noreply.github.com>
2023-03-14 13:33:24 +08:00
H1JK
ae4d114802
chore: Cleanup REALITY code
2023-03-11 12:23:27 +08:00
wwqgtxx
2ccef31f75
fix: ensure wireguard inner use dialer with DefaultResolver
2023-03-10 17:00:39 +08:00
wwqgtxx
e7f9072911
fix: add xtls-rprx-vision server version warning to user
2023-03-10 12:54:43 +08:00
wwqgtxx
fe298bd53f
fix: strategyRoundRobin not begin with zero
2023-03-10 12:47:01 +08:00
H1JK
dca98b7aa1
fix: REALITY with gRPC transport
2023-03-10 10:01:05 +08:00
wwqgtxx
c0fc5d142f
fix: unmap 4in6 address in dialer and wireguard
2023-03-10 00:25:22 +08:00
wwqgtxx
a454a7f736
fix: load-balance's touch not effected
2023-03-09 11:09:36 +08:00
H1JK
921b2c3aa4
feat: REALITY use proxy servername
2023-03-08 20:28:12 +08:00
H1JK
76a8fe3839
feat: Support REALITY protocol
2023-03-08 17:18:46 +08:00
wwqgtxx
9cc7fdaca9
chore: wireguard using internal dialer
2023-03-07 09:30:51 +08:00
H1JK
ae966833a4
chore: Generate UUID from fastrand
2023-03-05 11:00:14 +08:00
H1JK
bccc6aa8d1
chore: Better REJECT conn
2023-03-04 18:33:05 +08:00
wwqgtxx
e7613e4f8b
fix: loadbalance panic
2023-03-01 14:04:42 +08:00
wwqgtxx
c1199f1a8a
chore: add early conn interface to decrease unneeded write
2023-02-27 00:26:49 +08:00
wwqgtxx
efbde4a179
fix: reject's dial warning
2023-02-26 11:11:54 +08:00
Hellojack
81722610d5
feat: Support VLESS XTLS Vision ( #406 )
2023-02-25 14:01:59 +08:00
wwqgtxx
8f0c61ed14
fix: tuic missing routing mark
2023-02-24 14:02:20 +08:00
wwqgtxx
7d524668e0
chore: support TFO for outbounds
2023-02-24 13:53:44 +08:00
wwqgtxx
75680c5866
chore: use early conn to support real ws 0-rtt
2023-02-24 09:54:54 +08:00
Skyxim
d5d62a4ffd
chore: change internal tcp traffic type
2023-02-23 20:26:25 +08:00
wwqgtxx
21848d6bf1
chore: code cleanup
2023-02-22 19:43:32 +08:00
wwqgtxx
baaf509637
chore: using sing-shadowtls to support shadowtls v1/2/3
2023-02-21 21:58:37 +08:00
Skyxim
db3e1b9ed5
feat: add sni field for tuic
2023-02-19 16:20:30 +08:00
Ovear
b2d1cea759
fix: RoundRobin strategy of load balance when called multiple times ( #390 )
2023-02-17 16:31:00 +08:00
wwqgtxx
24419551a9
chore: update tfo-go for golang1.20
2023-02-08 13:10:44 +08:00
Larvan2
967254d9ca
chore: move global-utls-client snippets to components\tls
2023-02-07 17:24:14 +08:00
Larvan2
05ca819823
feat: add global-client-fingerprint.
...
* Available: "chrome","firefox","safari","ios","random","none".
* global-client-fingerprint will NOT overwrite the proxy's client-fingerprint setting when "client-fingerprint: none".
2023-02-07 01:26:56 +08:00
Larvan2
2ee0f634e6
feat: Add utls for modifying client's fingerprint.
...
Currently only support TLS transport in TCP/GRPC/WS/HTTP for VLESS/Vmess and trojan-grpc.
2023-02-01 22:36:05 +08:00
Larvan2
61b3b4f775
fix: Handle error earlier in DialContextWithDialer.
...
chore: Fix typo.
2023-01-31 18:05:46 +08:00
qiaoweijie
f1ef6c2096
fix: get tlsconfig err not handle, return nil pointer
2023-01-31 15:26:18 +08:00
H1JK
a06b387acc
adjust: VLESS enable XUDP by default
2023-01-28 14:58:52 +08:00
metacubex
2b2644a76f
chore: restful api display xudp for VLESS and VMess
2023-01-28 00:07:20 +08:00
Larvan2
f7538568c0
Chore: Change default latency test url to HTTPS.
2023-01-27 13:41:23 +08:00
Larvan2
16c4b55e31
Chore: Decrease the default MaxUdpRelayPacketSize to 1252 to avoid the relay UDP exceeding the size of the QUIC's datagram.
...
ClientMaxOpenStreams now follows the config.yaml option.
2023-01-24 21:48:31 +08:00
ag2s20150909
023a96a6d3
make ConvertsV2Ray more robust ( #349 )
...
* make ConvertsV2Ray more robust
* add log
* fix
2023-01-24 16:34:52 +08:00
wwqgtxx
ba6163574e
chore: better parseAddr
2023-01-17 15:41:51 +08:00
wwqgtxx
4e4d741075
chore: code cleanup
2023-01-16 12:11:34 +08:00
wwqgtxx
50832aab47
chore: decrease direct depend on the sing package
2023-01-16 10:50:31 +08:00
H1JK
d1565bb46f
refactor: Implement extended IO
2023-01-16 09:42:03 +08:00
Skyxim
b6b6413d04
refactor: replace experimental.fingerprints with custom-certificates and Change the fingerprint verification logic to SSL pinning
2023-01-14 21:08:06 +08:00
metacubex
606e8948c0
Fix: TLS defaults to true for h2/grpc networks
2023-01-14 16:20:58 +08:00
3andero
804cff8c55
fix: skip-cert-verify is true by default ( #333 )
...
* fix: skip-cert-verify is true by default
* fix: format
* fix: typo
Co-authored-by: 3andero <3andero@github.com>
Co-authored-by: Hellojack <106379370+H1JK@users.noreply.github.com>
2023-01-13 09:55:01 +08:00
Hellojack
be6142aa43
feat: VLESS support packet encodings ( #334 )
...
* adjust: Do not use XTLS on H2 connections
* feat: VLESS support XUDP fullcone NAT
* fix: VLESS with PacketAddr does not work
* fix: VLESS XUDP crash
2023-01-11 22:01:15 +08:00
wwqgtxx
0069513780
chore: shadowtls don't depend on trojan's code
2023-01-11 10:19:30 +08:00
3andero
51f9b34a7c
feat: Support ShadowTLS v2 as Shadowsocks plugin ( #330 )
2023-01-11 00:13:48 +08:00
metacubex
337be9124f
chore: clean code
2023-01-11 00:01:28 +08:00
wwqgtxx
261b8a1d06
fix: vmess udp
2023-01-10 13:21:32 +08:00
metacubex
01d8b224db
fix: vless RoutingMark bind
2023-01-09 23:15:17 +08:00
H1JK
fd48c6df8a
chore: Fix fmt in #321
...
Replace all double spaces to tabs due to Go fmt proposal.
2023-01-07 12:24:28 +08:00
ag2s20150909
29b72df14c
proxy-groups support exclude node by node type
2023-01-03 21:47:57 +08:00
ag2s20150909
f100a33d98
proxy-provider support exclude node by node type
2023-01-03 21:27:07 +08:00
wwqgtxx
a03af85a6b
fix: trying to let hysteria's port hopping work
2022-12-23 11:00:55 +08:00
wwqgtxx
daf0b23805
fix: some safeConnClose forget using original
2022-12-22 12:31:45 +08:00
wwqgtxx
980454beb2
chore: cleanup code
2022-12-22 09:53:25 +08:00
wwqgtxx
22414ce399
chore: relay support tuic
2022-12-20 00:11:02 +08:00
wwqgtxx
7496d9c114
chore: rebuild relay
2022-12-19 21:34:07 +08:00
wwqgtxx
c63dd62ed2
chore: support relay native udp when using ss and ssr protocol
2022-12-19 17:02:04 +08:00
wwqgtxx
57592ee840
chore: better safeConnClose
2022-12-16 22:16:02 +08:00
wwqgtxx
afb2364ca2
chore: wireguard's reserved support base64 input
2022-12-13 20:40:07 +08:00
wwqgtxx
9711390c18
fix: check conn is nil in safeConnClose
2022-12-13 18:09:19 +08:00
wwqgtxx
bffb0573a6
fix: safeConnClose not working
2022-12-13 13:20:40 +08:00
wwqgtxx
88acf8e098
fix: fix bindIfaceToListenConfig() in windows force bind to an ipv4 address
2022-12-13 11:18:32 +08:00
wwqgtxx
f87144f84b
chore: add persistent-keepalive for wireguard
2022-12-13 08:35:01 +08:00
wwqgtxx
1333f1fd47
fix: fix wireguard outbound not work with ipv6 server
2022-12-13 08:23:17 +08:00