524 Commits

Author SHA1 Message Date
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
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
a2ab9e0425 ci: xgo does not support freebsd targets 2022-08-06 11:57:10 -07:00
Toby
21382fe39c ci: add freebsd build targets 2022-08-06 11:19:37 -07:00
Toby
345836abc4
Update README.md 2022-08-04 16:00:11 -07:00
Toby
b84b4b77af
Merge pull request #386 from HyNetwork/dependabot/go_modules/github.com/caddyserver/certmagic-0.16.2
chore(deps): bump github.com/caddyserver/certmagic from 0.16.1 to 0.16.2
2022-08-03 11:21:29 -07:00
dependabot[bot]
e0d7a297a6
chore(deps): bump github.com/caddyserver/certmagic from 0.16.1 to 0.16.2
Bumps [github.com/caddyserver/certmagic](https://github.com/caddyserver/certmagic) from 0.16.1 to 0.16.2.
- [Release notes](https://github.com/caddyserver/certmagic/releases)
- [Commits](https://github.com/caddyserver/certmagic/compare/v0.16.1...v0.16.2)

---
updated-dependencies:
- dependency-name: github.com/caddyserver/certmagic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-03 06:09:37 +00:00
Toby
b9d0108af3
Merge pull request #378 from HyNetwork/dependabot/github_actions/crazy-max/ghaction-xgo-2.1.0
chore(deps): bump crazy-max/ghaction-xgo from 2.0.0 to 2.1.0
2022-07-22 10:51:21 -07:00
Toby
7051e229d8
Merge pull request #379 from HyNetwork/dependabot/go_modules/github.com/sirupsen/logrus-1.9.0
chore(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0
2022-07-22 10:51:10 -07:00
Toby
056643f343
Merge pull request #380 from HyNetwork/dependabot/github_actions/docker/build-push-action-3.1.0
chore(deps): bump docker/build-push-action from 3.0.0 to 3.1.0
2022-07-22 10:50:57 -07:00
dependabot[bot]
9fb43fbc43
chore(deps): bump docker/build-push-action from 3.0.0 to 3.1.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 06:15:17 +00:00
dependabot[bot]
a83494da78
chore(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sirupsen/logrus/compare/v1.8.1...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 06:14:53 +00:00
dependabot[bot]
9b94d80baa
chore(deps): bump crazy-max/ghaction-xgo from 2.0.0 to 2.1.0
Bumps [crazy-max/ghaction-xgo](https://github.com/crazy-max/ghaction-xgo) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/crazy-max/ghaction-xgo/releases)
- [Changelog](https://github.com/crazy-max/ghaction-xgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crazy-max/ghaction-xgo/compare/v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-xgo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 06:14:07 +00:00
Haruue Icymoon
9f40653191
docs: update issue template 2022-07-12 00:55:57 +08:00
Haruue Icymoon
87676d41bd
docs: translate issue templates into english 2022-07-10 19:46:56 +08:00
Haruue Icymoon
53cd363955
docs: add issue template for feature request 2022-07-10 19:46:56 +08:00
Haruue Icymoon
390a7fe556
docs: fix issue template format 2022-07-10 19:46:56 +08:00
Haruue Icymoon
1931fe76d8
docs: fix yaml 2022-07-10 17:51:27 +08:00
Haruue Icymoon
a6a33e9145
docs: fix yaml 2022-07-10 17:50:29 +08:00
Haruue Icymoon
aa55669be8
docs: fix yaml 2022-07-10 17:49:08 +08:00
Haruue Icymoon
9597f7b31d
docs: fix yaml 2022-07-10 17:45:29 +08:00
Haruue Icymoon
3d746075ab
docs: add issue template for newbie users 2022-07-10 17:40:28 +08:00
Toby
160145f712 chore: update CHANGELOG for 1.1.0 2022-07-06 18:26:11 -07:00
Toby
5f3fb2dc2d tool: socks5 tcping latency test 2022-07-06 14:38:24 -07:00
Toby
4a3e996c9a feat: update quic-go 2022-07-06 14:18:52 -07:00
Toby
03b562713b feat: update quic-go 2022-06-26 11:10:02 -07:00
Toby
e7e762c022 chore: ignore local build directory 2022-06-26 11:06:17 -07:00
Toby
3762b07428
Merge pull request #362 from HyNetwork/dependabot/go_modules/github.com/spf13/cobra-1.5.0
chore(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0
2022-06-21 10:07:34 -07:00
dependabot[bot]
879fb04b1a
chore(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 06:20:09 +00:00
Toby
da16c8862d chore: update README & CHANGELOG for 1.0.5 2022-06-10 20:57:56 -07:00
Toby
c8eaa2bce4 chore: fix go mod 2 2022-06-08 21:42:05 -07:00
Toby
7dd2d582b4 Merge branch 'master' of https://github.com/HyNetwork/hysteria 2022-06-08 21:41:35 -07:00
Toby
5f9b1bffb9 chore: fix go mod 2022-06-08 21:41:23 -07:00
Toby
595d1bda8a
Merge pull request #338 from hellodword/bind_to_device
feat: bind socket to a particular device
2022-06-08 20:49:36 -07:00
Toby
5e4773a117
Merge branch 'master' into bind_to_device 2022-06-08 20:45:19 -07:00
Toby
8a64099a96 fix: build failure on linux 386 2022-06-07 12:44:38 -07:00
Toby
d1e7d4c7cb
chore: update README 2022-06-07 00:20:03 -07:00
Toby
5aa96cdc93
Merge pull request #354 from HyNetwork/redir
feat: TCP redirect implementation
2022-06-06 22:00:15 -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
Toby
3cd20f6cdb
Merge pull request #346 from HyNetwork/dependabot/github_actions/crazy-max/ghaction-xgo-2.0.0
chore(deps): bump crazy-max/ghaction-xgo from 1.8.0 to 2.0.0
2022-05-30 19:04:13 -07:00
Toby
6d7f7016fb
Merge pull request #345 from HyNetwork/dependabot/go_modules/github.com/spf13/viper-1.12.0
chore(deps): bump github.com/spf13/viper from 1.11.0 to 1.12.0
2022-05-30 19:04:01 -07:00
dependabot[bot]
d8b782c984
chore(deps): bump crazy-max/ghaction-xgo from 1.8.0 to 2.0.0
Bumps [crazy-max/ghaction-xgo](https://github.com/crazy-max/ghaction-xgo) from 1.8.0 to 2.0.0.
- [Release notes](https://github.com/crazy-max/ghaction-xgo/releases)
- [Changelog](https://github.com/crazy-max/ghaction-xgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crazy-max/ghaction-xgo/compare/v1.8.0...v2.0.0)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-xgo
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 06:09:57 +00:00
dependabot[bot]
1a1c69e6ad
chore(deps): bump github.com/spf13/viper from 1.11.0 to 1.12.0
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.11.0...v1.12.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 06:09:47 +00:00
hellodword
32f35894cc feat: bind socket to a particular device 2022-05-23 22:33:37 +08:00
Toby
31d34e5269
Merge pull request #331 from mritd/master
chore(build): add taskfile
2022-05-17 15:16:30 -07:00
kovacs
119f2a8bcb
chore(build): add taskfile
add taskfile

Signed-off-by: kovacs <mritd@linux.com>
2022-05-17 15:02:24 +08:00