106 Commits

Author SHA1 Message Date
Toby
5b90ac21fa
Merge pull request #298 from HyNetwork/dependabot/go_modules/github.com/fsnotify/fsnotify-1.5.3
chore(deps): bump github.com/fsnotify/fsnotify from 1.5.1 to 1.5.3
2022-04-26 11:26:42 -07:00
dependabot[bot]
9dedd533d6
chore(deps): bump github.com/caddyserver/certmagic from 0.16.0 to 0.16.1
Bumps [github.com/caddyserver/certmagic](https://github.com/caddyserver/certmagic) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/caddyserver/certmagic/releases)
- [Commits](https://github.com/caddyserver/certmagic/compare/v0.16.0...v0.16.1)

---
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-04-25 06:10:45 +00:00
dependabot[bot]
6366e54001
chore(deps): bump github.com/fsnotify/fsnotify from 1.5.1 to 1.5.3
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.5.1 to 1.5.3.
- [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.1...v1.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-22 06:10:58 +00:00
Toby
877affec42 feat: update quic-go to 0.27.0 2022-04-14 19:51:08 -07:00
dependabot[bot]
8d019bd24d
chore(deps): bump github.com/spf13/viper from 1.10.1 to 1.11.0
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.10.1 to 1.11.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.10.1...v1.11.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-04-14 06:12:08 +00:00
dependabot[bot]
12f4ee4642
chore(deps): bump github.com/oschwald/geoip2-golang from 1.6.1 to 1.7.0
Bumps [github.com/oschwald/geoip2-golang](https://github.com/oschwald/geoip2-golang) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/oschwald/geoip2-golang/releases)
- [Commits](https://github.com/oschwald/geoip2-golang/compare/v1.6.1...v1.7.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-03-30 05:11:53 +00:00
dependabot[bot]
6824e7463a
chore(deps): bump github.com/caddyserver/certmagic from 0.15.4 to 0.16.0
Bumps [github.com/caddyserver/certmagic](https://github.com/caddyserver/certmagic) from 0.15.4 to 0.16.0.
- [Release notes](https://github.com/caddyserver/certmagic/releases)
- [Commits](https://github.com/caddyserver/certmagic/compare/v0.15.4...v0.16.0)

---
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-03-28 06:10:52 +00:00
dependabot[bot]
2ddff2692b
chore(deps): bump github.com/spf13/cobra from 1.3.0 to 1.4.0
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.3.0...v1.4.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-03-11 06:09:59 +00:00
dependabot[bot]
2175a040fd
chore(deps): bump github.com/caddyserver/certmagic from 0.15.3 to 0.15.4
Bumps [github.com/caddyserver/certmagic](https://github.com/caddyserver/certmagic) from 0.15.3 to 0.15.4.
- [Release notes](https://github.com/caddyserver/certmagic/releases)
- [Commits](https://github.com/caddyserver/certmagic/compare/v0.15.3...v0.15.4)

---
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-03-08 06:08:13 +00:00
Toby
0d93790ec4 chore: bump elazarl/goproxy version 2022-02-27 14:33:14 -08:00
Toby
836b9b6a54 chore: bump txthinking/socks5 version 2022-02-25 18:18:41 -08:00
Toby
6efa976a56 feat wip: bump protocol version & quic-go version, frag & defrag implementation 2022-02-25 00:14:22 -08:00
Toby
7466b69cce feat: re-enable PMTUD on Windows & Linux 2022-02-19 23:21:13 -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
dependabot[bot]
ad0f61391b
chore(deps): bump github.com/caddyserver/certmagic from 0.15.2 to 0.15.3
Bumps [github.com/caddyserver/certmagic](https://github.com/caddyserver/certmagic) from 0.15.2 to 0.15.3.
- [Release notes](https://github.com/caddyserver/certmagic/releases)
- [Commits](https://github.com/caddyserver/certmagic/compare/v0.15.2...v0.15.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-02-02 06:13:55 +00:00
dependabot[bot]
a76eb04d41
chore(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.0 to 1.12.1.
- [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.0...v1.12.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-01-31 06:09:40 +00:00
dependabot[bot]
75d87fc362
chore(deps): bump github.com/oschwald/geoip2-golang from 1.5.0 to 1.6.1
Bumps [github.com/oschwald/geoip2-golang](https://github.com/oschwald/geoip2-golang) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/oschwald/geoip2-golang/releases)
- [Commits](https://github.com/oschwald/geoip2-golang/compare/v1.5.0...v1.6.1)

---
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-01-28 06:14:15 +00:00
dependabot[bot]
dce4ff22e6
chore(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.11.0 to 1.12.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.11.0...v1.12.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-01-20 06:12:53 +00: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
029ede79d3 bump quic-go to v0.24.0 2021-12-16 17:26:24 -08:00
Toby
4872004a5c feat: experimental faketcp implementation 2021-12-15 16:46:20 -08:00
dependabot[bot]
108c9b49c7
Bump github.com/caddyserver/certmagic from 0.15.1 to 0.15.2
Bumps [github.com/caddyserver/certmagic](https://github.com/caddyserver/certmagic) from 0.15.1 to 0.15.2.
- [Release notes](https://github.com/caddyserver/certmagic/releases)
- [Commits](https://github.com/caddyserver/certmagic/compare/v0.15.1...v0.15.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>
2021-11-09 06:21:42 +00:00
dependabot[bot]
a08ccc228c
Bump github.com/caddyserver/certmagic from 0.15.0 to 0.15.1
Bumps [github.com/caddyserver/certmagic](https://github.com/caddyserver/certmagic) from 0.15.0 to 0.15.1.
- [Release notes](https://github.com/caddyserver/certmagic/releases)
- [Commits](https://github.com/caddyserver/certmagic/compare/v0.15.0...v0.15.1)

---
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>
2021-10-13 06:23:29 +00:00
dependabot[bot]
d53f2a22db
Bump github.com/caddyserver/certmagic from 0.14.5 to 0.15.0
Bumps [github.com/caddyserver/certmagic](https://github.com/caddyserver/certmagic) from 0.14.5 to 0.15.0.
- [Release notes](https://github.com/caddyserver/certmagic/releases)
- [Commits](https://github.com/caddyserver/certmagic/compare/v0.14.5...v0.15.0)

---
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>
2021-10-01 06:19:51 +00:00
dependabot[bot]
2d252b5ba8
Bump github.com/caddyserver/certmagic from 0.14.4 to 0.14.5
Bumps [github.com/caddyserver/certmagic](https://github.com/caddyserver/certmagic) from 0.14.4 to 0.14.5.
- [Release notes](https://github.com/caddyserver/certmagic/releases)
- [Commits](https://github.com/caddyserver/certmagic/compare/v0.14.4...v0.14.5)

---
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>
2021-09-06 06:22:53 +00:00
dependabot[bot]
2127dd08ba
Bump github.com/caddyserver/certmagic from 0.14.1 to 0.14.4
Bumps [github.com/caddyserver/certmagic](https://github.com/caddyserver/certmagic) from 0.14.1 to 0.14.4.
- [Release notes](https://github.com/caddyserver/certmagic/releases)
- [Commits](https://github.com/caddyserver/certmagic/compare/v0.14.1...v0.14.4)

---
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>
2021-08-31 06:17:35 +00:00
dependabot[bot]
825ecff5cf
Bump github.com/lucas-clemente/quic-go from 0.20.1 to 0.22.0
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go) from 0.20.1 to 0.22.0.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases)
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md)
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.20.1...v0.22.0)

---
updated-dependencies:
- dependency-name: github.com/lucas-clemente/quic-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-29 04:33:50 +00:00
Toby
c32ac17f62 Bump quic-go to v0.22.0 & remove SetDontFragment (as it's implemented in quic-go already) 2021-07-28 21:18:43 -07:00
dependabot[bot]
eb57aaf2ad
Bump github.com/caddyserver/certmagic from 0.14.0 to 0.14.1
Bumps [github.com/caddyserver/certmagic](https://github.com/caddyserver/certmagic) from 0.14.0 to 0.14.1.
- [Release notes](https://github.com/caddyserver/certmagic/releases)
- [Commits](https://github.com/caddyserver/certmagic/compare/v0.14.0...v0.14.1)

---
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>
2021-07-12 06:16:36 +00:00
dependabot[bot]
73aa3e5e20
Bump github.com/prometheus/client_golang from 1.10.0 to 1.11.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.10.0...v1.11.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>
2021-06-16 07:34:19 +00:00
dependabot[bot]
6ac1517e72
Bump github.com/caddyserver/certmagic from 0.13.1 to 0.14.0
Bumps [github.com/caddyserver/certmagic](https://github.com/caddyserver/certmagic) from 0.13.1 to 0.14.0.
- [Release notes](https://github.com/caddyserver/certmagic/releases)
- [Commits](https://github.com/caddyserver/certmagic/compare/v0.13.1...v0.14.0)

---
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>
2021-06-14 08:24:52 +00:00
Toby
078f860174
Merge pull request #75 from HyNetwork/wip-tun
TUN
2021-05-08 18:09:53 -07:00
Toby
912fb07cda
Merge branch 'wip-cli' into master 2021-05-06 18:06:54 -07:00
dependabot[bot]
04b142ef29
Bump github.com/caddyserver/certmagic from 0.13.0 to 0.13.1
Bumps [github.com/caddyserver/certmagic](https://github.com/caddyserver/certmagic) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/caddyserver/certmagic/releases)
- [Commits](https://github.com/caddyserver/certmagic/compare/v0.13.0...v0.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 08:30:24 +00:00
mritd
77392ccf98
feat(cmd): add POSIX command line style support
add POSIX command line style support

Signed-off-by: mritd <mritd@linux.com>
2021-05-03 20:44:26 +08:00
Haruue Icymoon
13ec19cbfe
Implement TUN, no ACL support yet 2021-05-03 11:22:43 +08:00
Toby
0c887e0634 Update dependencies & use better log formatter 2021-04-28 15:55:14 -07:00
Toby
d1e9daea49 ACME implementation 2021-04-28 00:45:59 -07:00
Toby
ac1233a6f9 Bump quic-go to v0.20.1 2021-04-27 22:24:38 -07:00
Toby
787ed14c4d TCP TProxy implementation, no UDP or ACL support yet 2021-04-24 02:56:17 -07:00
Toby
6ddcbdc01d Implement Prometheus metrics 2021-04-10 18:01:56 -07:00
Toby
01c7d18211 Update to support quic-go v0.20.0 APIs 2021-03-21 15:08:48 -07:00
Toby
7d280393a3 Most things work fine now, except:
- UDP support has been temporarily removed, pending upstream QUIC library support for unreliable messages
- SOCKS5 server needs some rework
- Authentication
2021-01-29 00:01:32 -08:00
Toby
d9d07a5b2a use new quic-go mod version 2021-01-26 21:34:49 -08:00
Toby
becf5893f4 TQUIC 3 2020-08-29 16:03:17 -07:00
mritd
fad7cf0206
feat(client): support https proxy
support https proxy
use the built-in basic auth extension

ref tobyxdd/hysteria#14 tobyxdd/hysteria#15

Signed-off-by: mritd <mritd@linux.com>
2020-08-07 18:11:44 +08:00
Toby
4bc61cea61 Change the logging system to Logrus 2020-07-06 14:01:45 -07:00
Toby
55e029f8ad Update quic-go 2020-06-08 15:14:12 -07:00
Toby
f65e532957 HTTP proxy implementation 2020-05-13 20:43:46 -07:00