14 Commits

Author SHA1 Message Date
Toby
7ce4bf7dbe chore: update module name 2022-11-16 22:57:35 -08:00
Toby
03e397b152 chore: update CHANGELOG for 1.2.1 & minor code formatting update 2022-09-09 18:24:12 -07:00
Haruue Icymoon
7c9fbf22dd
feat: tcp buffer size options for tun mode
close: #407
2022-08-24 23:26:56 +08: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
Haruue Icymoon
720b97da67
chore: solve license conflict against tun2socks 2022-08-10 12:24:06 +08:00
Haruue Icymoon
80b0c87654
chore: log tun2socks internal warn as info 2022-08-10 11:39:29 +08:00
Haruue Icymoon
4abb30620a
fix: tun device not closed when killed 2022-08-10 11:39:10 +08: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
841810d6ca feat: transport refactorization 2022-01-23 17:00:02 -08:00
Toby
6eb49eef12 feat: remove ACL from TPROXY & TUN 2021-11-24 23:04:34 -08:00
Haruue Icymoon
9c3597bd11
Allow build with CGO_ENABLED=0 by disable TUN Mode
Run hysteria on your favorite OpenWRT router.
2021-07-08 21:19:13 +08:00
Haruue Icymoon
81128a7626
ACL for TUN 2021-05-03 11:22:46 +08:00
Haruue Icymoon
13ec19cbfe
Implement TUN, no ACL support yet 2021-05-03 11:22:43 +08:00