Commit Graph

142 Commits

Author SHA1 Message Date
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 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 d6454f36bf Fix: bind iface should throw control error 2021-11-10 22:19:11 +08:00
gVisor bot f0e12a1285 Fix: windows arm7 build 2021-11-08 21:24:39 +08:00
gVisor bot fa244e6cfd Feature: mark on socket (#1705) 2021-11-08 16:59:48 +08:00
gVisor bot af069e3340 Fix: codeql alerts 2021-11-08 00:32:21 +08:00
gVisor bot 2762c33ad3 Feature: dial different NIC for all proxies (#1714) 2021-11-07 16:48:51 +08:00
gVisor bot 2eaf46e6d5 Change: use interface HardwareAddr for dhcp discovery 2021-10-14 22:54:43 +08:00
gVisor bot d7e31932c7 Feature: persistence fakeip (#1662) 2021-10-11 20:48:58 +08:00
gVisor bot 653f2de2c0 Style: use gofumpt for fmt 2021-10-10 23:44:09 +08:00
gVisor bot 0ebd7b6949 Chore: remove deprecated ioutil 2021-10-09 20:35:06 +08:00
gVisor bot 60bb29bade Fix: cache kv db should not block on init 2021-10-05 22:47:26 +08:00
gVisor bot 7f798f26ed Chore: add remove TODO 2021-10-05 12:42:21 +08:00
gVisor bot cbaebd45db Change: use bbolt as cache db 2021-10-04 19:20:11 +08:00
gVisor bot da551ac737 Feature: add dhcp type dns client (#1509) 2021-09-06 23:07:34 +08:00
gVisor bot 38bf28b439 Migration: go 1.17 2021-08-18 13:26:23 +08:00
gVisor bot 7246f25c07 Chore: use iife replace init in some cases 2021-07-11 19:43:25 +08:00
gVisor bot 4c477510c3 Chore: use unix.ByteSliceToString transform cstring 2021-06-15 21:03:47 +08:00
gVisor bot a409e7f2aa Feature: dns resolve domain through nameserver-policy (#1406) 2021-05-19 11:17:35 +08:00
gVisor bot 7b080217bd Chore: split component to transport 2021-05-13 22:19:34 +08:00
gVisor bot 226e6d1b4d Fix: io timeout when snell v2 reuse connection (#1362) 2021-04-19 14:36:06 +08:00
gVisor bot ff31722d77 Fix: grpc transport concurrent write 2021-04-14 21:46:05 +08:00
gVisor bot dfe601b377 Feature: PROCESS-NAME support freebsd 13, fix panic on unsupported platforms (#1351) 2021-04-14 17:57:17 +08:00
gVisor bot 60c40be85a Fix: use bufio.Reader on grpc to avoid panic 2021-04-14 00:16:59 +08:00
gVisor bot 5db5780d91 Fix: grpc implementation SetDeadline for udp issue 2021-04-13 23:34:33 +08:00
gVisor bot 85be8690c0 Fix: vmess aead writer concurrent write (#1350) 2021-04-13 23:32:53 +08:00
gVisor bot 887752e8f1 Fix: grpc transport panic 2021-04-09 18:11:07 +08:00
gVisor bot 270e587515 Fix: remove unused function 2021-04-08 22:27:41 +08:00
gVisor bot f6a154087e Fix: trojan/vmess grpc broken 2021-04-07 22:57:46 +08:00
gVisor bot 709287e74b Chore: some chores 2021-04-05 13:31:10 +08:00
gVisor bot 9f7cf76256 Chore: refine go import 2021-04-05 13:00:49 +08:00
gVisor bot 7fedfb30f0 Fix: domain dns should follow hosts config, close #1318 2021-04-01 21:20:44 +08:00
gVisor bot 4e68b6cd3d Fix: don't resolve AAAA record when ipv6 is false and use go dns resolver 2021-04-01 18:03:30 +08:00
gVisor bot 20e6e5296b Feature: add vmess aead header support 2021-03-30 17:34:16 +08:00
gVisor bot 1860de9362 Style: cleanup code 2021-03-24 01:00:21 +08:00
gVisor bot 5842c94b17 Fix: grpc connection panic 2021-03-18 23:19:00 +08:00
gVisor bot 764e469ada Feature: add gRPC Transport for vmess/trojan (#1287)
Co-authored-by: eMeab <32988354+eMeab@users.noreply.github.com>
Co-authored-by: Dreamacro <8615343+Dreamacro@users.noreply.github.com>
2021-03-18 19:40:34 +08:00
gVisor bot ff2b7f8d77 Fix: vmess http broken 2021-03-18 17:11:10 +08:00
gVisor bot b2e4a0b63d Fix: store cache correctly 2021-02-21 01:07:22 +08:00
gVisor bot d4fffbdbb5 Feature: support store group selected node to cache (enable by default) 2021-02-18 23:41:50 +08:00
gVisor bot e41d0639ed Improve: refactor ssr and fix #995 (#1189)
Co-authored-by: goomada <madao@DESKTOP-IOEBS0C.localdomain>
2021-02-15 14:32:03 +08:00
gVisor bot 71eaba8d38 Fix: connectivity of ssr auth_chain_(ab) protocol (#1180) 2021-01-13 23:35:41 +08:00