832 Commits

Author SHA1 Message Date
Toby
2bef487bbb
Update en_feature_request.yaml 2022-10-19 10:35:42 -07:00
Toby
9ad19fdc9f chore: retry / retry interval are optional too 2022-10-18 21:22:26 -07:00
dependabot[bot]
bda076694a
chore(deps): bump docker/build-push-action from 3.1.1 to 3.2.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3.1.1...v3.2.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-10-13 06:09:53 +00:00
dependabot[bot]
eb966ec162
chore(deps): bump docker/login-action from 2.0.0 to 2.1.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2.0.0...v2.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-13 06:09:51 +00: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
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
870cf6ed01 chore: update README 2022-10-07 13:54:41 -07:00
Toby
42d58c97e6
Merge pull request #452 from HyNetwork/dependabot/go_modules/github.com/caddyserver/certmagic-0.17.2
chore(deps): bump github.com/caddyserver/certmagic from 0.17.1 to 0.17.2
2022-10-04 14:12:18 -07: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
03e397b152 chore: update CHANGELOG for 1.2.1 & minor code formatting update 2022-09-09 18:24:12 -07:00
Toby
1d756528a8
Merge pull request #424 from DumAdudus/master
Fix wechat protocol is not working if no obfs string is configured
2022-09-09 18:12:44 -07:00
Toby
f476ad3f67 minor code changes 2022-09-09 18:10:02 -07: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
Toby
249fb061d4
Merge pull request #430 from HyNetwork/dependabot/go_modules/github.com/spf13/viper-1.13.0
chore(deps): bump github.com/spf13/viper from 1.12.0 to 1.13.0
2022-09-09 17:50:52 -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
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
Brian Ma
f22705be2c Fix wechat protocol is not working if no obfs string is configured 2022-09-02 11:09:38 +08: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
f7de18fd43
chore: a better approach for http proxy error log 2022-08-25 00:53:52 +08: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
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
aad4c44b3d chore: update CHANGELOG for 1.2.0 2022-08-13 18:58:23 -07:00
Toby
944c0ecf64 fix: resolve_preference should only assign each ip once 2 2022-08-13 11:48:09 -07:00
Toby
88099ee72d fix: resolve_preference should only assign each ip once 2022-08-13 11:39:40 -07:00
Toby
1462cadfdc format: gofumpt 2022-08-13 11:04:28 -07:00
Haruue Icymoon
4747be198e
fix: resolve_preference not work 2022-08-13 22:05:07 +08:00
Toby
1b2eb49da1
Merge pull request #398 from HyNetwork/wip-log-ipmask
feat: IP masks
2022-08-12 18:03:50 -07:00
Toby
fbfd933fac feat: ip mask for client side 2022-08-11 21:25:47 -07:00
Toby
ab2ad4aa6d chore: fix license badge 2022-08-10 22:00:11 -07:00
Toby
ad095e4545 feat: ip mask (wip, server only atm) 2022-08-10 21:56:47 -07:00
Toby
12c20211b0
Merge pull request #392 from HyNetwork/dependabot/go_modules/github.com/oschwald/geoip2-golang-1.8.0
chore(deps): bump github.com/oschwald/geoip2-golang from 1.7.0 to 1.8.0
2022-08-10 21:54:31 -07: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
Toby
8f5ec1aac2
Merge pull request #393 from HyNetwork/dependabot/github_actions/docker/build-push-action-3.1.1
chore(deps): bump docker/build-push-action from 3.1.0 to 3.1.1
2022-08-10 21:44:42 -07:00
Toby
cdc874a608
Merge pull request #391 from HyNetwork/dependabot/go_modules/github.com/prometheus/client_golang-1.13.0
chore(deps): bump github.com/prometheus/client_golang from 1.12.2 to 1.13.0
2022-08-10 21:44:30 -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
Toby
bd9f3e5846
Merge pull request #395 from HyNetwork/wip-newtun-license
Switch tun2socks implementation to xjasonlyu/tun2socks for TUN mode
2022-08-10 20:52:11 -07:00
Toby
45eacaf886 ci: remove xgo usage (as we no longer need cgo) 2022-08-10 20:30:49 -07:00
Toby
b3608956be chore: minor change to log text 2022-08-10 20:30:26 -07:00