Haruue
65f5e9caa5
chore: go mod tidy
2024-04-05 02:30:52 +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
HystericalDragon
a05383c2a1
fix: use reflect to get fd
...
conn.File() not returns real file.
Signed-off-by: HystericalDragon <HystericalDragons@proton.me>
2024-04-03 18:40:25 +08:00
HystericalDragon
03c8b5e6b9
feat: support Android protect path
...
about: 1ac9d4956b
Signed-off-by: HystericalDragon <HystericalDragons@proton.me>
2024-04-03 18:09:40 +08:00
Toby
7aa0becd84
feat: quic-go v0.42.0
2024-03-23 15:05:10 -07:00
Toby
87bbf17bc5
chore: go mod tidy
2024-03-22 13:32:24 -07:00
Toby
1f05791a4e
chore(deps): bump google.golang.org/protobuf from 1.28.1 to 1.33.0
2024-03-13 19:36:32 -07:00
Toby
b07b12a651
chore: trivial fixes
2024-03-12 20:26:13 -07:00
HynoR
b5c1980202
simplify compile_test code
2024-03-13 11:22:18 +08:00
Toby
15b94d5c40
chore: adjust comments
2024-03-12 20:04:06 -07:00
Toby
9a80fe589a
fix: format
2024-03-12 19:54:18 -07:00
HynoR
fda93579f0
fix typo
2024-03-13 10:51:36 +08:00
HynoR
9349f0a1a3
refactor the method that support range format ProtoPort
2024-03-12 11:00:47 +08:00
HynoR
3216814440
remove useless code
2024-03-11 15:54:30 +08:00
HynoR
ee056deaad
support range format ProtoPort
2024-03-11 15:35:12 +08:00
Toby
d82d76743f
chore: use @ instead of _ for speed test dest
2024-03-09 21:39:30 -08:00
Toby
a0bd58063b
feat: built-in speed test client & server
2024-03-09 20:38:30 -08:00
Toby
0c2b0234fa
fix: FreeBSD IPv4-mapped IPv6 listening addr fix
2024-02-29 16:38:42 -08:00
Haruue
1ac9d4956b
feat: allow set ListenUDP impl for udphop conn
...
Third-party clients can use this to set options on created sockets.
e.g. calling VpnService.protect() on Android.
2024-02-27 21:05:53 +08:00
Haruue Icymoon
f0d59ebee1
chore: human-readable outbounds socks5 error msg
...
ref: #932
2024-02-03 20:58:35 +08:00
Toby
e648321b96
feat: quic-go v0.41.0
2024-01-21 16:58:22 -08:00
Toby
4a502b4b5d
chore(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0
2023-12-28 15:17:29 -08:00
Haruue Icymoon
9476976950
chore: reformat code
2023-11-27 11:35:15 +08:00
Haruue Icymoon
e70838cd98
fix: ipv{4,6}-only listen on wildcard address
...
fix : #797
when listening on a wildcard address like "0.0.0.0" or "[::]", hysteria
actually listened on both IPv4 and IPv6. this is a well-known bug of the
golang net package.
this commit introduces a fix for that, the intended behavior will be:
0.0.0.0:443 => listen on IPv4 only
[::]:443 => listen on IPv6 only
:443 => listen on both IPv4 and IPv6
2023-11-26 16:09:01 +08:00
Toby
c341aea5d0
feat: domain suffix match
2023-11-22 20:21:08 -08:00
Toby
c62dc51017
feat: quic-go v0.40.0
2023-11-12 15:42:46 -08:00
Toby
9ff8020803
feat: traffic stats API secret auth
2023-10-29 21:10:28 -07:00
Toby
e6cb3df546
feat: quic-go v0.39.3
2023-10-29 15:17:57 -07:00
Toby
b2d4bac556
feat: ACL IDN (punycode domains) support
2023-10-29 14:44:29 -07:00
Toby
affe092336
Merge pull request #782 from apernet/wip-geosite
...
feat: GeoSite support & reworked GeoIP
2023-10-29 11:41:51 -07:00
Toby
fcc3dd4988
feat: altSvcHijackResponseWriter now optionally implements http.Hijacker to support WebSockets
2023-10-28 14:44:20 -07:00
Toby
e604c12f7e
feat: full geoip/geosite support
2023-10-28 13:55:20 -07:00
Toby
bcacc46f1d
feat: geoip/geosite load functions
2023-10-26 20:00:31 -07:00
Toby
ef6a231787
feat: add v2ray geoip/geosite protobuf
2023-10-25 19:54:09 -07:00
Toby
dfa95811e8
feat: quic-go v0.39.1
2023-10-19 19:53:51 -07:00
Toby
a6da40df11
chore(deps): bump golang.org/x/net from 0.12.0 to 0.17.0
2023-10-11 22:19:21 -07:00
Toby
594fde1ff8
feat: HTTP/HTTPS proxy outbound
2023-10-11 19:54:47 -07:00
Toby
4ebc765f43
feat: bump quic-go (packets info optimization)
2023-10-10 20:53:27 -07:00
Toby
bd03e59a77
fix: quic-go sconn remoteAddr race condition
2023-10-05 14:53:31 -07:00
Toby
844e94d6ca
fix: reworked BBR to replace the broken old one
2023-09-29 22:18:24 -07:00
Toby
8faaf3b2e8
feat: quic-go v0.39.0
2023-09-24 15:46:11 -07:00
Toby
fd6bef4c7e
feat: bump quic-go (GSO fix 2)
2023-09-21 16:35:35 -07:00
Toby
6425098215
Merge pull request #688 from apernet/wip-masq-tcp
...
feat: HTTP/HTTPS masq servers
2023-09-15 19:47:16 -07:00
Toby
31dca9476d
feat: bump quic-go (GSO fix)
2023-09-15 12:57:55 -07:00
Toby
056c46f4d0
feat: HTTP/HTTPS masq servers
2023-09-14 17:27:47 -07:00
Toby
e11762a196
feat: quic-go v0.38.1
2023-09-01 19:32:49 -07:00
Toby
ee70476030
fix: udp hop returning bogus close errors
2023-09-01 02:29:05 -07:00
Toby
81a98e1e5a
chore: improve udphop conn
2023-08-31 14:39:10 -07:00
Toby
5efd0f8f44
chore: small tweaks
2023-08-30 20:12:21 -07:00
Toby
3e5eccd6e3
feat: udp port hopping
2023-08-30 20:02:18 -07:00