Haruue
e6da1f348c
fix(sockopts): error handling in applyToUDPConn
...
it is just no reason to use named err retval here
2024-04-05 13:20:17 +08:00
Haruue
5bebfd5732
fix(sockopts): error handling in applyToUDPConn
2024-04-05 13:17:21 +08:00
HystericalDragon
297d64e48f
chore: format code
2024-04-05 11:26:22 +08:00
Haruue
e1d7ce4640
chore: a better fix for 32-bit unix.Timeval
...
Why there is no decltype() in Golang?
At least we got generics now.
ref: 9520d840942d3950ed43af281935c262fac35615
2024-04-05 10:49:03 +08:00
HystericalDragon
9520d84094
fix: timeval in different arch
...
Signed-off-by: HystericalDragon <HystericalDragons@proton.me>
2024-04-05 09:57:45 +08:00
HystericalDragon
13586df2ba
fix: invalid const usage
...
Signed-off-by: HystericalDragon <HystericalDragons@proton.me>
2024-04-05 08:36:04 +08:00
Haruue
3e34da1aa8
refactor: protect => quic.sockopts
...
Android's VpnService.protect() itself is confusing, so we rename the
"protect" feature with the name `fdControlUnixSocket` and make it a
sub-option under `quic.sockopts`.
A unit test is added to make sure the protect feature works.
I also added two other common options to `quic.sockopts` that I copied
from my other projects but did not fully test here.
2024-04-05 02:20:45 +08:00
Toby
dc8fe45a1a
chore: adjust imports
2024-03-22 15:50:58 -07:00
Haruue
2e93c12cdc
feat(tun): export sing-tun auto route config
2024-03-20 13:45:12 +08:00
Haruue
92ed8f5e6a
chore(tun): enable ForwarderBindInterface
2024-03-19 19:38:43 +08:00
Haruue
38d9248acd
rm(tun): debug.PrintStack() in logger
2024-03-19 16:56:26 +08:00
Haruue
0cde4f405f
feat(tun): use time.Duration for timeout config
...
matches timeout config of other inbounds
2024-03-19 15:49:36 +08:00
Haruue
4aec8166b3
chore: switch to apernet sing-tun fork
2024-03-19 15:15:54 +08:00
Haruue
f10805dc13
init: tun support with sing-tun
2024-03-19 02:13:50 +08:00
Haruue Icymoon
842b0ab3f7
feat: load previous download when download fail
2024-02-22 01:41:08 +08:00
Haruue Icymoon
6dea0adb19
feat: re-download geo db when autoDL && load fail
2024-02-21 17:25:42 +08:00
Haruue Icymoon
e22aa0630b
fix: geo db load fail after download error
...
now geo db are downloaded to a temp file, have a integrity check by a
loading test, and then moved to where it should be.
fix : #944
2024-02-21 17:24:35 +08:00
WoaShieShei
bb99579bb9
test: correct TestStringToBps after 6d6a26b
( #928 )
2024-01-31 19:48:58 -08:00
Toby
6d6a26b399
fix: bps conv (should be 1000 not 1024)
2023-11-18 16:20:07 -08:00
Toby
e052f767db
feat: geoUpdateInterval
2023-11-13 20:27:08 -08:00
Toby
e604c12f7e
feat: full geoip/geosite support
2023-10-28 13:55:20 -07:00
Toby
f8482a3ddb
ci: add race detector flag to hyperbole & fix a race condition in UDPTunnel
2023-10-05 14:22:17 -07:00
Toby
83a6e5f9a9
feat: TCP redirect mode
2023-09-10 17:32:30 -07:00
Toby
3e5eccd6e3
feat: udp port hopping
2023-08-30 20:02:18 -07:00
Toby
1ea7c515ae
feat: add side to update checker
2023-08-29 22:16:38 -07:00
Toby
09355c4e21
feat: wip update checker
2023-08-23 22:56:15 -07:00
Toby
332d2ea32d
chore: move code around
2023-08-23 16:26:38 -07:00
Toby
cbfb1998a5
fix: TProxy UDP error log
2023-08-10 22:15:55 -07:00
Toby
ceb3c7f6a8
feat: TProxy
2023-08-10 22:06:46 -07:00
Toby
d4e3833641
feat: rework udp stuff
2023-07-27 18:51:33 -07:00
Toby
fb7e6ed915
feat(wip): test reworks for app
2023-07-27 13:13:07 -07:00
Toby
dd836b4496
feat(wip): test reworks
2023-07-26 13:48:08 -07:00
tobyxdd
4c24edaac1
feat: salamander obfs
2023-07-09 16:37:18 -07:00
tobyxdd
7e177a22f7
feat: port forwarding
2023-07-02 15:40:16 -07:00
tobyxdd
1209aa9e11
chore: remove debug print from http test
2023-06-11 16:37:01 -07:00
tobyxdd
b27628607a
fix: socks5 udp domain handling bug & add test case for it
2023-06-11 16:34:45 -07:00
tobyxdd
fcb8965987
feat: client http proxy
2023-06-10 19:08:00 -07:00
tobyxdd
901e0480f2
feat: add socks5 server test
2023-06-05 16:27:06 -07:00
tobyxdd
9f54aade8f
hysteria 2 prototype first public release
2023-05-25 20:24:24 -07:00