Commit Graph

47 Commits

Author SHA1 Message Date
gVisor bot
ee13bbd9cf Fix: drop UDP packet which mismatched destination for VMess (#2410)
Co-authored-by: SUN Sizhe <sunsizhe@cmi.chinamobile.com>
2022-11-26 11:27:24 +08:00
gVisor bot
350fe79865 Fix: a shared fastSingle.Do() may cause providers untouched (#2378) 2022-11-04 13:11:01 +08:00
gVisor bot
20b9406df2 Chore: http2 should use DialTLSContext and some tls handshake should with context 2022-08-13 12:35:39 +08:00
gVisor bot
5b51b8f727 Change: remove AddrType on Metadata (#2199) 2022-07-05 20:26:43 +08:00
gVisor bot
761e9cb69a Chore: load balance hash need to have fallback strategy 2022-07-04 21:36:33 +08:00
gVisor bot
2a01a0b583 Chore: cleanup code 2022-06-30 17:12:06 +08:00
gVisor bot
192ae06fe5 Fix: proxy provider filter validation (#2198) 2022-06-30 17:08:53 +08:00
gVisor bot
dc18026481 Chore: embed shadowsocks2 2022-06-01 21:43:20 +08:00
gVisor bot
649177855a Chore: upgrade to yaml v3 2022-05-26 17:47:05 +08:00
gVisor bot
c75b4e045a Chore: add none alias to dummy on ShadowsocksR (#2056) 2022-04-13 10:06:06 +08:00
gVisor bot
87164f52af Fix: routing-mark option doesn't work on proxies (#2028) 2022-03-19 13:29:30 +08:00
gVisor bot
907c68c9cb Migration: go 1.18 2022-03-16 12:10:13 +08:00
gVisor bot
14a453b1b1 Improve: change provider file modify time when updated (#1918) 2022-01-18 13:32:47 +08:00
gVisor bot
70c8e6e1ba Feature: support snell v3 (#1884) 2022-01-10 20:24:20 +08:00
gVisor bot
91c5381222 Fix: duplicate provider err typo 2022-01-03 17:21:27 +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
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
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
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
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
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
7f798f26ed Chore: add remove TODO 2021-10-05 12:42:21 +08:00
gVisor bot
fb357d1dc7 Fix: should not trust address of http.Client (#1616) 2021-09-13 23:46:39 +08:00
gVisor bot
9c46fabbe4 Fix: vmess ws headers not set properly (#1595) 2021-09-08 14:44:24 +08:00
gVisor bot
da551ac737 Feature: add dhcp type dns client (#1509) 2021-09-06 23:07:34 +08:00
gVisor bot
df4b919f8f Feature: skip DIRECT proxies in relay (#1583) 2021-09-06 21:39:28 +08:00
gVisor bot
d99920a3e6 Feature: add vmess WebSocket early data (#1505)
Co-authored-by: ShinyGwyn <79344143+ShinyGwyn@users.noreply.github.com>
2021-08-22 00:25:29 +08:00
gVisor bot
44360ef29b Chore: adjust batch 2021-07-23 00:30:23 +08:00
gVisor bot
4e38de95f2 Fix: incorrect use batch 2021-07-21 23:53:31 +08:00
gVisor bot
b926902a22 Fix: limit concurrency number of provider health check 2021-07-21 17:01:15 +08:00
gVisor bot
7fa486ea4c Chore: logging remote port on request (#1494) 2021-07-19 15:31:38 +08:00
gVisor bot
cd6cd3880d Fix: staticcheck error 2021-07-06 00:33:13 +08:00
gVisor bot
e259cea893 Chore: move provider interface to constant 2021-07-06 00:31:13 +08:00
gVisor bot
089faa30a5 Fix: remove ClientSessionCache and add NextProtos for vmess to fix #1468 2021-07-03 20:34:44 +08:00
gVisor bot
225c875ed4 Refactor: plain http proxy (#1443) 2021-06-15 17:13:40 +08:00
gVisor bot
45f439c77f chore: expose udp field to proxies API (#1441) 2021-06-10 15:08:33 +08:00
gVisor bot
542325aae4 Style: code style 2021-06-10 14:05:56 +08:00