Commit graph

495 commits

Author SHA1 Message Date
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
gVisor bot
a82c88f5aa fix: resolver's ctx 2022-11-19 10:45:44 +08:00
gVisor bot
d955c2e016 chore: sync dns code 2022-11-12 21:31:07 +08:00
gVisor bot
eceeb5bdf1 fix: build error 2022-11-12 20:59:29 +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
71ab8298a2 chore: always pass context when resolve dns 2022-11-12 13:18:36 +08:00
gVisor bot
d5d5dc2303 chore: remove AddrType on Metadata 2022-11-11 09:19:50 +08:00
gVisor bot
f33ad58ff5 fix: wireguard's dns resolve 2022-11-09 19:35:03 +08:00
gVisor bot
a3d4385a90 chore: add exclude-filter to ProxyGroup 2022-11-09 08:06:37 +08:00
gVisor bot
60311dc74e feat: subscriptionInfo 2022-11-05 19:39:17 +08:00
gVisor bot
0acb232b65 fix: pool_test.go 2022-11-05 13:08:50 +08:00
gVisor bot
9f2fb858c3 chore: netlink duplicate contains 2022-11-02 23:58:51 +08:00
gVisor bot
99a1561cd4 chore: trie.DomainTrie will not depend on zero value 2022-11-02 22:28:18 +08:00
gVisor bot
9742677725 Fix: amd64 macOS Ventura process name match 2022-11-02 11:43:43 +08:00
gVisor bot
aa87a74727 Fix: macOS Ventura process name match 2022-11-02 11:38:31 +08:00
gVisor bot
2632a406e6 Fix: amd64 macOS Ventura process name match 2022-10-27 15:36:09 +08:00
gVisor bot
1bd2fabe77 Fix: macOS Ventura process name match 2022-10-27 11:25:18 +08:00
gVisor bot
3a750588b8 fix: when connection refused active health test 2022-10-16 13:12:49 +08:00
gVisor bot
560862d4e2 chore: add parse-pure-ip in sniffer 2022-10-14 08:42:28 +08:00
gVisor bot
02dd19e311 chore: add force-dns-mapping in sniffer 2022-10-14 07:46:33 +08:00
gVisor bot
aadd28d149 chore: Cache and skip multiple failed addresses 2022-10-11 21:35:26 +08:00
gVisor bot
69658f3d4b fix: fakeip pool test 2022-10-09 11:07:24 +08:00
gVisor bot
b4d4dc251d fix: try let fakeip mode get real destination ip 2022-10-09 10:48:26 +08:00
gVisor bot
afd5e48adc chore: use sing-tun to replace old tun_adapter 2022-10-06 19:23:38 +08:00
gVisor bot
d8ce08c70f fix: global fingerprints load failed 2022-10-03 22:41:24 +08:00
gVisor bot
7183865dec Merge branch 'Alpha' into dev 2022-10-02 20:02:39 +08:00
gVisor bot
3fe5dd0f31 Refactor: linux process resolving (#2305) 2022-09-18 12:53:51 +08:00
gVisor bot
15b9aac3e6 Fix: fake ip pool offset calculate (#2281) 2022-09-01 11:33:47 +08:00
gVisor bot
45aff6c969 fix: no main result conn, will fail 2022-08-28 20:26:13 +08:00
gVisor bot
2022605546 feat: add ip-version param 2022-08-28 13:41:43 +08:00
gVisor bot
5845420649 Clean: use go 1.19 Appendf 2022-08-24 20:21:06 +08:00
gVisor bot
4a3d53c7ee chore: log error 2022-08-23 20:12:28 +08:00
gVisor bot
f2d7db4a41 Merge remote-tracking branch 'origin/Alpha' into Alpha
# Conflicts:
#	component/sniffer/http_sniffer.go
2022-08-22 23:22:26 +08:00
gVisor bot
48f30b01ef fix: ebpf support 2022-08-22 23:17:41 +08:00
gVisor bot
be49fcfd12 Chore: the default sniffing is changed to a standard port, and the sniffing result is only used for this connection. 2022-08-21 08:43:57 +08:00
gVisor bot
35eaa7eb06 fix: http sniffer skip ip 2022-08-17 12:41:36 +08:00
gVisor bot
08f414e9c7 Chore: remove old cache implementation 2022-08-17 11:43:20 +08:00
gVisor bot
6b6921f090 fix: http sniffer skip ip 2022-08-16 22:59:53 +08:00
gVisor bot
3e649ae8e8 fix: Unhandled dns resolve failure error 2022-08-13 16:47:24 +08:00
gVisor bot
730f5b2d5f Feature: sync missing resolver logic from premium, but still net.IP on opensource 2022-08-13 13:07:35 +08:00
gVisor bot
541943fd29 Fix: satisfy RFC4343 - DNS case insensitivity (#2260) 2022-08-12 13:47:51 +08:00
gVisor bot
40cab0094e Merge remote-tracking branch 'origin/Alpha' into Alpha 2022-08-12 03:36:15 +08:00
gVisor bot
2f09805ea6 Chore: clean code 2022-08-12 03:04:58 +08:00
gVisor bot
c1bd1de57e rm EBpf tun && disable android ebpf 2022-08-08 10:21:16 +08:00
gVisor bot
278a5a16a1 fix filepath undefined 2022-08-02 17:13:10 +08:00
gVisor bot
394faf0310 Merge remote-tracking branch 'origin/Alpha' into Alpha 2022-08-01 18:07:09 +08:00
gVisor bot
12a6c519a8 revert 9be70f67ca 2022-08-01 18:06:09 +08:00
gVisor bot
2c10af7b1d support ebpf 2022-07-29 09:08:35 +08:00
gVisor bot
5c3b78e2fc fix process code 2022-07-24 01:50:10 +08:00
gVisor bot
261ea66a4a fix process code 2022-07-24 01:37:01 +08:00
gVisor bot
e31d344926 fix process code 2022-07-24 01:34:22 +08:00
gVisor bot
31a8fca1f7 Fix: macOS udp find process should use unspecified fallback 2022-07-24 00:10:01 +08:00
gVisor bot
9201e7a43a fix: resolver error handling exception 2022-07-21 09:02:58 +08:00
gVisor bot
093525ec17 fix: pure ip resolve 2022-07-20 22:59:04 +08:00
gVisor bot
179989317c Fix: macOS udp find process should use unspecified fallback 2022-07-15 17:00:41 +08:00
gVisor bot
30b2c58ab5 chore: tcp conn error text 2022-07-11 22:29:35 +08:00
gVisor bot
9f48b6671c chore: remove log 2022-07-11 22:18:24 +08:00
gVisor bot
6b95daa9ee refactor: Unified provider loading resources 2022-07-11 21:30:34 +08:00
gVisor bot
fa4d027a23 chore: fingerprint style 2022-07-11 13:44:27 +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
57ab6ab58f Chore: cleanup bind mark code 2022-06-30 17:27:57 +08:00
gVisor bot
ae3e6524c5 fix: tcp concurrent force close when context done 2022-06-25 09:16:53 +08:00
gVisor bot
6143b134e3 fix: resolve ipv4 of 4 in 6 2022-06-17 21:44:06 +08:00
gVisor bot
17769e1a8f fix: udp listen use udp4 when general.ipv6 is false; general.ipv6 default value is true 2022-06-14 12:36:05 +08:00
gVisor bot
7e4d679da6 refactor: clear linkname,reduce cycle dependencies,transport init geosite function 2022-06-10 13:38:19 +08:00
gVisor bot
5953a4cfb5 refactor: 抽离http请求方法 2022-06-04 19:14:39 +08:00
gVisor bot
fa6c28e4e4 chore: 更新geox时通过内存存储 2022-06-03 16:50:49 +08:00
gVisor bot
b0e723f868 refactor: 优化proxy server nameserver, 当节点专用dns全部查询失败会回落到正常逻辑 2022-06-02 20:58:25 +08:00
gVisor bot
f7009e7f0b fix: OpenClash 回环 2022-06-01 12:32:45 +08:00
gVisor bot
1cfae4aba8 refactor: 合并部分android代码入linux && ip 使用netlink配置路由 2022-05-28 21:58:29 +08:00
gVisor bot
00e33008f6 fix: 关闭并发时双栈使用错误 2022-05-27 20:43:39 +08:00
gVisor bot
322edc166f feat: RESTful API support set tcp-concurrent 2022-05-26 19:49:12 +08:00
gVisor bot
6f2dc0336f feat: RESTful API support update Geo file
and can set update url by user, eg.
geox-url:
  geoip: "http://xxxx/gepip.dat"
  mmdb: "http://xxxx/country.mmdb"
  geosite: "http://xxxx/geosite.dat"
2022-05-24 15:04:13 +08:00
gVisor bot
2a00f57fd9 feat: 安卓恢复进程规则,可通过enable-process开关,默认true 2022-05-19 20:44:09 +08:00
gVisor bot
fb3472c53a fix: Rule-Set中不解析DNS
feat: RULE-SET支持no-resolve
2022-05-18 18:43:44 +08:00
gVisor bot
aa0753ac59 fix: geoip ReverseMatch 2022-05-16 17:06:44 +08:00
gVisor bot
02d30883b6 feat: "!"(not) support for geosite
eg. GEOSITE,!CN,Proxy & dns.fallback-filter.geosite: ['!CN']
2022-05-15 13:16:45 +08:00
gVisor bot
cd8c87aad5 chore: log show all ips when all ips shake hands failed 2022-05-13 21:43:42 +08:00
gVisor bot
7c22b555a8 chore: sniffer give the err to the caller 2022-05-08 09:09:39 +08:00
gVisor bot
83b64eb86e chore: modify sniff error log 2022-05-07 12:44:28 +08:00
gVisor bot
46bf5d2561 fix: DNS mapping error when sniffing result is ip, Discard sniffs that result in ip 2022-05-02 22:24:14 +08:00
gVisor bot
6a3e0c0225 fix: The sniffer does not clean up the original address 2022-05-02 17:09:24 +08:00
gVisor bot
6c4ddeb4ed fix: http sniffer return host that was handled correctly 2022-05-02 09:51:26 +08:00
gVisor bot
41f430e981 chore: adjust sniffer constant 2022-05-02 08:49:18 +08:00
gVisor bot
8ade548ab8 chore: adjust sniffer err info 2022-05-02 05:17:13 +08:00
gVisor bot
5041191a44 feat: sniffer support http 2022-05-02 05:10:18 +08:00
gVisor bot
40259bea76 fix: npe when with resolver is nil 2022-04-29 13:03:55 +08:00
gVisor bot
d1aa6d1431 refactor: tcp concurrent 2022-04-27 21:37:20 +08:00
gVisor bot
6e56205ba6 chore: adjust sniffer log 2022-04-27 18:04:02 +08:00
gVisor bot
746e1382b5 chore: Adjust the tcp-concurrent and sniffer log 2022-04-27 15:22:42 +08:00
gVisor bot
ad67a1c34c Chore: use generics as possible 2022-04-25 13:18:30 +08:00
gVisor bot
b5e7abfa15 fix: whitelist 2022-04-23 09:52:23 +08:00
gVisor bot
7cdbab467f fix: sniffer port whitelist error 2022-04-23 09:36:11 +08:00
gVisor bot
d946a76a0d chore: Adjust the connection IP log 2022-04-23 08:53:51 +08:00
gVisor bot
bb14ae7075 fix: general ipv6 is false should be broke ipv6 conn 2022-04-23 00:30:25 +08:00
gVisor bot
532ec82a08 feat: support tcp concurrent, Separate dialing and dns resolver ipv6
tcp-concurrent:true
2022-04-23 00:27:22 +08:00
gVisor bot
de105c08f6 fix: sniffer 2022-04-22 17:00:39 +08:00
gVisor bot
7b9a24ee08 fix: uid rule only support linux and android 2022-04-22 16:51:01 +08:00
gVisor bot
8054749b40 feat: support uid rule
eg. UID,1000/5000-6000,Proxy
2022-04-22 16:27:51 +08:00
gVisor bot
8695847210 fix: add wait timeout, and log 2022-04-21 08:08:37 -07:00
gVisor bot
03a014957f feat: add sniffer port whitelist, when empty will add all ports 2022-04-21 07:06:08 -07:00
gVisor bot
e2dbbb7cfe Refactor: metadata use netip.Addr 2022-04-20 22:52:05 +08:00
gVisor bot
915f40e71b Chore: IpToAddr 2022-04-20 22:09:16 +08:00
gVisor bot
a4654d30d5 chore: upgrade dependencies 2022-04-20 01:31:33 +08:00
gVisor bot
a84d76fd04 Improve: replace bootstrap dns (#2080) 2022-04-19 22:49:39 +08:00
gVisor bot
caf271a669 Chore: fix typo 2022-04-19 22:38:20 +08:00
gVisor bot
66503d64e3 Chore: persistence fakeip pool state 2022-04-19 22:37:47 +08:00
gVisor bot
b6a134b34c refactor: sniffer param force and reverses deprecated, will be removed when release version, replace force-domain and skip-sni,
force-domain add '+' equivalent to force is true
sniffer:
  enable: true
  force-domain:
    - "google.com"
  skip-sni:
    - www.baidu.com
  sniffing:
    - tls
2022-04-17 20:02:13 +08:00
gVisor bot
6f3aafafe4 Improve: replace bootstrap dns (#2080) 2022-04-16 15:31:26 +08:00
gVisor bot
363f9ff181 fix: domain tree match failed 2022-04-16 11:55:49 +08:00
gVisor bot
566ed821fc fix: domain type fix Mapping 2022-04-16 09:51:31 +08:00
gVisor bot
181d213321 chore: log style 2022-04-16 09:04:43 +08:00
gVisor bot
baac54e8ee fix: reverse error when force is false 2022-04-16 08:53:31 +08:00
gVisor bot
6c56a3b80e feat: add domain list for sniffer, reverse force logic
when force is false, if domain in the list, will force replace
when force is true, if sniff domain in the list, will skip it
2022-04-16 08:21:31 +08:00
gVisor bot
b436af3f4a Fix: SyscallN should not use nargs 2022-04-14 23:37:19 +08:00
gVisor bot
d660df06e8 Fix: make golangci lint support multi GOOS 2022-04-13 17:51:21 +08:00
gVisor bot
d55f77798d chore:adjust sniffer debuglog info 2022-04-13 08:38:55 +08:00
gVisor bot
ebacc76433 Fix: fakeip pool cycle used 2022-04-13 02:19:42 +08:00
gVisor bot
7b22a3bd62 chore: adjust code 2022-04-12 21:39:31 +08:00
gVisor bot
bc33cd5630 Refactor: fakeip pool use netip.Prefix, supports ipv6 range 2022-04-12 20:32:08 +08:00
gVisor bot
895d93b10b chore:merge & adjust code 2022-04-12 20:20:04 +08:00
gVisor bot
89d75e59d1 Refactor: DomainTrie use generics 2022-04-12 18:45:47 +08:00
gVisor bot
b1cf4dc1a2 Refactor: lrucache use generics 2022-04-12 18:44:07 +08:00
gVisor bot
c9a9c49a16 chore: adjust code 2022-04-11 13:23:59 +08:00
gVisor bot
d7d6ed5c70 fix: code logic error 2022-04-10 20:01:35 +08:00
gVisor bot
b2becaffe3 feat: sniffer support
sniffer:
  enable: true
  force: false # Overwrite domain
  sniffing:
    - tls
2022-04-09 22:30:36 +08:00
gVisor bot
2b5e14533b chore: reduce a little memory 2022-04-09 22:24:48 +08:00
gVisor bot
0042b5de3b disable process name on android 2022-04-09 17:54:01 +08:00
gVisor bot
0d1e4405da Merge remote-tracking branch 'Plus/with-tun' into Alpha 2022-04-02 20:48:11 +08:00
gVisor bot
ee3f94425e feat: 添加tls sni 嗅探
# Conflicts:
#	tunnel/statistic/tracker.go
#	tunnel/tunnel.go
2022-03-31 21:27:25 +08:00
gVisor bot
1c4e024030 Chore: revert "Feature: add tls SNI sniffing (#68)"
This reverts commit 24ce6622a2.
2022-03-31 21:20:46 +08:00
gVisor bot
016d88e5ea Feature: add tls SNI sniffing (#68) 2022-03-31 19:34:40 +08:00
gVisor bot
05125430dd Merge remote-tracking branch 'Pro-Plus/with-tun' into Alpha
# Conflicts:
#	README.md
#	adapter/outbound/trojan.go
#	adapter/outbound/vless.go
#	transport/trojan/trojan.go
2022-03-30 13:15:45 +08:00
gVisor bot
67d04485ca Refactor: MainResolver 2022-03-28 00:44:13 +08:00
gVisor bot
eea2e3def9 [commit]
[Feat] add Pass type for support temporary skip rule set
2022-03-27 23:44:51 +08:00
gVisor bot
17da2d36a5 Chore: regenerate protoc file 2022-03-27 07:12:12 +08:00
gVisor bot
31708f1e74 [Fixed]
弃用过期函数,修复Process Name获取问题
2022-03-26 16:17:44 +08:00
gVisor bot
00b632e032 build test 2022-03-24 23:42:49 +08:00
gVisor bot
a52743bd28 [SKIP CI]
Merge remote-tracking branch 'Pro-Plus/with-tun' into Alpha

# Conflicts:
#	README.md
#	hub/route/server.go
2022-03-23 13:23:34 +08:00
gVisor bot
c38ae18a59 Feature: flush fakeip pool 2022-03-23 01:05:43 +08:00
gVisor bot
9b48fc9d8d Merge branch 'ogn-dev' into with-tun 2022-03-20 21:26:25 +08:00
gVisor bot
29b8076c75 Merge remote-tracking branch 'yaling888/with-tun' into Alpha
# Conflicts:
#	listener/tun/tun_adapter.go
2022-03-19 22:37:51 +08:00
gVisor bot
14a9087538 Merge remote-tracking branch 'clash/dev' into Alpha
# Conflicts:
#	Makefile
2022-03-19 14:53:47 +08:00
gVisor bot
90b7714f2c Chore: fix typo (#2033) 2022-03-19 13:58:51 +08:00
gVisor bot
f18800de42 [内容]
1.autoIptables 开关
2.go.mod 调整
3.processName 调整
4.makefile 调整
5.Tun模块 部分代码调整
2022-03-19 01:11:27 +08:00
gVisor bot
598ec35701 Chore: make fake ip pool start with the third ip 2022-03-18 05:17:47 +08:00
gVisor bot
2e68885dc7 Merge remote-tracking branch 'upstream/Alpha' into Alpha 2022-03-17 23:40:51 +08:00
gVisor bot
b8c9a1bf6d update 2022-03-17 23:24:07 +08:00
gVisor bot
3dc7fb7e27 [Fix] Process name display for Android 2022-03-17 20:31:16 +08:00
gVisor bot
db31cfbd7f Merge remote-tracking branch 'yaling888/with-tun' into Alpha
# Conflicts:
#	.github/workflows/codeql-analysis.yml
#	.github/workflows/linter.yml
#	.github/workflows/release.yml
#	Makefile
#	README.md
#	adapter/outbound/vless.go
#	component/geodata/memconservative/cache.go
#	component/geodata/router/condition.go
#	component/geodata/router/condition_geoip.go
#	component/geodata/standard/standard.go
#	component/geodata/utils.go
#	config/config.go
#	config/initial.go
#	constant/metadata.go
#	constant/path.go
#	constant/rule.go
#	constant/rule_extra.go
#	dns/client.go
#	dns/filters.go
#	dns/resolver.go
#	go.mod
#	go.sum
#	hub/executor/executor.go
#	hub/route/configs.go
#	listener/listener.go
#	listener/tproxy/tproxy_linux_iptables.go
#	listener/tun/dev/dev.go
#	listener/tun/dev/dev_darwin.go
#	listener/tun/dev/dev_linux.go
#	listener/tun/dev/dev_windows.go
#	listener/tun/dev/wintun/config.go
#	listener/tun/dev/wintun/dll_windows.go
#	listener/tun/dev/wintun/session_windows.go
#	listener/tun/dev/wintun/wintun_windows.go
#	listener/tun/ipstack/commons/dns.go
#	listener/tun/ipstack/gvisor/tun.go
#	listener/tun/ipstack/gvisor/tundns.go
#	listener/tun/ipstack/gvisor/utils.go
#	listener/tun/ipstack/stack_adapter.go
#	listener/tun/ipstack/system/dns.go
#	listener/tun/ipstack/system/tcp.go
#	listener/tun/ipstack/system/tun.go
#	listener/tun/tun_adapter.go
#	main.go
#	rule/common/base.go
#	rule/common/domain.go
#	rule/common/domain_keyword.go
#	rule/common/domain_suffix.go
#	rule/common/final.go
#	rule/common/geoip.go
#	rule/common/geosite.go
#	rule/common/ipcidr.go
#	rule/common/port.go
#	rule/parser.go
#	rule/process.go
#	test/go.mod
#	test/go.sum
#	transport/vless/xtls.go
#	tunnel/tunnel.go
2022-03-17 17:41:02 +08:00
gVisor bot
9ef90782ce Chore: use gateway address of fake ip pool as the TUN device address 2022-03-17 07:41:18 +08:00
gVisor bot
50ab57c72e Merge remote-tracking branch 'clash/dev' into Alpha
# Conflicts:
#	.github/workflows/docker.yml
#	adapter/outboundgroup/fallback.go
#	adapter/outboundgroup/loadbalance.go
#	adapter/outboundgroup/relay.go
#	adapter/outboundgroup/selector.go
#	adapter/outboundgroup/urltest.go
#	config/config.go
#	go.mod
#	go.sum
#	main.go
#	test/go.mod
#	test/go.sum
2022-03-17 01:41:51 +08:00
gVisor bot
446fd99436 Chore: Merge branch 'ogn-dev' into with-tun 2022-03-16 20:16:30 +08:00
gVisor bot
907c68c9cb Migration: go 1.18 2022-03-16 12:10:13 +08:00
gVisor bot
f7759c1468 Merge remote-tracking branch 'clash/dev' into Alpha
# Conflicts:
#	.github/workflows/codeql-analysis.yml
#	.github/workflows/docker.yml
#	.github/workflows/linter.yml
#	.github/workflows/stale.yml
#	Makefile
#	component/dialer/dialer.go
#	config/config.go
#	constant/metadata.go
#	constant/rule.go
#	rule/common/domain.go
#	rule/common/domain_keyword.go
#	rule/common/domain_suffix.go
#	rule/common/final.go
#	rule/common/ipcidr.go
#	rule/geoip.go
#	rule/parser.go
#	rule/port.go
#	rule/process.go
2022-03-15 23:13:41 +08:00
gVisor bot
440b54ab22 [Skip CI] 2022-03-15 22:25:33 +08:00
gVisor bot
4784d739ec Fix: test 2022-03-15 03:39:45 +08:00
gVisor bot
4893e20c0b Fix: exclude the broadcast address to fake ip pool 2022-03-15 02:43:40 +08:00
gVisor bot
e855cefc13 [Skip CI] 2022-03-15 02:20:19 +08:00
gVisor bot
64bf2454b6 [Skip CI] 2022-03-15 02:06:57 +08:00
gVisor bot
dc0339e399 Chore: embed the RuleExtra into Base 2022-03-13 01:22:05 +08:00
gVisor bot
7a631002c6 Chore: Merge branch 'ogn-dev' into with-tun 2022-03-13 01:15:35 +08:00
gVisor bot
14b581cd8d Chore: move find connection process to tunnel (#2016) 2022-03-12 19:07:53 +08:00
gVisor bot
f99dceee26 Chore: add more details to process resolving (#2017) 2022-03-09 13:41:50 +08:00
gVisor bot
0175b103d0 Chore: refactor TUN 2022-03-09 05:08:35 +08:00
gVisor bot
df6d6496df Merge branch 'ogn-dev' into with-tun 2022-03-09 00:30:38 +08:00
gVisor bot
8ef09e3af8 Fix: should split linux process name with space (#2008) 2022-03-05 18:25:16 +08:00
gVisor bot
36c61d8074 Fix: find process name by UDP network on macOS 2022-02-23 14:04:47 +08:00
gVisor bot
e5358cd03a Feature: resolve ip with a proxy adapter 2022-02-23 02:38:50 +08:00
gVisor bot
7f0de1861a Merge from remote branch 2022-02-23 01:00:27 +08:00
gVisor bot
ef86484c70 Chore: use golangci-lint config file 2022-02-19 00:08:51 +08:00
gVisor bot
47359cc80f Fix: routing-mark should effect on root 2022-02-17 14:23:47 +08:00
gVisor bot
f5933b91f1 [build] 2022-02-06 01:59:35 +08:00
gVisor bot
e3a61dbbd3 [FEAT] Add geodata loader mode switch 2022-02-05 00:51:06 +08:00
gVisor bot
c57d92d7c1 [Feat]
support trojan xtls
change geodataloader mode as memconservative
2022-02-04 23:33:36 +08:00
gVisor bot
0aead76a23 [Feat]
update gvisor
Chore: use "-m mark --mark" instead of "-m owner --uid-owner"
2022-02-04 06:11:24 +08:00
gVisor bot
15ed2ca588 Merge remote-tracking branch 'pro-plus/plus-pro' into Feature
# Conflicts:
#	.github/workflows/Alpha.yml
#	.github/workflows/codeql-analysis.yml
#	.github/workflows/docker.yml
#	.github/workflows/linter.yml
#	.github/workflows/stale.yml
#	Makefile
#	README.md
#	adapter/outbound/vless.go
#	component/dialer/dialer.go
#	component/geodata/geodata.go
#	component/geodata/router/condition.go
#	config/config.go
#	config/initial.go
#	constant/metadata.go
#	constant/path.go
#	constant/rule.go
#	constant/rule_extra.go
#	dns/filters.go
#	go.mod
#	go.sum
#	hub/executor/executor.go
#	hub/route/configs.go
#	listener/listener.go
#	listener/tun/dev/dev.go
#	listener/tun/dev/dev_darwin.go
#	listener/tun/dev/dev_linux.go
#	listener/tun/dev/dev_windows.go
#	listener/tun/dev/dev_windows_extra.go
#	listener/tun/dev/wintun/dll_windows.go
#	listener/tun/dev/wintun/session_windows.go
#	listener/tun/ipstack/gvisor/tun.go
#	listener/tun/ipstack/gvisor/tundns.go
#	listener/tun/ipstack/stack_adapter.go
#	listener/tun/ipstack/system/tun.go
#	listener/tun/tun_adapter.go
#	main.go
#	rule/base.go
#	rule/common/process.go
#	rule/geoip.go
#	rule/parser.go
#	rule/port.go
#	test/go.mod
#	test/go.sum
#	test/vless_test.go
#	transport/vless/xtls.go
#	tunnel/tunnel.go
2022-02-04 05:30:21 +08:00
gVisor bot
aa9f8bf28e [Feat]
update gvisor
Chore: use "-m mark --mark" instead of "-m owner --uid-owner"
2022-02-04 04:47:40 +08:00
gVisor bot
c6b8705096 Merge remote-tracking branch 'clash/dev' into Feature 2022-02-04 02:38:32 +08:00
gVisor bot
fdb0a3f5a8 Chore: use "-m mark --mark" instead of "-m owner --uid-owner" 2022-02-02 21:59:44 +08:00
gVisor bot
6db466fa80 Merge from remote branch 2022-01-28 19:51:40 +08:00
gVisor bot
300b73da50 Fix: domain trie search 2022-01-26 22:28:13 +08:00
gVisor bot
09ffc53d95 [chore] Replace Country.mmdb with GeoIP.dat 2022-01-26 12:01:14 +08:00
gVisor bot
fd5852ce1c Merge from remote branch 2022-01-05 01:46:37 +08:00
gVisor bot
4208d48a9d Merge remote-tracking branch 'clash/dev' into Meta
# Conflicts:
#	.github/workflows/docker.yml
#	dns/server.go
#	go.mod
#	go.sum
#	hub/executor/executor.go
#	test/go.mod
#	test/go.sum
2022-01-04 17:31:07 +08:00
gVisor bot
85f1b22340 Fix: multiple port string parsing overflow (#1868)
Ports in TCP and UDP should be parsed as an unsigned integer,
otherwise ports > 32767 get truncated to 32767. As this is
the case with Metadata.UDPAddr(), this fundamentally breaks
UDP connections where demand for high port numbers is high.

This commit fixes all known cases where ParseInt is used for ports,
and has been verified to fix Discord voice connections on port
50001~50004.

Fixes: d40e5e4fe6

Co-authored-by: Hamster Tian <haotia@gmail.com>
2022-01-02 01:09:29 +08:00
gVisor bot
6fa3953335 Chore: remove forward compatible code 2022-01-02 00:48:57 +08:00
gVisor bot
a7d32607ce Merge from remote branch 2021-12-09 21:38:24 +08:00
gVisor bot
590565f5c1 Feature:Supported Rule-Set 2021-12-02 22:56:17 +08:00
gVisor bot
c5257c5190 [style] 2021-12-01 16:51:31 +08:00
gVisor bot
c7aaec5c78 Revert "[test] rule providers"
This reverts commit 078389f4f6.
2021-11-26 00:57:41 +08:00
gVisor bot
e52c111ae0 [test] rule providers 2021-11-25 23:14:31 +08:00
gVisor bot
d5558aad2c Fix: fakeip pool cycle used 2021-11-23 22:01:49 +08:00
gVisor bot
c32c29b203 fix python310 2021-11-21 15:09:22 +08:00
gVisor bot
e69c54cfcd [test] 2021-11-17 16:03:47 +08:00
gVisor bot
24cadc4b3e Merge from remote branch 2021-11-11 00:54:43 +08:00
gVisor bot
d6454f36bf Fix: bind iface should throw control error 2021-11-10 22:19:11 +08:00