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
7267c58913
Chore: ReCreate* do side effect job ( #1849 )
2021-12-26 22:08:53 +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
bobo liu
78e105f3b2
Chore: builtin right mime of .js ( #1808 )
2021-12-08 13:38:25 +08:00
Rick
08607fb6b4
Feature: add linux/arm/v6 for the container image ( #1771 )
2021-12-02 21:12:45 +08:00
Dreamacro
075d8ed094
Fix: fakeip pool cycle used
2021-11-23 22:01:49 +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
Dreamacro
08c43b8876
Fix: revert ssr udp fix
2021-11-14 14:48:00 +08:00
Dreamacro
499beb7344
Fix: bind iface should throw control error
2021-11-10 22:19:11 +08:00
Dreamacro
c9be614821
Fix: windows arm7 build
2021-11-08 21:24:39 +08:00
Dreamacro
b56d35040d
Chore: update dependencies and rename profile props
2021-11-08 20:48:29 +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
bcb301b730
Chore: adjust all udp alloc size
2021-11-03 22:29:24 +08:00
yaling888
ac9e5c6913
Wintun: use new swdevice-based API for upcoming Wintun 0.14
2021-11-03 15:02:40 +08:00
yaling888
b515a4e270
Chore: move "geodata" to package "component"
2021-11-02 18:23:01 +08:00
yaling888
325b7f455f
Chore: version fmt
2021-10-28 12:55:40 +08:00
yaling888
ddf28dfe8b
Merge from remote branch
2021-10-28 11:36:41 +08:00
yaling888
2680e8ffa3
Merge from remote branch
2021-10-28 11:36:11 +08:00
yaling888
2953772a0e
Style: format code
2021-10-28 00:06:55 +08:00
Dreamacro
ebbc9604ce
Chore: use uber max procs
2021-10-27 21:27:19 +08:00
Blaise Wang
a7aea12aa6
Fix: remove ResponseHeaderTimeout limitation ( #1690 )
2021-10-20 13:44:05 +08:00
Dreamacro
c6cceeb0c5
Chore: use alpn http 1.1 only on trojan websocket by default
2021-10-19 22:34:18 +08:00
Dreamacro
967932d02c
Fix: set dnsmode behavior
2021-10-18 23:03:25 +08:00
Dreamacro
81d5da51a3
Fix: unexpected proxy dial behavior on mapping mode
2021-10-18 21:08:27 +08:00
Dreamacro
fea9d1c5e2
Fix: replace vmess grpc test image
2021-10-16 20:35:06 +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
583b2a5ace
Change: use interface HardwareAddr for dhcp discovery
2021-10-14 22:54:43 +08:00
Dreamacro
13bd601cac
Fix : #1660 panic
2021-10-11 21:05:38 +08:00
Dreamacro
3d5681cffd
Feature: persistence fakeip ( #1662 )
2021-10-11 20:48:58 +08:00
Dreamacro
a1c2478e74
Chore: actions split lint and release
2021-10-11 20:08:18 +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
beyondkmp
1996bef9e6
Chore: doh request should with id 0 ( #1660 )
2021-10-07 22:57:55 +08:00
Dreamacro
66cb0b1218
Fix: cache kv db should not block on init
2021-10-05 22:47:26 +08:00
Dreamacro
b9d470cf79
Fix: dhcp client should request special interface
2021-10-05 13:31:19 +08:00
Dreamacro
4f1fac02ab
Chore: add remove TODO
2021-10-05 12:42:21 +08:00
Dreamacro
537b672fcf
Change: use bbolt as cache db
2021-10-04 19:20:11 +08:00
Kr328
ced9749104
Fix: http proxy should response correct http version ( #1651 )
2021-09-30 16:30:07 +08:00
bobo liu
9aeb4c8cfe
Improve: avoid bufconn twice ( #1650 )
2021-09-28 23:15:53 +08:00
yaling888
433d35e866
Chore: format with go 1.17
2021-09-24 04:37:04 +08:00
yaling888
32d8f849ee
Chore: update gvisor
2021-09-23 02:42:17 +08:00