93 Commits

Author SHA1 Message Date
Toby
2d7d67bf27 feat: also change client side errors to warns 2024-03-23 10:58:11 -07:00
HynoR
ddb5b511fc Optimize the log level adjustment for tcpError and udpError by shifting from error to warning. 2024-03-23 14:19:50 +08:00
Toby
bdd4114654
Merge pull request #996 from apernet/wip-hy2-tun
Add TUN inbound for client
2024-03-22 22:40:51 -07:00
Haruue
6374ea11c4
feat(tun): allow omit pfxlen in full len pfx route 2024-03-23 11:13:43 +08:00
Toby
aab104ae2e feat: update config test 2024-03-22 16:20:03 -07:00
Toby
dc8fe45a1a chore: adjust imports 2024-03-22 15:50:58 -07:00
Haruue
b287020daa
chore(tun): show error on unsupported platform 2024-03-20 22:09:03 +08:00
Haruue
2e93c12cdc
feat(tun): export sing-tun auto route config 2024-03-20 13:45:12 +08:00
Haruue
91406ab0f9
chore(tun): use /126 length in default prefix6 2024-03-19 20:35:42 +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
kovacs
57e6e47f19
feat(acme): support acme listen host
support acme listen host

ref #978

Signed-off-by: kovacs <mritd@linux.com>
2024-03-14 11:01:36 +08:00
Toby
e99ac076da chore: "server may not support speed test" hint when it's a dial error 2024-03-09 21:25:49 -08:00
Toby
a0bd58063b feat: built-in speed test client & server 2024-03-09 20:38:30 -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
Toby
c4993f8dd1 feat: allow runtime TLS cert updates 2023-12-29 15:06:19 -08:00
Toby
d73edff71e fix: lazy mode should defer config evaluation 2023-12-28 15:10:21 -08:00
Toby
bb3b83f4de chore: reformat code 2 2023-11-26 20:57:35 -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
0a77ce4d64 feat: client handshake info 2023-11-18 16:19:08 -08:00
Toby
e052f767db feat: geoUpdateInterval 2023-11-13 20:27:08 -08:00
Toby
6872bb0263 improve code 2023-11-10 17:16:34 -08:00
HynoR
a1bd044467 Improve log output 2023-11-09 16:57:21 +08:00
HynoR
7b68bbf84a Improve log output 2023-11-09 16:43:14 +08:00
Toby
9ff8020803 feat: traffic stats API secret auth 2023-10-29 21:10:28 -07:00
Toby
e604c12f7e feat: full geoip/geosite support 2023-10-28 13:55:20 -07:00
Toby
e57eeb986b feat: disable mousetrap for Windows users 2023-10-12 19:48:26 -07:00
Toby
6b5c791416
Merge pull request #742 from apernet/http-outbound
feat: HTTP/HTTPS proxy outbound
2023-10-11 22:15:49 -07:00
Toby
61a68a18b9 fix: 233 is reserved for Hysteria authentication 2023-10-11 20:42:09 -07:00
Toby
594fde1ff8 feat: HTTP/HTTPS proxy outbound 2023-10-11 19:54:47 -07:00
Toby
197e913dce feat: masquerade string mode 2023-10-11 14:53:46 -07:00
Toby
39518268f0 chore: format 2023-09-29 22:29:23 -07:00
kovacs
8a065b1368
feat(server): add ZeroSSL EAB
add ZeroSSL EAB

Signed-off-by: kovacs <mritd@linux.com>
2023-09-27 15:39:03 +08: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
Haruue Icymoon
1965535e69
fix: default config file selection
close: #689
2023-09-15 15:48:29 +08:00
Toby
056c46f4d0 feat: HTTP/HTTPS masq servers 2023-09-14 17:27:47 -07:00
Toby
7580c0c641 feat: log (debug) masquerade requests 2023-09-11 18:20:29 -07:00
Toby
83a6e5f9a9 feat: TCP redirect mode 2023-09-10 17:32:30 -07:00
Toby
1736e6026e chore: make the app description consistent with everywhere else 2023-09-09 11:33:21 -07:00
Toby
1f1b071ca8 feat: provide HYSTERIA_ACME_DIR to control acme data directory 2023-09-08 18:41:15 -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
Toby
353aacfd62 feat: options to disable update check & fix client lazy mode 2023-08-24 14:10:51 -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
3c3c2a51a8 feat: client TLS cert SHA256 pinning (pinSHA256) 2023-08-23 15:53:22 -07:00
Toby
e602ec6169 feat: HTTP traffic stats server 2023-08-19 17:19:36 -07:00
Toby
a47285896a fix: ACL IP rules not working for domain requests if resolver not set 2023-08-19 15:31:36 -07:00