Commit Graph

63 Commits

Author SHA1 Message Date
MoonStrider e26bed43de
Change: replace std regex with regexp2 (#2802) 2023-06-21 17:06:29 +08:00
Dreamacro 700ceed194 Fix: proxy health check should check not alive proxy on `lazy` 2023-06-18 18:30:02 +08:00
Kr328 295b0da0e5
Fix: should check originDst is nil (#2797) 2023-06-18 11:16:40 +08:00
Dreamacro 31fe77ee69 Chore: add `alive` for proxy api 2023-06-16 21:19:10 +08:00
Kr328 13d9e960f7
Refactor: refactor find process (#2781) 2023-06-13 23:25:32 +08:00
Dreamacro 289025c6ee Fix: filterable provider should be touch 2023-05-28 14:12:03 +08:00
Dreamacro b7aade5e11 Chore: use protobytes replace most of bytes.Buffer 2023-04-17 14:08:39 +08:00
M4rtin Hsu df61a586c9
Fix: potential vulnerability in http provider (#2680) 2023-04-16 20:14:36 +08:00
yaling888 9b2b7c662d
Feature: add `filter` option to proxy group (#2518) 2023-04-08 19:23:19 +08:00
Dreamacro 4cd4912749 Chore: more parse proxy group error detail 2023-04-04 16:50:41 +08:00
Dreamacro 5045ca4574 Chore: add some linters and clean up the code 2023-04-04 14:53:59 +08:00
RommHui a7252a1576
Feature: allow http outbound to set custom headers (#2647) 2023-03-31 20:33:41 +08:00
Dreamacro 148ebccb60 Fix: ignore meanDelay error 2023-03-17 16:35:50 +08:00
Dreamacro f78a7cb2cb Feature: add meanDelay on URLTest 2023-02-28 13:28:42 +08:00
Dreamacro 2301b909d2 Fix: immediately update provider when modtime too old 2022-12-31 16:32:30 +08:00
wwqgtxx cdc7d449a6
Fix: safeConnClose not working (#2463) 2022-12-22 12:42:38 +08:00
Sizhe Sun 90b40a8e5a
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
wwqgtxx 19b7c7f52a
Fix: a shared fastSingle.Do() may cause providers untouched (#2378) 2022-11-04 13:11:01 +08:00
Dreamacro 5940f62794 Chore: http2 should use DialTLSContext and some tls handshake should with context 2022-08-13 12:35:39 +08:00
Dreamacro aaf08dadff
Change: remove AddrType on Metadata (#2199) 2022-07-05 20:26:43 +08:00
Dreamacro 557297ac9a Chore: load balance hash need to have fallback strategy 2022-07-04 21:36:33 +08:00
Dreamacro 27e1d6cdae Chore: cleanup code 2022-06-30 17:12:06 +08:00
Kaming Chan 91c22b16bf
Fix: proxy provider filter validation (#2198) 2022-06-30 17:08:53 +08:00
Dreamacro 09d49bac95 Chore: embed shadowsocks2 2022-06-01 21:43:20 +08:00
Dreamacro 9d2fc976e2 Chore: upgrade to yaml v3 2022-05-26 17:47:05 +08:00
Anankke b3d7594813
Chore: add `none` alias to `dummy` on ShadowsocksR (#2056) 2022-04-13 10:06:06 +08:00
risetechlab f9cc1cc363
Fix: routing-mark option doesn't work on proxies (#2028) 2022-03-19 13:29:30 +08:00
Dreamacro 6a661bff0c Migration: go 1.18 2022-03-16 12:10:13 +08:00
Kr328 cfe7354c07
Improve: change provider file modify time when updated (#1918) 2022-01-18 13:32:47 +08:00
Digital Pencil 8f3385bbb6
Feature: support snell v3 (#1884) 2022-01-10 20:24:20 +08:00
Dreamacro 3cb87e083c Fix: duplicate provider err typo 2022-01-03 17:21:27 +08:00
HamsterReserved 8679968ab0
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
Dreamacro 204a72bbd3 Chore: remove forward compatible code 2022-01-02 00:48:57 +08:00
Kr328 14ae87fcd0
Chore: remove reduce regex compile (#1855) 2021-12-26 20:47:12 +08:00
Fan ee6fc12709
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
Dreamacro b1bed7623d Fix: provider filter potential panic 2021-11-21 17:44:03 +08:00
beyondkmp 1401a82bb0
Feature: add filter on proxy provider (#1511) 2021-11-20 23:38:49 +08:00
Dreamacro 4524cf4418 Fix: should return io.EOF immediately 2021-11-20 12:44:31 +08:00
Dreamacro 0db15d46c3 Change: use nop packet conn for reject 2021-11-20 12:34:14 +08:00
bobo liu bd2ea2b917
Feature: mark on socket (#1705) 2021-11-08 16:59:48 +08:00
Dreamacro e622d8dd38 Fix: parse dial interface option 2021-11-08 13:31:08 +08:00
Dreamacro d40e5e4fe6 Fix: codeql alerts 2021-11-08 00:32:21 +08:00
Dreamacro 1a7830f18e
Feature: dial different NIC for all proxies (#1714) 2021-11-07 16:48:51 +08:00
Dreamacro df3a491d40 Feature: support trojan websocket 2021-10-16 20:19:59 +08:00
Dreamacro 68753b4ae1 Chore: contexify ProxyAdapter ListenPacket 2021-10-15 21:44:53 +08:00
Dreamacro f1cf7e9269 Style: use gofumpt for fmt 2021-10-10 23:44:09 +08:00
Dreamacro 4ce35870fe Chore: remove deprecated ioutil 2021-10-09 20:35:06 +08:00
Dreamacro 4f1fac02ab Chore: add remove TODO 2021-10-05 12:42:21 +08:00
Kr328 beb88cc46f
Fix: should not trust address of http.Client (#1616) 2021-09-13 23:46:39 +08:00
maskedeken 400dc923e0
Fix: vmess ws headers not set properly (#1595) 2021-09-08 14:44:24 +08:00