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
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
mritd
cb994c47a9
feat(cmd): remove warn log, disable cmd sorting
...
remove warn log, disable cmd sorting
Signed-off-by: mritd <mritd@linux.com>
2022-02-14 14:43:25 +08:00
mritd
870e13ed4c
feat(cmd): compatible windows double click
...
compatible windows double click
Signed-off-by: mritd <mritd@linux.com>
2022-02-14 14:25:52 +08:00
mritd
e1c36405c2
docs(cmd): update doc
...
update doc
Signed-off-by: mritd <mritd@linux.com>
2022-02-10 11:57:36 +08:00
mritd
187cc2a97d
feat(cmd): compatible with old flag format
...
compatible with old flag format
Signed-off-by: mritd <mritd@linux.com>
2022-02-10 11:50:44 +08:00
Toby
00ea3c9df3
chore: smaller logo
2022-02-09 19:09:31 -08:00
mritd
f6de3a8fdf
feat(cmd): run in client mode by default
...
run in client mode by default
Signed-off-by: mritd <mritd@linux.com>
2022-02-10 10:54:16 +08:00
mritd
d783ded672
style(cmd): update banner
...
update banner
Signed-off-by: mritd <mritd@linux.com>
2022-02-07 09:01:44 +08:00
mritd
01dc2beb71
feat(cmd): allow custom mmdb download url
...
allow custom mmdb download url
Signed-off-by: mritd <mritd@linux.com>
2022-02-06 16:54:40 +08:00
mritd
8e6a9be5f7
feat(cmd): support env
...
support env
Signed-off-by: mritd <mritd@linux.com>
2022-02-06 16:19:04 +08:00
mritd
fd2e0100c6
feat(cmd): use cobra
...
use cobra
Signed-off-by: mritd <mritd@linux.com>
2022-02-06 15:33:15 +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
c28cbcfcaa
feat: multi-password & cmd auth
2022-01-24 17:26:33 -08:00
Toby
48358a7642
feat: no auth or obfs warning
2022-01-24 16:00:26 -08:00
Toby
841810d6ca
feat: transport refactorization
2022-01-23 17:00:02 -08:00
Toby
013e44a9c5
feat: client connect & disconnect log for server
2022-01-21 17:21:56 -08:00
Toby
89452dd9c5
feat: ACL country support
2022-01-09 18:11:52 -08:00
Toby
c3b76a5b44
feat: use fsnotify-based keypair reloading
2022-01-09 14:26:09 -08:00
Toby
069bcde2ac
feat: wechat-video
2022-01-03 22:25:27 -08:00
Toby
1c06b66cdc
feat: transport & obfs refactoring
2021-12-27 18:07:01 -08:00
Toby
cd8a10ffc4
chore: missing file fix
2021-12-16 14:06:34 -08:00