108 Commits

Author SHA1 Message Date
Toby
745d84e3c7 fix: bug in goproxy that caused connections to not disconnect 2022-11-23 21:23:22 -08:00
Toby
423c551306 chore: bump goproxy version & fix http proxy basic auth realm 2022-11-22 19:49:47 +00:00
Toby
21f4fa7d86 chore: disable certmagic's noisy default logger 2022-11-19 17:58:14 -08:00
Toby
6c6a804736 perf: set buffers support for udp hop conns 2022-11-19 16:13:13 -08:00
Toby
a2bc061e74 chore: upgrade to hashicorp/golang-lru v2 (closes #500) 2022-11-19 13:01:15 -08:00
Toby
b386bfbeef feat: update quic-go to v0.31.0 2022-11-19 00:35:46 -08:00
Toby
7ce4bf7dbe chore: update module name 2022-11-16 22:57:35 -08:00
dependabot[bot]
099750df05
chore(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.13.1 to 1.14.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.13.1...v1.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 06:02:18 +00:00
dependabot[bot]
c2bc6a224d
chore(deps): bump github.com/spf13/viper from 1.13.0 to 1.14.0
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.13.0...v1.14.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-11-08 06:04:43 +00:00
Toby
20de0ca335 fix: quic-go ipv6 server name handling 2022-11-05 11:11:25 -07:00
dependabot[bot]
0ea0978906
chore(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.13.1/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.13.0...v1.13.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-03 06:02:25 +00:00
Toby
72b9ddcfa4 feat: update quic-go (connection migration) 2022-10-30 23:28:14 -07:00
Toby
ee1fd45030
Merge pull request #473 from HyNetwork/dependabot/go_modules/github.com/spf13/cobra-1.6.1
chore(deps): bump github.com/spf13/cobra from 1.6.0 to 1.6.1
2022-10-25 10:47:53 -07:00
Haruue Icymoon (usamimi-wsl)
0e55506002 chore(deps): bump go-tproxy
fix initialize failed on non-IPv6 kernel
close: #472
2022-10-26 00:41:41 +09:00
dependabot[bot]
58912ce169
chore(deps): bump github.com/spf13/cobra from 1.6.0 to 1.6.1
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.6.0...v1.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 06:17:34 +00:00
Toby
ce86fd918a feat: update quic-go to v0.30.0 2022-10-22 23:12:51 -07:00
Toby
a681283921
Merge pull request #463 from HyNetwork/dependabot/go_modules/github.com/fsnotify/fsnotify-1.6.0
chore(deps): bump github.com/fsnotify/fsnotify from 1.5.4 to 1.6.0
2022-10-19 10:57:29 -07:00
dependabot[bot]
35c9a76230
chore(deps): bump github.com/fsnotify/fsnotify from 1.5.4 to 1.6.0
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.5.4 to 1.6.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.5.4...v1.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-13 06:09:42 +00:00
dependabot[bot]
3c80671405
chore(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.5.0...v1.6.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-10-12 06:09:10 +00:00
dependabot[bot]
ad2d46259e
chore(deps): bump github.com/caddyserver/certmagic from 0.17.1 to 0.17.2
Bumps [github.com/caddyserver/certmagic](https://github.com/caddyserver/certmagic) from 0.17.1 to 0.17.2.
- [Release notes](https://github.com/caddyserver/certmagic/releases)
- [Commits](https://github.com/caddyserver/certmagic/compare/v0.17.1...v0.17.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-10-03 06:17:12 +00:00
Toby
ab845d9a8c
Merge pull request #434 from HyNetwork/dependabot/go_modules/github.com/docker/go-units-0.5.0
chore(deps): bump github.com/docker/go-units from 0.4.0 to 0.5.0
2022-09-18 22:11:28 -07:00
Haruue Icymoon
e67f2d6c7e
fix(tproxy): client crash for ipv6 udp requests
close: #435

ipv6 udp is broken in the upstream go-tproxy, switch to our own fork to
fix it.
2022-09-16 16:53:02 +08:00
dependabot[bot]
2d5ed53d8c
chore(deps): bump github.com/docker/go-units from 0.4.0 to 0.5.0
Bumps [github.com/docker/go-units](https://github.com/docker/go-units) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/docker/go-units/releases)
- [Commits](https://github.com/docker/go-units/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/docker/go-units
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 06:31:46 +00:00
Toby
0f1108bd48
Merge pull request #428 from HyNetwork/dependabot/go_modules/github.com/caddyserver/certmagic-0.17.1
chore(deps): bump github.com/caddyserver/certmagic from 0.16.3 to 0.17.1
2022-09-09 17:51:08 -07:00
dependabot[bot]
29ad5d8781
chore(deps): bump github.com/spf13/viper from 1.12.0 to 1.13.0
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.12.0...v1.13.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-09-07 06:08:21 +00:00
dependabot[bot]
26b5c2c9ee
chore(deps): bump github.com/caddyserver/certmagic from 0.16.3 to 0.17.1
Bumps [github.com/caddyserver/certmagic](https://github.com/caddyserver/certmagic) from 0.16.3 to 0.17.1.
- [Release notes](https://github.com/caddyserver/certmagic/releases)
- [Commits](https://github.com/caddyserver/certmagic/compare/v0.16.3...v0.17.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-06 06:10:31 +00:00
Haruue Icymoon
7c9fbf22dd
feat: tcp buffer size options for tun mode
close: #407
2022-08-24 23:26:56 +08:00
Toby
a10abd473f
Merge pull request #409 from HyNetwork/dependabot/go_modules/github.com/caddyserver/certmagic-0.16.3
chore(deps): bump github.com/caddyserver/certmagic from 0.16.2 to 0.16.3
2022-08-20 15:01:05 -07:00
Toby
8960aefca3 chore: update module names (hysteria & quic-go fork) 2022-08-20 11:44:12 -07:00
dependabot[bot]
ac8a27df6e
chore(deps): bump github.com/caddyserver/certmagic from 0.16.2 to 0.16.3
Bumps [github.com/caddyserver/certmagic](https://github.com/caddyserver/certmagic) from 0.16.2 to 0.16.3.
- [Release notes](https://github.com/caddyserver/certmagic/releases)
- [Commits](https://github.com/caddyserver/certmagic/compare/v0.16.2...v0.16.3)

---
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-19 06:08:20 +00:00
Toby
e5e45720bd
Merge branch 'master' into dependabot/go_modules/github.com/oschwald/geoip2-golang-1.8.0 2022-08-10 21:45:26 -07:00
dependabot[bot]
634eb26a4b
chore(deps): bump github.com/oschwald/geoip2-golang from 1.7.0 to 1.8.0
Bumps [github.com/oschwald/geoip2-golang](https://github.com/oschwald/geoip2-golang) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/oschwald/geoip2-golang/releases)
- [Commits](https://github.com/oschwald/geoip2-golang/compare/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/oschwald/geoip2-golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-11 03:53:07 +00:00
dependabot[bot]
943603eb20
chore(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.2 to 1.13.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.2...v1.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-11 03:53:05 +00:00
Haruue Icymoon
0ba4c36bc6
Merge remote-tracking branch 'origin/master' into wip-newtun-license 2022-08-10 18:05:45 +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
3e63cede8a chore: use upstream routedns since they merged my changes 2022-08-06 20:06:37 -07:00
Toby
3f0953ffdd feat: rework resolver support 2022-08-06 19:58:05 -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
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
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
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
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
5e4773a117
Merge branch 'master' into bind_to_device 2022-06-08 20:45:19 -07: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
dependabot[bot]
74276ddab1
chore(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.1 to 1.12.2.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.1...v1.12.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 06:29:14 +00:00
Toby
b36a4d0cd4 feat: update quic-go 2022-05-15 17:10:00 -07:00