Commit Graph

151 Commits

Author SHA1 Message Date
gVisor bot
01cea757df fix: ss/ssr URI Scheme 解析问题 2022-06-15 03:03:26 +08:00
gVisor bot
62406e6d71 Chore: adjust Relay copy memory alloc logic 2022-06-11 20:38:16 +08:00
gVisor bot
0bd925db78 fix: Vmess URI Scheme 解析问题 2022-06-10 03:15:30 +08:00
gVisor bot
a233980a8f chore: make linter happy 2022-06-09 17:57:53 +08:00
gVisor bot
a7006f17e8 fix: hysteria URI Scheme 解析问题 2022-06-09 00:22:47 +08:00
gVisor bot
eb30c21e4a feat: 代理集支持 Hysteria 分享格式订阅解析 2022-06-08 01:50:14 +08:00
gVisor bot
2d16e6d021 chore: refine code 2022-06-08 01:47:50 +08:00
gVisor bot
6f1a3e4d26 fix: 代理集转换ws类型
feat: 新增grpc h2 http 等支持
2022-06-07 03:17:33 +08:00
gVisor bot
aa76324ac6 feat: add support for shadowsocks 2022 ciphers 2022-06-06 19:56:36 +08:00
gVisor bot
8479c2fd4c Feature: add V2Ray subscription support to proxy provider 2022-06-05 15:59:47 +08:00
gVisor bot
5953a4cfb5 refactor: 抽离http请求方法 2022-06-04 19:14:39 +08:00
gVisor bot
9b365f6c05 Chore: make linter happy 2022-05-17 19:58:33 +08:00
gVisor bot
5fd025cbe3 fix: uuid-map return failed error 2022-05-14 23:45:10 +08:00
gVisor bot
c4d41345df fixed: make log api unblocked 2022-05-09 18:54:00 +08:00
gVisor bot
e16bc3fa53 fix: remove misjudgment 2022-05-07 12:53:13 +08:00
gVisor bot
c743e82a00 refactor: reuse uuid namespace 2022-05-07 12:35:14 +08:00
gVisor bot
1eefd46eb5 Fix: decode nil value in slice decoder (#2102) 2022-05-07 11:00:58 +08:00
gVisor bot
00c19b859e refactor: string map to uuidv5 2022-05-06 14:02: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
746e1382b5 chore: Adjust the tcp-concurrent and sniffer log 2022-04-27 15:22:42 +08:00
gVisor bot
4aaa9f8ca8 Fix: http proxy Upgrade behavior (#2097) 2022-04-27 12:38:31 +08:00
gVisor bot
eaca213ea7 Fix: http proxy Upgrade behavior (#2097) 2022-04-25 19:50:20 +08:00
gVisor bot
ad67a1c34c Chore: use generics as possible 2022-04-25 13:18:30 +08: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
915f40e71b Chore: IpToAddr 2022-04-20 22:09:16 +08:00
gVisor bot
06b780f5cc Refactor: queue use generics 2022-04-12 18:44:13 +08:00
gVisor bot
58c7157f71 Refactor: cache use generics 2022-04-12 18:44:10 +08:00
gVisor bot
b1cf4dc1a2 Refactor: lrucache use generics 2022-04-12 18:44:07 +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
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
4fe3b781b0 [Chore]升级项目依赖
[Chore]隐藏TUN模式在system堆栈启动时弹窗
2022-03-28 19:48:32 +08:00
gVisor bot
4a8d4671b0 Chore: merge branch 'ogn-dev' into with-tun 2022-03-27 00:27:05 +08:00
gVisor bot
3972c42873 Merge remote-tracking branch 'dev/dev' into Alpha 2022-03-26 16:27:17 +08:00
gVisor bot
8fbba87bbb Chore: structure support weakly type from float to int (#2042) 2022-03-25 15:22:31 +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
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
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
0175b103d0 Chore: refactor TUN 2022-03-09 05:08:35 +08:00
gVisor bot
6a78bca9fb [Feature]
1.Add Network rule, match network type(TCP/UDP)
2.Add logic rules(NOT,OR,AND)
-AND,((DOMAIN,baidu.com),(NETWORK,UDP)),REJECT

(cherry picked from commit d7092e2e37f2c48282c878edea1b2ebc2912b09a)
2022-01-22 22:37:07 +08:00
gVisor bot
0a96994452 [Refactor] gvisor support hijack dns list
dns-hijack:
 - 1.1.1.1
 - 8.8.8.8:53
 - tcp://1.1.1.1:53
 - udp://223.5.5.5
 - 10.0.0.1:5353
2022-01-09 00:35:45 +08:00
gVisor bot
e1a1f87dd4 [Style] Add User-Agent for provider request 2021-12-26 22:26:53 +08:00
gVisor bot
a3189021a5 Fix: parse dial interface option 2021-11-08 13:31:08 +08:00
gVisor bot
cc9ff5ccd7 Chore: adjust all udp alloc size 2021-11-03 22:29:24 +08:00
gVisor bot
653f2de2c0 Style: use gofumpt for fmt 2021-10-10 23:44:09 +08:00
gVisor bot
24b388f4dd Improve: avoid bufconn twice (#1650) 2021-09-28 23:15:53 +08:00
gVisor bot
0be9c2ae4a Improve: use one bytes.Buffer pool 2021-09-20 21:02:18 +08:00
gVisor bot
38bf28b439 Migration: go 1.17 2021-08-18 13:26:23 +08:00
gVisor bot
44360ef29b Chore: adjust batch 2021-07-23 00:30:23 +08:00
gVisor bot
b926902a22 Fix: limit concurrency number of provider health check 2021-07-21 17:01:15 +08:00
gVisor bot
7246f25c07 Chore: use iife replace init in some cases 2021-07-11 19:43:25 +08:00
gVisor bot
225c875ed4 Refactor: plain http proxy (#1443) 2021-06-15 17:13:40 +08:00
gVisor bot
633de52aee Fix: wrap net.Conn to avoid using *net.TCPConn.(ReadFrom) (#1209) 2021-02-01 20:06:45 +08:00
gVisor bot
c744fa8f05 Fix: tunnel manager & tracker race condition (#1048) 2020-10-29 17:51:14 +08:00
gVisor bot
4d68d20b7b Chore: deprecated eapache/channels 2020-10-20 17:44:39 +08:00
gVisor bot
4f3d3dbe6e Chore: fix typo (#1017) 2020-10-14 19:56:02 +08:00
gVisor bot
623d261932 Chore: sync necessary changes from premium 2020-09-21 22:22:07 +08:00
gVisor bot
1a4d0ab21c Feature: reuse dns resolver cache when hot reload 2020-08-31 00:32:18 +08:00
gVisor bot
6ca03f5a90 Chore: pass staticcheck 2020-08-25 22:19:59 +08:00
gVisor bot
61eee9f217 Improve: fix go test race detect 2020-07-18 20:56:13 +08:00
gVisor bot
7e5a24ebd2 Feature: implemented a strategy similar to optimistic DNS (#647) 2020-05-07 15:10:14 +08:00
gVisor bot
28d6e3aac6 Fix: make selector react immediately 2020-04-30 20:13:27 +08:00
gVisor bot
0b60be9438 Improve: pool buffer alloc 2020-04-25 00:30:40 +08:00
gVisor bot
b033dd0369 Chore: picker support get first error 2020-04-16 18:31:40 +08:00
gVisor bot
af00355b28 Fix: set SO_REUSEADDR for UDP listeners on linux (#630) 2020-04-11 21:45:56 +08:00
gVisor bot
d781813212 Fix: config parse panic 2020-03-19 11:04:56 +08:00
gVisor bot
8c463cee00 Fix: use the fastest whether the result is successful 2020-02-14 16:36:20 +08:00
gVisor bot
0c82ab8cdf Chore: use custom dialer 2020-02-09 17:02:48 +08:00
gVisor bot
713c8a2c40 Fix: upstream dns ExchangeContext workaround (#468) 2020-01-10 14:13:44 +08:00
gVisor bot
9eff6c4465 Fix: singledo panic 2019-12-10 16:26:15 +08:00
gVisor bot
6a141b711d Change: proxy gruop strategy improvement 2019-12-10 15:07:01 +08:00
gVisor bot
ecc943997d Feature: add experimental provider 2019-12-08 12:17:24 +08:00
gVisor bot
6b3a92e7f2 Feature: lru cache add evict callback 2019-12-05 00:17:24 +08:00
gVisor bot
b9883e8fad Fix: refactor observable to solve a small-probability crash 2019-10-30 15:43:55 +08:00
gVisor bot
f7f76fb8b6 Chore: code style improvements (#361) 2019-10-14 17:13:23 +08:00
gVisor bot
06e1f31a89 Fix: urltest get fastest node ehavior (#326) 2019-10-12 23:29:00 +08:00
gVisor bot
312cf18e1c Fix: fakeip missing host 2019-10-11 14:01:16 +08:00
gVisor bot
462b617df7 Fix: use correctly last record 2019-09-26 10:08:50 +08:00
gVisor bot
24bd2afbd8 Improve(fakeip): use lru cache to avoid outdate 2019-07-26 19:09:13 +08:00
gVisor bot
eba263a731 Fix(picker): add WithTimeout for some situation 2019-07-18 00:12:01 +08:00
gVisor bot
f027c3e540 Optimization: refactor picker 2019-07-02 19:18:03 +08:00
gVisor bot
05349cec03 Style: fix go vet warning 2019-05-26 13:55:13 +08:00
gVisor bot
c02b16b446 Feature: socks5 udp associate 2019-04-23 23:30:13 +08:00
gVisor bot
041702aac6 Fix: crash when key value is nil 2019-03-25 20:42:20 +08:00
gVisor bot
6978963270 Feature: add delay history and improve url-test behavior 2019-03-17 14:52:39 +08:00
gVisor bot
0d9bbcc50c Feature: add load-balance group 2019-02-15 14:25:20 +08:00
gVisor bot
2500169447 Feature: add v2ray-plugin 2019-02-11 15:25:39 +08:00
gVisor bot
cac0fbaa5c Fix: shadow variable 2019-01-30 20:22:52 +08:00
gVisor bot
7814168386 Fix: DNS server returns the correct TTL 2019-01-25 15:38:14 +08:00
gVisor bot
225843fe7d Feature: add websocket headers support in vmess 2018-12-11 00:25:05 +08:00
gVisor bot
81ade5cfca Feature: add custom DNS support (#56) 2018-12-05 21:13:29 +08:00
gVisor bot
6697d2b59e Feat: add structure helper 2018-09-30 16:30:11 +08:00
gVisor bot
f73013006a Chore: make the code more semantic 2018-09-30 12:25:52 +08:00
gVisor bot
42b9e0c9e7 Feature: add shadowsocks simple-obfs support 2018-09-16 23:02:32 +08:00
gVisor bot
050c236e78 Feature: support vmess tls mode 2018-09-08 19:53:24 +08:00