Commit graph

718 commits

Author SHA1 Message Date
gVisor bot
4f7bf172ce Chore: update dependencies 2022-01-02 01:15:49 +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
074c28f0bd Chore: ReCreate* do side effect job (#1849) 2021-12-26 22:08:53 +08:00
gVisor bot
4b8a1cdb08 Chore: remove reduce regex compile (#1855) 2021-12-26 20:47:12 +08:00
gVisor bot
e1fe9c6157 Fix: when both providers and proxies are present, use the health check configuration for proxies (#1821)
Co-authored-by: Ho <ho@fluidex.com>
2021-12-12 20:37:30 +08:00
gVisor bot
4d8017574c Chore: builtin right mime of .js (#1808) 2021-12-08 13:38:25 +08:00
gVisor bot
4fbb6d6fca Feature: add linux/arm/v6 for the container image (#1771) 2021-12-02 21:12:45 +08:00
gVisor bot
d5558aad2c Fix: fakeip pool cycle used 2021-11-23 22:01:49 +08:00
gVisor bot
76fe2b0bb8 Fix: provider filter potential panic 2021-11-21 17:44:03 +08:00
gVisor bot
ca43efdaaa Feature: add filter on proxy provider (#1511) 2021-11-20 23:38:49 +08:00
gVisor bot
9f8324e9e3 Fix: should return io.EOF immediately 2021-11-20 12:44:31 +08:00
gVisor bot
8e330640ea Change: use nop packet conn for reject 2021-11-20 12:34:14 +08:00
gVisor bot
a5f270e40e Fix: revert ssr udp fix 2021-11-14 14:48:00 +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
a226cba447 Chore: update dependencies and rename profile props 2021-11-08 20:48:29 +08:00
gVisor bot
fa244e6cfd Feature: mark on socket (#1705) 2021-11-08 16:59:48 +08:00
gVisor bot
a3189021a5 Fix: parse dial interface option 2021-11-08 13:31:08 +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
cc9ff5ccd7 Chore: adjust all udp alloc size 2021-11-03 22:29:24 +08:00
gVisor bot
c964c4901c Chore: use uber max procs 2021-10-27 21:27:19 +08:00
gVisor bot
4d79fe1706 Fix: remove ResponseHeaderTimeout limitation (#1690) 2021-10-20 13:44:05 +08:00
gVisor bot
3d3f1df3b9 Chore: use alpn http 1.1 only on trojan websocket by default 2021-10-19 22:34:18 +08:00
gVisor bot
285ac79771 Fix: set dnsmode behavior 2021-10-18 23:03:25 +08:00
gVisor bot
a40706ba21 Fix: unexpected proxy dial behavior on mapping mode 2021-10-18 21:08:27 +08:00
gVisor bot
237fc5f785 Fix: replace vmess grpc test image 2021-10-16 20:35:06 +08:00
gVisor bot
1b7ad8f494 Feature: support trojan websocket 2021-10-16 20:19:59 +08:00
gVisor bot
50a2222cd2 Chore: contexify ProxyAdapter ListenPacket 2021-10-15 21:44:53 +08:00
gVisor bot
2eaf46e6d5 Change: use interface HardwareAddr for dhcp discovery 2021-10-14 22:54:43 +08:00
gVisor bot
088b281a6a Fix: #1660 panic 2021-10-11 21:05:38 +08:00
gVisor bot
d7e31932c7 Feature: persistence fakeip (#1662) 2021-10-11 20:48:58 +08:00
gVisor bot
81c327192c Chore: actions split lint and release 2021-10-11 20:08:18 +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
90e2f5cb53 Chore: doh request should with id 0 (#1660) 2021-10-07 22:57:55 +08:00
gVisor bot
60bb29bade Fix: cache kv db should not block on init 2021-10-05 22:47:26 +08:00
gVisor bot
a50a642f01 Fix: dhcp client should request special interface 2021-10-05 13:31:19 +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
fda2b71ac2 Fix: http proxy should response correct http version (#1651) 2021-09-30 16:30:07 +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
b17d8b661d Chore: update README.md 2021-09-20 17:22:40 +08:00
gVisor bot
4b983563d4 Chore: force set latest go version to action 2021-09-18 00:18:47 +08:00
gVisor bot
66c369827f Fix: use 1.17.x on github actions 2021-09-15 20:21:30 +08:00
gVisor bot
da95b27da6 Fix: socks4 request continues after authentication failed (#1624) 2021-09-15 16:45:57 +08:00
gVisor bot
0427b76fc9 Fix: http/https proxy authentication (#1613) 2021-09-14 00:08:23 +08:00
gVisor bot
ee4ee2751e Fix: potential pitfalls 2021-09-13 23:58:48 +08:00