Toby
80faa4aaf8
feat: fast open
2022-11-23 21:19:52 +00:00
Toby
c7a87b2c43
perf: adjust default receive window sizes
2022-11-18 19:59:19 -08:00
Toby
325869bdb5
feat: add hop interval to client config, default 10s
2022-11-04 13:27:49 -07: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
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
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
7c9fbf22dd
feat: tcp buffer size options for tun mode
...
close : #407
2022-08-24 23:26:56 +08:00
Toby
1462cadfdc
format: gofumpt
2022-08-13 11:04:28 -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
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
ba47130990
fix: stringToBps
2022-04-14 19:53:07 -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
7466b69cce
feat: re-enable PMTUD on Windows & Linux
2022-02-19 23:21:13 -08:00
Toby
0bb74fcd8d
feat: client retry
2022-02-03 21:37:25 -08:00
Toby
b593df44b7
feat: disable quic-go PMTUD due to broken implementation
2022-02-03 20:37:08 -08:00
Toby
89452dd9c5
feat: ACL country support
2022-01-09 18:11:52 -08:00
Toby
c09edb6e53
feat: custom resolver
2021-12-15 21:32:26 -08:00
Toby
4872004a5c
feat: experimental faketcp implementation
2021-12-15 16:46:20 -08:00
Haruue Icymoon
476e045451
feat(server): IPv6 only mode
...
fix #168
2021-12-09 21:04:59 +08:00
Toby
2c4bd83ae1
chore: code improvements
2021-12-08 02:02:55 -08:00
charles
cca314a938
support multiple tcp and udp relays
2021-12-05 19:12:37 +08:00
charles
af9130480f
extract relay type
2021-12-05 18:55:04 +08:00
Toby
4140927003
feat: customizable ALPN
2021-11-24 23:35:37 -08:00
Toby
32b3dc65a0
Add an option to disable MTU discovery
2021-08-23 14:38:10 -07:00
Toby
078f860174
Merge pull request #75 from HyNetwork/wip-tun
...
TUN
2021-05-08 18:09:53 -07:00
Toby
54b525d559
Improve config error text
2021-05-08 18:04:22 -07:00
Toby
2934f376d1
Add TLS server name option for client
2021-05-08 16:39:25 -07:00
Haruue Icymoon
13ec19cbfe
Implement TUN, no ACL support yet
2021-05-03 11:22:43 +08:00
Toby
3955d98aa2
Better default params to reduce flow control blocks & add README for optimizing for extreme transfer speeds
2021-04-30 21:29:18 -07:00
Toby
d1e9daea49
ACME implementation
2021-04-28 00:45:59 -07:00
Toby
56f35d94cc
Revert "bump DefaultMaxIncomingStreams to 4096"
...
This reverts commit 7ba81612f821d731115b0db3acae81318241f936.
2021-04-27 20:24:48 -07:00
Toby
7ba81612f8
bump DefaultMaxIncomingStreams to 4096
2021-04-25 20:41:39 -07:00
Toby
787ed14c4d
TCP TProxy implementation, no UDP or ACL support yet
2021-04-24 02:56:17 -07:00
Toby
00f39ab097
Add missing UDP relay config check
2021-04-21 21:48:36 -07:00
Toby
bca98ef4da
Implement UDP relay
2021-04-21 21:40:43 -07:00
Toby
6ddcbdc01d
Implement Prometheus metrics
2021-04-10 18:01:56 -07:00
Toby
b107eae34a
password auth
2021-03-02 17:08:39 -08:00