Commit graph

493 commits

Author SHA1 Message Date
gVisor bot
92d45c5a80 fix: ss aead udp problem 2023-05-10 08:31:16 +08:00
gVisor bot
72e42957bf fix: Update unsafe pointer add usage 2023-05-06 15:49:10 +08:00
gVisor bot
a48d1f0948 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
gVisor bot
7160fb2a4b fix: wildcard matching problem 2023-04-28 16:55:35 +00:00
gVisor bot
135dc640db fix: domain-set wildcard match 2023-04-26 02:49:16 +00:00
gVisor bot
2bc88b1741 chore: support splice for direct outbound 2023-04-25 23:01:05 +08:00
gVisor bot
190014aa1d chore: using sync/atomic replace uber/atomic 2023-04-22 15:37:57 +08:00
gVisor bot
6c51ee9b38 fix: not match top domain 2023-04-20 05:45:22 +00:00
gVisor bot
092676ba3f chore: clear windows bind error 2023-04-20 10:22:51 +08:00
gVisor bot
7867b7ea2d chore: using new chan based deadline reader 2023-04-17 19:29:07 +08:00
gVisor bot
e88a77202d chore: resolver priority return TypeA in ResolveIP (not effected LookupIP) 2023-04-12 22:06:21 +08:00
gVisor bot
321ad945ba chore: udp always direct pass ip to remote without domain 2023-04-12 21:49:22 +08:00
gVisor bot
be26524257 fix: proxyDialer has a non-nil interface containing nil pointer judgment 2023-04-12 18:19:59 +08:00
gVisor bot
d4b6acb212 fix: proxyDialer panic when domain name was not resolved 2023-04-12 12:49:53 +08:00
gVisor bot
3defc3fc77 chore: proxyDialer first using old function to let mux work 2023-04-12 11:09:31 +08:00
gVisor bot
f371813210 chore: proxyDialer don't push flow to manager in statistic 2023-04-11 23:58:56 +08:00
gVisor bot
964a13ee55 chore: proxyDialer can add inner conn to statistic 2023-04-11 21:42:16 +08:00
gVisor bot
e604ec6bf8 chore: wireguard dns can work with domain-based server 2023-04-11 14:10:57 +08:00
gVisor bot
1151fc4e2f chore: proxyDialer can limited support old dial function 2023-04-11 12:51:24 +08:00
gVisor bot
bc508fba84 chore: download geoX use inner 2023-04-10 21:03:31 +08:00
gVisor bot
7536f23c1d feat: wireguard add dialer-proxy config to support chain forwarding 2023-04-10 08:54:10 +08:00
gVisor bot
6b5484841d chore: DomainSet now build from a DomainTrie 2023-04-01 12:15:03 +08:00
gVisor bot
96461ab557 feat: nameserver-policy support use rule-providers and reduce domain-set memory 2023-04-01 11:53:39 +08:00
gVisor bot
72cac9b0de fix: inner http use host of address 2023-03-29 20:50:46 +08:00
gVisor bot
e817410fbb chore: adjust trust cert 2023-03-27 22:27:59 +08:00
gVisor bot
dba4917ed3 chore: clean up code 2023-03-25 22:56:24 +08:00
gVisor bot
c674c46d3a chore: better geodata shared 2023-03-23 18:58:24 +08:00
gVisor bot
ef31e42456 chore: share the same geodata in different rule 2023-03-23 18:35:37 +08:00
gVisor bot
2d441bc91f chore: update xray-core version 2023-03-22 23:45:26 +08:00
gVisor bot
9692a2ce9f fix: log typo 2023-03-21 00:45:25 +08:00
gVisor bot
9f10df457b chore: do not modify ALPN in utls 2023-03-17 14:49:42 +08:00
gVisor bot
856d49d027 chore: Improve REALITY handshake 2023-03-15 15:55:18 +08:00
gVisor bot
f9be12aa93 chore: fix issues #440 2023-03-13 21:19:39 +08:00
gVisor bot
020ed8bc96 fix: rand ip error and clash remove loopback ip 2023-03-12 18:44:30 +08:00
gVisor bot
05f59ea57f chore: add comment 2023-03-12 15:05:28 +08:00
gVisor bot
e5eab112d0 feta: add hosts support domain and mulitple ip (#439)
* feat: host support domain and multiple ips

* chore: append local address via `clash`

* chore: update hosts demo

* chore: unified parse mixed string and array

* fix: flatten cname

* chore: adjust logic

* chore: reuse code

* chore: use cname in tunnel

* chore: try use domain mapping when normal dns

* chore: format code
2023-03-12 15:00:59 +08:00
gVisor bot
d0a530088b chore: Cleanup REALITY code 2023-03-11 12:23:27 +08:00
gVisor bot
905b396f73 fix: dial panic 2023-03-10 22:08:01 +08:00
gVisor bot
adce5f1be9 fix: ALPN not applied in uTLS/REALITY 2023-03-10 20:53:39 +08:00
gVisor bot
cbacbd7407 fix: dialer dual stack panic 2023-03-10 20:16:14 +08:00
gVisor bot
e5a3c4dced fix: SA4001 for netDialer copy 2023-03-10 16:17:54 +08:00
gVisor bot
de80454195 chore: adjust error log 2023-03-10 14:12:18 +08:00
gVisor bot
e23fc76653 fix: don't return a non-nil interface containing nil pointer 2023-03-10 12:06:53 +08:00
gVisor bot
e15f92a1b6 fix: unmap 4in6 address in dialer and wireguard 2023-03-10 00:25:22 +08:00
gVisor bot
4134f7a5bd feat: REALITY use proxy servername 2023-03-08 20:28:12 +08:00
gVisor bot
68a2b8a9d2 feat: Support REALITY protocol 2023-03-08 17:18:46 +08:00
gVisor bot
a2f7fb4a0b chore: wireguard using internal dialer 2023-03-07 09:30:51 +08:00
gVisor bot
08c113b079 chore: cleanup dialer's code 2023-03-06 23:23:05 +08:00
gVisor bot
3d832bc54f fix: dns resolver 2023-03-06 19:15:12 +08:00
gVisor bot
a5cf2ce0df chore: use fastrand to replace math/rand 2023-03-06 18:10:14 +08:00
gVisor bot
b9ee4027e5 chore: add more utls fingerprints 2023-02-28 21:17:52 +08:00
gVisor bot
aec1b116b1 fix: udp loopback show "The requested address is not valid in its context." 2023-02-28 15:53:34 +08:00
gVisor bot
e45b8dc404 chore: add early conn interface to decrease unneeded write 2023-02-27 00:26:49 +08:00
gVisor bot
17f1ef7cb0 fix: golang1.19 can't compile 2023-02-26 22:20:25 +08:00
gVisor bot
b7371738c4 fix: handle no IP address 2023-02-26 21:01:44 +08:00
gVisor bot
2e90c3a7e8 chore: format code 2023-02-26 20:38:32 +08:00
gVisor bot
e1e7f6349c fix: dual stack serial dial 2023-02-26 20:15:28 +08:00
gVisor bot
4d336e8278 fix: dns resolve in dialer 2023-02-26 13:52:10 +08:00
gVisor bot
9a55e50a14 fix: replace self define "connect timeout" to os.ErrDeadlineExceeded 2023-02-26 13:06:10 +08:00
gVisor bot
fd4898779b fix: ip version prefer not working 2023-02-26 12:39:53 +08:00
gVisor bot
bdb4aa3c1f refactor: tcp dial (#412)
Non-concurrent support to try to connect in turn

fix: serial dual stack dial
2023-02-26 12:12:25 +08:00
gVisor bot
1432dd4e97 chore: add custom ca trust 2023-02-25 22:01:20 +08:00
gVisor bot
af6f85c657 chore: support TFO for outbounds 2023-02-24 13:53:44 +08:00
gVisor bot
a132fe585b chore: use early conn to support real ws 0-rtt 2023-02-24 09:54:54 +08:00
gVisor bot
331744e5e3 fix: add "dns resolve failed" error in dialer 2023-02-22 19:14:11 +08:00
gVisor bot
e063925518 chore: better windows bind error handle 2023-02-22 13:41:33 +08:00
gVisor bot
a694155b20 chore: using sing-shadowtls to support shadowtls v1/2/3 2023-02-21 21:58:37 +08:00
gVisor bot
22d25db573 style: run go fmt on every .go file (#392) 2023-02-17 16:31:37 +08:00
gVisor bot
e23763c71a feat: introduce a new robust approach to handle tproxy udp. (#389) 2023-02-17 16:31:15 +08:00
gVisor bot
38fe64d6b8 chore: support golang1.20's dialer.ControlContext 2023-02-13 11:14:19 +08:00
gVisor bot
28770ca5dc chore: better bind in windows 2023-02-13 10:14:59 +08:00
gVisor bot
7021dc1878 chore: setting sniffHost value 2023-02-10 13:01:53 +08:00
gVisor bot
86fe3c1f24 chore: adjust log 2023-02-07 21:29:40 +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
8277c1b70e fix: get tlsconfig err not handle, return nil pointer 2023-01-31 15:26:18 +08:00
gVisor bot
a4a9886077 Feature: add dns query json api 2023-01-28 00:55:24 +08:00
gVisor bot
9d9d4565e3 feat: add override-destination for sniffer 2023-01-23 14:08:11 +08:00
gVisor bot
86ad74a0ae feat: better config for sniffer 2023-01-23 13:16:25 +08:00
gVisor bot
643979800c chore: better log 2023-01-23 11:17:30 +08:00
gVisor bot
a707db90f4 chore: adjust log 2023-01-23 11:14:45 +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
0340ab8ffa chore: adjust the case of Program names and HttpRequest UA 2023-01-14 16:17:10 +08:00
gVisor bot
ace55047ab chore: Refine process code 2023-01-14 16:16:59 +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
c8f119493e fix: geoip mmdb/geodata init 2023-01-09 21:12:13 +08:00
gVisor bot
4a0413a33d fix #322: add option general.find-process-mode, user can turn off findProcess feature in router
findProcess slow down connection due to repeat call to FindProcessName in router environment
this option has 3 values: always, strict, off
- always, equal to enable-process: true. Just try to merge all process related option into one
- strict, as default value, behavior remains unchanged
- off, turn off findProcess, useful in router environment
2023-01-09 19:48:39 +08:00
gVisor bot
57cd902214 chore: cleanup code 2022-12-22 09:53:25 +08:00
gVisor bot
861357234f chore: relay support tuic 2022-12-20 00:11:02 +08:00
gVisor bot
ec0136af1b chore: rebuild relay 2022-12-19 21:34:07 +08:00
gVisor bot
52924804ef fix: fix bindIfaceToListenConfig() in windows force bind to an ipv4 address 2022-12-13 11:18:32 +08:00
gVisor bot
92446efd80 chore: Android version supports child processes following the main process rules 2022-12-11 18:24:55 +08:00
gVisor bot
a6e88229d6 fix: let doh/dot server follow hosts and can remotely resolve itself ip 2022-12-07 20:01:44 +08:00
gVisor bot
19b8af7ebc fix: use same strClone function 2022-11-30 20:38:03 +08:00
gVisor bot
b48387d9f4 chore: optimize DomainTrie for only one child 2022-11-30 19:42:05 +08:00
gVisor bot
537035ffa8 chore: decrease DomainTrie's memory use 2022-11-30 18:50:46 +08:00
gVisor bot
0f4a0a7275 chore: add tuic outbound
close #133
2022-11-25 08:08:14 +08:00
gVisor bot
a79d7c80cb chore: Adjust error of dialer 2022-11-19 10:57:33 +08:00
gVisor bot
6afa624bf3 chore: return context error 2022-11-19 10:50:13 +08:00
gVisor bot
bcef894237 chore: Adjust the return 2022-11-19 10:47:03 +08:00