Commit graph

345 commits

Author SHA1 Message Date
世界 8320dd0b51
Improve vmess request 2023-02-07 14:53:08 +08:00
世界 8a779f6e94
Update dependencies 2023-02-02 15:38:48 +08:00
世界 d461768ffb
Fix build with go1.20 2023-02-02 15:25:34 +08:00
世界 59e521c1db
Fix convert netaddr 2023-01-14 20:04:15 +08:00
世界 23a35b3c06
Fix create UDP DNS transport from plain IPv6 address 2023-01-13 11:51:20 +08:00
世界 54f9625bdc
Fix DNS log 2023-01-03 17:04:10 +08:00
世界 ff0693be32
Bump version 2023-01-03 10:53:38 +08:00
世界 53d9ad93e3
Improve DNS log 2023-01-03 10:36:18 +08:00
世界 f5c5570bec
Skip set windows system proxy bypass list 2022-12-26 12:33:08 +08:00
世界 cfaf15f429
Fix DNS response TTL 2022-12-19 13:10:57 +08:00
isnowly 4d2185a2d4
Fix http proxy auth 2022-12-18 16:08:49 +08:00
世界 33f22263ca
Update dependencies 2022-12-18 15:40:19 +08:00
世界 c95e4a13a1
Fix vmess packet conn 2022-12-06 13:02:28 +08:00
世界 726a7e19eb
Suppress quic-go set DF error 2022-12-06 12:51:52 +08:00
世界 7734afc40c
Update dependencies 2022-11-28 12:51:23 +08:00
世界 7c910165ef
Cleanup code 2022-11-24 12:37:29 +08:00
世界 468778f67f
Update dependencies 2022-11-21 13:18:04 +08:00
世界 11076d52cd
Fix dns buffer & quic retry 2022-11-13 11:16:10 +08:00
世界 2fc1a0a9dd
Update documentation 2022-11-10 16:33:10 +08:00
世界 7358ca4a52
Fix vmess request buffer 2022-11-09 10:16:22 +08:00
世界 2ecf86c2bc
Update patched quic-go 2022-11-08 13:54:01 +08:00
世界 999a847e86
Add custom wireguard worker size option 2022-11-08 13:48:14 +08:00
世界 b2cd78d279
Move WFP manipulation to strict route 2022-11-06 10:16:07 +08:00
世界 930d177dd0
Update dependencies 2022-10-31 13:59:52 +08:00
世界 4119c8647b
Update dependencies 2022-10-29 17:56:21 +08:00
世界 90a94a8c63
Improve local dns transport 2022-10-29 17:37:11 +08:00
世界 b0c39ac7ff
Suppress no network error 2022-10-28 09:54:04 +08:00
世界 f3e1d1defc
Fix h3 dns transport 2022-10-20 11:04:03 +08:00
世界 68e286499d
Update dependencies 2022-10-18 17:27:50 +08:00
世界 6591dd58ca
Remove strict route on windows
replaced by custom route
2022-10-12 16:24:45 +08:00
XYenon 54af113363
Add custom route support (#147) 2022-10-12 16:20:17 +08:00
世界 7d17c52fea
Add more messages to darwin route error 2022-10-09 21:22:07 +08:00
世界 a01bb569d1
Fix websocket headroom 2022-10-08 20:09:36 +08:00
世界 b0ad9bb6f1
Add shadowtls v2 support 2022-10-06 22:47:11 +08:00
世界 d135d0f287
Update tfo-go usage 2022-10-06 21:58:50 +08:00
世界 b183ccf23d
Fix wfp filter weight 2022-10-05 20:24:27 +08:00
世界 bd86bfcd22
Fix check system stack packet 2022-10-03 04:36:54 +08:00
世界 1173fdea64
Improve tls writer 2022-10-01 11:29:46 +08:00
世界 3e5bee6faf
Fix windows route 2022-09-30 00:36:42 +08:00
世界 aa613cba73
Fix dns close 2022-09-29 09:12:13 +08:00
世界 b5564ef3d3
Fix bind control 2022-09-26 13:50:54 +08:00
世界 c90a77a185
Refine 4in6 processing 2022-09-25 22:29:18 +08:00
世界 17b5f031f1
Fix shadowsocks plugins 2022-09-25 16:43:12 +08:00
世界 407509c985
Fix leaks and add test 2022-09-23 13:14:31 +08:00
世界 f42356fbcb
Fix system stack ipv4 overflow 2022-09-23 10:29:15 +08:00
世界 d0b467671a
Merge VLESS to library 2022-09-23 10:28:51 +08:00
世界 c18c545798
Add stdio test 2022-09-23 10:28:24 +08:00
世界 693ef293ac
Update buffer usage 2022-09-23 10:27:48 +08:00
世界 63fc95b96d
Add mux server and XUDP client for VMess 2022-09-17 11:54:04 +08:00
世界 1546770bfd
Skip bind on local addr 2022-09-16 15:35:29 +08:00
世界 a2c4d68031
Fix create UDP transport 2022-09-15 16:46:53 +08:00
世界 a5402ffb69
Add back urltest outbound 2022-09-15 15:22:08 +08:00
世界 668d354771
Make gVisor optional 2022-09-15 12:24:08 +08:00
世界 92bf784f4f
Move shadowsocksr implementation to clash 2022-09-14 21:57:40 +08:00
世界 189f02c802
Refactor bind control 2022-09-14 18:02:37 +08:00
世界 9a3360e5d0
Fix build on go1.18 2022-09-13 16:23:20 +08:00
世界 007a278ac8
Refactor to miekg/dns 2022-09-13 16:18:39 +08:00
世界 b271e19a23
Fix concurrent write 2022-09-13 10:41:10 +08:00
世界 9913e0e025
Add shadowsocksr outbound 2022-09-12 18:35:36 +08:00
世界 7e09beb0c3
Minor fixes 2022-09-11 22:44:35 +08:00
世界 0e31aeea00
Fix socks4 request 2022-09-10 22:54:50 +08:00
世界 2f437a0382
Add uTLS client 2022-09-10 22:10:45 +08:00
世界 3ad4370fa5
Add ECH TLS client 2022-09-10 22:10:45 +08:00
世界 a3bb9c2877
Import cloudflare tls 2022-09-10 22:10:45 +08:00
世界 099358d3e5
Add clash persistence support 2022-09-10 14:42:14 +08:00
世界 bbe7f28545
Fix system stack crash 2022-09-09 19:44:13 +08:00
世界 aa7e85caa7
Update dependencies
Add half close for smux
Update gVisor to 20220905.0
2022-09-09 14:44:18 +08:00
世界 500ba69548
Fix processing vmess termination signal 2022-09-07 19:16:20 +08:00
世界 9078bc2de5
Fix write trojan udp 2022-09-03 16:58:55 +08:00
世界 b206d0889b
Fix dial parallel in direct outbound 2022-09-03 12:01:48 +08:00
世界 ee691d81bf
Fix write zero 2022-09-03 09:25:30 +08:00
世界 d8028a8632
Fix smux session status 2022-08-31 10:00:15 +08:00
世界 cd98ea5008
Fix socksaddr type condition 2022-08-29 19:58:58 +08:00
世界 d440a01792
Add grpc compatibility test 2022-08-29 10:15:25 +08:00
世界 c6ef276811
Update dependencies 2022-08-28 12:21:22 +08:00
世界 0d8cfa3031
Add vmess packetaddr option 2022-08-27 11:28:01 +08:00
世界 0289586880
Add documentation for strict_route 2022-08-27 09:31:17 +08:00
世界 e85dfc6adf
Add strict_route option 2022-08-26 21:53:08 +08:00
世界 d0703b78fa
Fix dns hijack on android
iproute2 on android does not support port rules
2022-08-26 21:05:45 +08:00
世界 9ac31d0233
Fix ipv6 route on linux 2022-08-26 12:30:31 +08:00
世界 9f6628445e
Improve ip_cidr rule 2022-08-25 22:23:26 +08:00
世界 021aa8faed
Fix ipv6 route on linux 2022-08-25 18:57:36 +08:00
世界 83f6e037d6
Fix http proxy with compressed response 2022-08-25 18:40:13 +08:00
世界 a6baab92f3
Fix early close on windows and catch any 2022-08-24 19:03:15 +08:00
世界 553f78ed55
Fix close non-duplex connections 2022-08-24 14:32:18 +08:00
世界 1413c5022a
Add proxy protocol support 2022-08-23 21:07:35 +08:00
世界 9f6ff54a76
Parse X-Forward-For in HTTP requests 2022-08-23 19:53:04 +08:00
世界 082872b2f3
Prepare v2ray client/server transport 2022-08-22 18:57:05 +08:00
世界 4216afe62f
Minor fixes 2022-08-22 16:14:53 +08:00
世界 ac0ead1473
Add strategy setting for each dns server 2022-08-22 12:01:50 +08:00
世界 83cea9475d
Fix vectorised writer 2022-08-21 22:35:58 +08:00
世界 7613b8dbfe
Fix gvisor udp write back 2022-08-21 11:40:04 +08:00
世界 e4cece6095
Add tor outbound 2022-08-21 01:06:34 +08:00
世界 746b5d8be0
Add trojan connection fallback 2022-08-20 21:08:53 +08:00
世界 f13ecbd9bb
Wait a second before check route update 2022-08-20 13:42:28 +08:00
世界 b797cdf91e
Fix write socks5 username password auth request 2022-08-20 13:26:49 +08:00
世界 84e4677a94
Improve process searcher 2022-08-20 12:11:27 +08:00
世界 0377a11719
Fix route on android 2022-08-20 10:27:13 +08:00
世界 f381f8d35a
Fix read packages in android 13 2022-08-20 03:05:50 +08:00
世界 92e1e5b893
Attempt to unwrap ip-in-fqdn socksaddr 2022-08-20 00:01:08 +08:00
世界 0bf78c0a8a
Update gVisor to 20220815.0 2022-08-19 17:47:54 +08:00
世界 d1c3dd0ee1
Add hysteria and acme TLS certificate issuer (#18)
* Add hysteria client/server
* Add acme TLS certificate issuer
2022-08-19 15:42:57 +08:00
世界 3dfa99efe1
Add back dns concurrent write lock 2022-08-19 10:51:26 +08:00
世界 d7bd221a47
Fix darwin tun 2022-08-19 08:35:08 +08:00
世界 150df1ae8e
Add write lock to shadowsocks aead writer 2022-08-19 08:26:26 +08:00
世界 5ca9d77176
Fix close shadowsocks server conn 2022-08-18 23:16:05 +08:00
世界 aa89fcc29d
Fix find process with lwip stack 2022-08-18 10:10:30 +08:00
世界 738bb0eabc
Improve async dns transports 2022-08-17 20:10:59 +08:00
世界 f51128f772
Add ip_version rule item 2022-08-16 23:47:14 +08:00
世界 d6a0aa7ccf
Add wireguard outbound and test 2022-08-16 23:39:11 +08:00
世界 835ae1217b
Update exec/control usage 2022-08-16 18:19:48 +08:00
世界 88c69a06dc
Fix copy stream 2022-08-15 16:53:12 +08:00
世界 cd5e7055d2
Add android package rules support in tun routing 2022-08-15 11:44:59 +08:00
世界 3157593b6b
Add uid and android user rules support in tun routing 2022-08-15 11:41:00 +08:00
世界 50869c6cd2
Fix dns concurrent write 2022-08-13 11:00:15 +08:00
世界 51bbf93ff2
Improve smux write 2022-08-12 16:49:25 +08:00
世界 b0ed1dc106
Minor fixes 2022-08-12 12:13:57 +08:00
世界 ef8dde2b70
Update dependencies 2022-08-12 10:58:16 +08:00
世界 97870c9288
Refactor bufio 2022-08-11 23:59:22 +08:00
世界 c9226aeaaf
Show memory stats in debug 2022-08-11 12:42:17 +08:00
世界 b79b19c470
Add naive inbound and test 2022-08-10 20:36:29 +08:00
世界 79a4b18ec7
Update dependencies 2022-08-09 15:55:16 +08:00
世界 8ca6c246a8
Improve wintun read 2022-08-08 21:35:59 +08:00
世界 6d78cf6b58
Add trojan inbound/outbound 2022-08-08 09:08:12 +08:00
世界 0f74f6cd60
Add optional LWIP tun stack support 2022-08-07 17:21:49 +08:00
世界 6ee10c03d1
Update gVisor to 20220801.0 2022-08-07 14:58:07 +08:00
世界 587739e95c
Fix linux unprivileged tun usage 2022-08-07 11:21:10 +08:00
世界 01bace7769
Fix wininet wrapper 2022-08-06 17:28:51 +08:00
世界 dfa10d4ebe
Add tun support for macOS 2022-08-05 17:02:51 +08:00
世界 f691bd5ce1
Add set system proxy support for macOS 2022-08-05 16:55:59 +08:00
世界 64dbac8138
Add multiplexer for vmess 2022-08-04 10:38:20 +08:00
世界 03890151d7
Improve multiplexer 2022-08-03 22:01:18 +08:00
世界 8e4de29409
Improve dns log 2022-08-03 20:17:05 +08:00
世界 d4cce1b5b9
Update task usage 2022-08-03 17:44:19 +08:00
世界 44068500bf
Replace netlink with fork 2022-08-03 12:02:22 +08:00
世界 8ce263669e
Fix windows tun leak memory 2022-08-03 10:14:00 +08:00
世界 b1c2440371
Fix buffer usage 2022-08-02 13:43:25 +08:00
世界 14b6200fd8
Add documentation for vmess 2022-08-01 17:02:13 +08:00
世界 7966b80476
Add vmess legacy server and test 2022-08-01 12:23:34 +08:00
世界 b526ab2746
Fix netlink subscription leak 2022-07-31 19:58:32 +08:00
世界 0e0a892b7e
Make socks request buffered 2022-07-31 19:58:32 +08:00
世界 fe3649cd27
Close tun endpoint faster 2022-07-31 19:58:32 +08:00
世界 70b4577dbe
Add TLS certificate reload 2022-07-30 22:04:01 +08:00
世界 2d3d46eb34
Fix copy with src buffer to headroom writer 2022-07-30 21:23:45 +08:00
世界 2ce09b6ffd
Minor fixes 2022-07-30 14:50:33 +08:00
世界 d3378a575c
Improve error processing 2022-07-30 09:57:02 +08:00
世界 457de86819
Add multiplexer 2022-07-30 09:04:01 +08:00
世界 f008d0bde3
Add endpoint independent nat support for tun inbound 2022-07-27 11:59:36 +08:00
世界 0347a7c038
Remove go-json 2022-07-26 13:53:25 +08:00
世界 75508bccb5
Add optional DoT, DoH3 support 2022-07-26 12:48:10 +08:00
世界 593799a988
Fix clash tracker timeout 2022-07-26 06:56:24 +08:00
世界 816d7b734c
Improve udp timeout 2022-07-25 22:15:16 +08:00
世界 cc78f0347d
Improve config struct 2022-07-25 16:18:11 +08:00
世界 8666631732
Add rcode dns transport 2022-07-24 16:21:31 +08:00
世界 5f6f33c464
Add process_name/package_name/user/user_id rule item 2022-07-23 21:28:13 +08:00
世界 9f8978bbcf
Improve 4in6 processing 2022-07-22 17:57:23 +08:00
世界 c4e46c35b5
Add urltest outbound 2022-07-22 13:51:08 +08:00
世界 385c42e638
Improve socksaddr 2022-07-20 22:05:11 +08:00
世界 6327c4b40c
Minor fixes 2022-07-20 13:46:47 +08:00
世界 c5b3e8b042
Add basic clash api 2022-07-19 22:45:55 +08:00
世界 6b1a68908d
Add vmess inbound/outbound 2022-07-18 12:32:31 +08:00
世界 d1e83882e5
Add user rule item 2022-07-17 17:38:11 +08:00
世界 4094c94971
Disable gVisor log 2022-07-17 11:15:56 +08:00
世界 a4b5c61e25
Update dependencies 2022-07-17 09:18:36 +08:00
世界 9871ed955b
Fix build 2022-07-17 08:48:57 +08:00
世界 8619e07d66
Fix private addr check 2022-07-16 10:19:18 +08:00
世界 eb35d6793e
Fix linux tun 2022-07-15 22:40:42 +08:00
世界 8969a15858
Fix tun auto_route on android 2022-07-15 18:29:29 +08:00
世界 377f3f83a2
Add route.default_interface option 2022-07-15 15:00:54 +08:00
世界 5a3de62c50
Add ss aead tests 2022-07-15 11:18:19 +08:00
世界 e13b72afca
Improve bind interface 2022-07-14 23:11:53 +08:00
世界 b9086b31e6
Add set_system_proxy for linux and android 2022-07-14 20:32:17 +08:00
世界 e7d557fd9e
Add tun inbound for windows 2022-07-13 22:41:21 +08:00
世界 4fc763cfa2
Refactor log 2022-07-12 17:44:12 +08:00
世界 dc127e2994
Migrate components to library 2022-07-11 18:44:59 +08:00
世界 6048b1e270
Remove ToString0[T] usage to fix golangci-lint 2022-07-10 22:00:28 +08:00
世界 730144cc26
Add tun inbound for linux 2022-07-09 22:44:18 +08:00
世界 6832451561
Fix direct udp 2022-07-09 10:28:22 +08:00
世界 3699a57847
Add dial parallel for outbound dialer 2022-07-08 13:08:29 +08:00
世界 538a1f5909
Add resolver for outbound dialer 2022-07-07 21:47:21 +08:00
世界 8a761d7e3b
Add dns client 2022-07-06 23:14:19 +08:00
世界 651c4b539a
Add dns transports 2022-07-06 19:01:46 +08:00
世界 86a38a1c7e
Add domain sniffer 2022-07-06 12:39:44 +08:00
世界 8392567962
Add geosite 2022-07-05 09:05:35 +08:00
世界 43cf0441db
Fix route 2022-07-04 19:34:45 +08:00
世界 4fc4eb09b0
Add http/block outbound & Improve route 2022-07-04 08:16:25 +08:00
世界 28b865acf0
Refactor json 2022-07-03 19:43:27 +08:00
世界 70c0812606
Add socks outbound 2022-07-03 13:14:49 +08:00
世界 ef5cfd59d4
Ordered json output & Disallow unknown fields 2022-07-03 11:28:15 +08:00
世界 85a695caa1
Add format config support 2022-07-03 03:42:57 +08:00
世界 30444057bd
Invalid config check 2022-07-03 01:57:04 +08:00
世界 6eae8e361f
Implement route rules 2022-07-02 23:19:14 +08:00
世界 7c57eb70e8
Inbound rule support 2022-07-02 14:07:50 +08:00
世界 9f4c0ff624
Refactor adapter 2022-07-01 19:37:41 +08:00
世界 60691819b1
Init commit 2022-07-01 16:58:18 +08:00