Toby
21f4fa7d86
chore: disable certmagic's noisy default logger
2022-11-19 17:58:14 -08:00
Toby
00ec7e5ad9
chore: move pktconns out of transport pkg
2022-11-19 13:48:57 -08:00
Toby
cdbfa0fca2
chore: minor code adjustments
2022-11-19 13:34:40 -08:00
Toby
c7a87b2c43
perf: adjust default receive window sizes
2022-11-18 19:59:19 -08:00
Toby
7ce4bf7dbe
chore: update module name
2022-11-16 22:57:35 -08:00
Toby
325869bdb5
feat: add hop interval to client config, default 10s
2022-11-04 13:27:49 -07:00
Toby
508ff69ea9
feat: better version handling for update check
2022-11-03 19:50:42 +00:00
Toby
555c71e61a
chore: fix error msg inconsistency
2022-11-02 18:44:38 +00:00
Toby
2e84ca6ebe
refactor: fill default values directly to configs
2022-11-02 18:23:54 +00:00
Toby
f92c2cdda7
fix: nil TLSConfig for DoTClientOptions
2022-10-23 16:50:39 -07:00
Toby
d9d80ecbb1
chore: move auth funcs to a separate file
2022-10-23 16:00:45 -07:00
Toby
cf970f09e4
chore: various renames, server packet conn adjustment
2022-10-23 11:07:54 -07:00
Toby
e3c3088596
wip: core client & server rework
2022-10-22 11:45:46 -07:00
Toby
ca3de154ba
chore: remove congestion factory
2022-10-21 15:48:00 -07:00
Toby
7126425499
feat: disable keep alive on server (should be client's responsibility only) & use a default idle timeout of 60 seconds
2022-10-20 17:05:17 -07:00
Toby
c018eb11a9
feat: rework config options added in f9f6686
2022-10-19 20:49:20 -07:00
Toby
9ad19fdc9f
chore: retry / retry interval are optional too
2022-10-18 21:22:26 -07:00
Toby
f9f668644b
Merge pull request #421 from HyNetwork/wip-disable-auto-reconnect
...
Allow users disable the auto reconnect behavior and related timeout
2022-10-08 23:24:04 -07:00
Toby
57590900ac
chore: change all <= to < in config checks
2022-10-08 23:23:51 -07:00
Toby
4b2fd55060
chore: minor code tweaks
2022-10-08 15:47:24 -07:00
Toby
03e397b152
chore: update CHANGELOG for 1.2.1 & minor code formatting update
2022-09-09 18:24:12 -07:00
Toby
4d6bfe8fa8
chore: change dashes to underscores in tun options for consistent config naming convention
2022-09-09 17:45:01 -07:00
Haruue Icymoon
4cd18e6685
feat: add quic_settings into client config
...
fix : #420
allow user to disable auto reconnect when quic disconnected, along with
quic handshake & idle timeout.
an extra failed request would be required to make the client exit in
case of quic disconnected, but i don't think this would be a problem in
the common usage.
2022-08-31 16:34:51 +08:00
Haruue Icymoon
2fb70bdb58
feat: log http proxy error
...
goproxy actually discard all upstream errors, you can find its error
handling here [1], the upstream error from proxy.connectDial() is always
hidden in the two if branches, and never got logged. we need to log
hysteria layer errors by ourselves.
[1] 8ea89ba920/https.go (L321-L328)
according to some bug reports (such like #404 and the resolve_preference
one report via telegram private message), some users use http proxy, got a
http 502 error without any useful logs.
2022-08-25 00:42:36 +08:00
Haruue Icymoon
7c9fbf22dd
feat: tcp buffer size options for tun mode
...
close : #407
2022-08-24 23:26:56 +08:00
Toby
a31f826a1e
fix: use bootstrap address in routedns resolvers to avoid loopback ( closes #408 )
2022-08-21 19:40:47 -07:00
Toby
8960aefca3
chore: update module names (hysteria & quic-go fork)
2022-08-20 11:44:12 -07:00
Toby
1462cadfdc
format: gofumpt
2022-08-13 11:04:28 -07:00
Toby
fbfd933fac
feat: ip mask for client side
2022-08-11 21:25:47 -07:00
Toby
ad095e4545
feat: ip mask (wip, server only atm)
2022-08-10 21:56:47 -07:00
Toby
b3608956be
chore: minor change to log text
2022-08-10 20:30:26 -07:00
Haruue Icymoon
0ba4c36bc6
Merge remote-tracking branch 'origin/master' into wip-newtun-license
2022-08-10 18:05:45 +08:00
Haruue Icymoon
720b97da67
chore: solve license conflict against tun2socks
2022-08-10 12:24:06 +08:00
Toby
a4c61e285e
chore: minor log format change
2022-08-09 20:23:22 -07:00
Haruue Icymoon
f3f604b59a
refactor(tun): switch to xjasonlyu/tun2socks
...
fix : #306 , #394 , #185 , #161
break changes:
we won't create or maintain the interface now, so it is user's duty to
create the tun interface, for example, with command like
ip tuntap add dev hytun mode tun
(or maybe we can use songgao/water to keep this behavior unchanged).
correspondingly, the "address", "gateway", "mask", "dns", "persist"
options in the "tun" config have been removed.
in addition, please note xjasonlyu/tun2socks is licensed under GPLv3 and
hysteria is licensed under MIT, I don't ensure is it legal to use it as
a go mod, but there are too many requests related on it so whatever...
2022-08-10 02:43:07 +08:00
Toby
3f0953ffdd
feat: rework resolver support
2022-08-06 19:58:05 -07:00
Toby
4a3e996c9a
feat: update quic-go
2022-07-06 14:18:52 -07:00
Toby
5e4773a117
Merge branch 'master' into bind_to_device
2022-06-08 20:45:19 -07:00
Toby
575de280ff
feat: TCP redirect implementation
2022-06-06 18:09:34 -07:00
Toby
6d8e79170e
chore: code optimizations
2022-06-06 16:06:30 -07:00
hellodword
32f35894cc
feat: bind socket to a particular device
2022-05-23 22:33:37 +08:00
Toby
56825c5525
fix tun timeout check
2022-04-30 12:00:13 -07:00
Toby
ba47130990
fix: stringToBps
2022-04-14 19:53:07 -07:00
Toby
fba6cf7a1c
feat: server SOCKS5 outbound domain passthrough
2022-04-14 00:11:44 -07:00
Toby
53c61ac0f4
feat: new string-based speed (up/down) options
2022-04-03 20:26:25 -07:00
Toby
f98eec69f2
feat: resolve preference
2022-03-27 15:10:16 -07:00
Toby
97ef033b65
feat: server SOCKS5 outbound
2022-02-26 20:45:20 -08:00
Toby
a5e27385c8
chore: disable update check error msg
2022-02-25 17:30:42 -08:00
Toby
7466b69cce
feat: re-enable PMTUD on Windows & Linux
2022-02-19 23:21:13 -08:00
Toby
d6b549cea4
fix: incorrect TProxy UDP implementation (228)
2022-02-19 17:42:02 -08:00