Commit graph

51 commits

Author SHA1 Message Date
gVisor bot
4077fb59be chore: direct append data to bufio.Reader's internal buffer as much as possible 2023-11-09 22:19:29 +08:00
gVisor bot
8742b78d47 chore: using wk8/go-ordered-map/v2 replace internal StringMapSlice 2023-11-09 08:47:44 +08:00
gVisor bot
a918cd66d8 chore: hello mihomo 2023-11-03 21:58:21 +08:00
gVisor bot
797769798b chore: support v2ray http upgrade server too 2023-11-03 13:58:53 +08:00
gVisor bot
36c775c222 fix: avoid tls panic 2023-11-03 12:04:22 +08:00
gVisor bot
6805336f5b chore: do websocket client upgrade directly instead of gobwas/ws 2023-11-03 11:50:25 +08:00
gVisor bot
343d874ad9 fix: v2ray http upgrade Hosts header not working 2023-11-03 11:50:25 +08:00
gVisor bot
5a13d3bc6a chore: better tls handshake 2023-11-02 11:22:01 +08:00
gVisor bot
f398ebe6e2 feat: add v2ray-http-upgrade support 2023-11-02 11:11:35 +08:00
gVisor bot
f1df54e44b chore: better bufio.Reader warp 2023-11-02 11:11:35 +08:00
gVisor bot
bd3e222131 chore: code cleanup 2023-10-17 12:46:41 +08:00
gVisor bot
4bd0692f05 fix: method in vmess http-opts is not used 2023-10-16 09:16:36 +08:00
gVisor bot
3e5600c0db feat: add ws-path to vmess listener 2023-10-08 07:26:28 +08:00
gVisor bot
c675e82fbf chore: migrate from gorilla/websocket to gobwas/ws 2023-10-06 17:44:36 +08:00
gVisor bot
7de04cd5cf chore: rebuild ca parsing 2023-09-22 14:45:34 +08:00
gVisor bot
c71a4619b8 chore: more context passing in outbounds 2023-05-18 13:15:08 +08:00
gVisor bot
422fccc100 fix: h2 close panic 2023-04-17 23:42:15 +08:00
gVisor bot
0e2f5e4436 fix: ensure StreamWebsocketConn call N.NewDeadlineConn 2023-04-17 00:23:12 +08:00
gVisor bot
c4580858fb chore: Update dependencies 2023-04-09 15:40:17 +08:00
gVisor bot
8358114e31 chore: Add early bounds checks 2023-04-05 13:51:50 +08:00
gVisor bot
68a2b8a9d2 feat: Support REALITY protocol 2023-03-08 17:18:46 +08:00
gVisor bot
a5cf2ce0df chore: use fastrand to replace math/rand 2023-03-06 18:10:14 +08:00
gVisor bot
e45b8dc404 chore: add early conn interface to decrease unneeded write 2023-02-27 00:26:49 +08:00
gVisor bot
70538347b8 fix: ensure return a nil interface not an interface with nil value 2023-02-18 14:16:03 +08:00
gVisor bot
63510ea0cf fix: websocket headroom 2023-02-18 13:58:08 +08:00
gVisor bot
ce0f69d6ed chore: do not use extra pointer in UClient 2023-02-07 17:51:37 +08:00
gVisor bot
57279cd971 chore: move global-utls-client snippets to components\tls 2023-02-07 17:24:14 +08:00
gVisor bot
5cab8afec7 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
gVisor bot
4d33fb9848 feat: Update utls support.
* client-fingerprint is used to apply Utls for modifying ClientHello, it accepts "chrome","firefox","safari","ios","random" options.
* Utls is currently support TLS transport in TCP/grpc/WS/HTTP for VLESS/Vmess and trojan.
2023-02-05 17:34:37 +08:00
gVisor bot
5169fe33bf 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
gVisor bot
d926d6106f chore: code cleanup 2023-01-16 12:11:34 +08:00
gVisor bot
73f1fcb324 adjust: Improve WebSocket mask 2023-01-16 11:42:10 +08:00
gVisor bot
58ee2ae7f5 chore: decrease direct depend on the sing package 2023-01-16 10:50:31 +08:00
gVisor bot
7df6e79cf0 refactor: Implement extended IO 2023-01-16 09:42:03 +08:00
gVisor bot
8ec6c87a2b refactor: replace experimental.fingerprints with custom-certificates and Change the fingerprint verification logic to SSL pinning 2023-01-14 21:08:06 +08:00
gVisor bot
419982688f 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
gVisor bot
722e8a6c27 Merge branch 'dev' of https://github.com/Dreamacro/clash into Alpha 2022-11-12 20:43:48 +08:00
gVisor bot
7c1630c92a feat: add fingerprint param 2022-07-11 13:42:28 +08:00
gVisor bot
27b5ecf3ab fix: skip-cert-verify not work 2022-07-11 12:37:27 +08:00
gVisor bot
91e1649822 feat: add fingerprint for tls verify 2022-07-10 20:44:24 +08:00
gVisor bot
ec5bdbc157 Fix: query string parse on ws-opts (#2213) 2022-07-10 14:56:34 +08:00
gVisor bot
d1e6239372 chore: the uuid-map is transferred to the protocol 2022-05-06 13:28:09 +08:00
gVisor bot
6e33263167 Fix: tls handshake requires a timeout (#1893) 2022-01-15 19:33:21 +08:00
gVisor bot
1b7ad8f494 Feature: support trojan websocket 2021-10-16 20:19:59 +08:00
gVisor bot
653f2de2c0 Style: use gofumpt for fmt 2021-10-10 23:44:09 +08:00
gVisor bot
58d66fb4e4 Chore: adjust vmess 0rtt code and split xray test 2021-08-22 16:16:45 +08:00
gVisor bot
d867bb3b50 Feature: support xray's ws-0rtt path (#1558) 2021-08-22 16:03:46 +08:00
gVisor bot
d99920a3e6 Feature: add vmess WebSocket early data (#1505)
Co-authored-by: ShinyGwyn <79344143+ShinyGwyn@users.noreply.github.com>
2021-08-22 00:25:29 +08:00
gVisor bot
089faa30a5 Fix: remove ClientSessionCache and add NextProtos for vmess to fix #1468 2021-07-03 20:34:44 +08:00
gVisor bot
aaaef92fbf Fix: vmess http should use Host header on request 2021-05-16 20:05:41 +08:00