Commit graph

871 commits

Author SHA1 Message Date
tobyxdd
baee5689c1 doc: update README 2023-07-07 13:41:27 -07:00
tobyxdd
1b3a718ac8 feat: add a hysteria prefix to env vars to avoid conflicts 2023-07-07 13:40:05 -07:00
tobyxdd
458382dd3d feat: logging environment variables 2023-07-04 13:06:52 -07:00
tobyxdd
7e177a22f7 feat: port forwarding 2023-07-02 15:40:16 -07:00
tobyxdd
8ca414e548 feat: config parsing tests 2023-07-02 12:11:59 -07:00
tobyxdd
e97a81a8a9 chore: change "validate" to "load" 2023-06-30 17:10:51 -07:00
tobyxdd
eb7e91e5ce feat: rework config parsing to use viper unmarshal 2023-06-30 13:16:01 -07:00
tobyxdd
8342827339 chore: update go.work.sum 2023-06-28 20:09:36 -07:00
tobyxdd
16a2294cd1 ci: add build workflow, other GitHub configs, etc. 2023-06-28 19:23:04 -07:00
tobyxdd
cc8a889503 feat: quic close error code 2023-06-27 22:39:16 -07:00
tobyxdd
1317c599b8 feat: bump quic-go version to v0.36.0 2023-06-26 21:46:27 -07:00
tobyxdd
bacc8ff5ed feat: add a 10 sec timeout to default outbound dialer 2023-06-15 20:02:55 -07:00
tobyxdd
1209aa9e11 chore: remove debug print from http test 2023-06-11 16:37:01 -07:00
tobyxdd
b27628607a fix: socks5 udp domain handling bug & add test case for it 2023-06-11 16:34:45 -07:00
tobyxdd
fefabaf739 fix: mode str 2023-06-10 19:10:01 -07:00
tobyxdd
fcb8965987 feat: client http proxy 2023-06-10 19:08:00 -07:00
tobyxdd
4334d8afb8 feat: traffic logger with disconnect 2023-06-08 20:55:08 -07:00
tobyxdd
5b54edd09a feat: traffic logger (wip, disconnect not done) 2023-06-07 22:37:09 -07:00
tobyxdd
901e0480f2 feat: add socks5 server test 2023-06-05 16:27:06 -07:00
tobyxdd
ea29efc298 fix: various python compatibility issues 2023-06-04 22:13:08 -07:00
tobyxdd
635ad9782a feat: add masquerade options & update README 2023-06-04 14:56:35 -07:00
tobyxdd
cefe5d9f76 feat: hyperbole build script 2023-06-04 12:37:17 -07:00
tobyxdd
393e0d00f2 feat: bump quic-go version to v0.35.1 (mod merge done) 2023-06-02 21:30:07 -07:00
tobyxdd
5586303825 feat: bump quic-go version to v0.35.1 (mod wip), change client config format for sni 2023-06-02 16:51:17 -07:00
tobyxdd
41f10a22c4 fix: use random chars for padding to avoid unwanted header compression 2023-05-31 22:11:52 -07:00
tobyxdd
ebb9b3217e feat: add padding to requests & responses 2023-05-31 21:53:15 -07:00
tobyxdd
9f54aade8f hysteria 2 prototype first public release 2023-05-25 20:24:24 -07:00
tobyxdd
c0ab06e961 feat: update quic-go to v0.34.0 2023-05-07 17:19:37 -07:00
tobyxdd
bab6089f0e ci: trigger 2023-04-30 19:45:57 -07:00
tobyxdd
355a5949e2 ci: try fixing CodeQL 2023-04-30 19:39:40 -07:00
tobyxdd
8f310fb798 ci: bump everything to go 1.20 2023-04-30 19:27:26 -07:00
Haruue Icymoon
cbc29ea4e5
ci: fix yaml 2023-05-01 10:01:37 +08:00
Haruue Icymoon
12b27ea1b1
ci: bump go1.20 2023-05-01 09:55:49 +08:00
Haruue Icymoon
17c35f11f8
chore: bump gvisor & tun2socks 2023-04-29 14:50:58 +08:00
Toby
ca07cf6f18
Merge pull request #586 from apernet/dependabot/github_actions/actions/setup-go-4
chore(deps): bump actions/setup-go from 3 to 4
2023-03-17 16:21:10 -07:00
dependabot[bot]
e6b0f0b76d
chore(deps): bump actions/setup-go from 3 to 4
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 07:04:05 +00:00
tobyxdd
b94f8a1eaf docs: 1.3.4 changelog 2023-03-14 19:47:58 -07:00
Haruue Icymoon
779e962d49
fix(redirect_tcp): client got reset under i386
it seems like syscall.Syscall6(SYS_SOCKETCALL, SYS_GETSOCKOPT, ...)
always failed with EFAULT.

so we call syscall.socketcall() instead.

close: #583
2023-03-15 00:21:27 +08:00
tobyxdd
1b3b038728 chore: bump gvisor 2023-03-13 14:18:26 -07:00
tobyxdd
fb2a0da88f feat: update quic-go to v0.33.0, fix go work dependency conflicts 2023-02-26 12:45:43 -08:00
Toby
12cff70aac
Merge pull request #566 from yinyue200/removeUnusedDnsLookup
Remove unnecessary DNS queries in case of SOCKS5 outbound
2023-02-19 12:32:03 -08:00
tobyxdd
8c99fe3754 chore: bump golang.org/x/* versions 2023-02-18 21:08:09 -08:00
Toby
13d46da998
Merge pull request #572 from shadow750d6/master
Add `lazy_start` option.
2023-02-18 20:42:40 -08:00
tobyxdd
20898f2990 chore: change info string 2023-02-18 20:01:01 -08:00
Siyuan Ren
604d4fc652 Add lazy_start option.
When on, the client will not attempt to connect to the server at
startup, only when a connection is initiated.
2023-02-19 11:18:56 +08:00
tobyxdd
1d9fa029c2 fix: set serverAddrs to nil when closing an ObfsUDPHopClientPacketConn to prevent memory leaks 2023-02-14 21:30:45 -08:00
yinyue200
23f1546591 Remove unnecessary DNS queries in case of SOCKS5 outbound 2023-02-13 00:03:03 +08:00
tobyxdd
a48d6ddb7c docs: 1.3.3 changelog 2023-02-07 22:11:37 -08:00
Haruue Icymoon
30e17a40c0
fix: slices mis-reused in socks5UDPConn.ReadFrom
fix: #561
2023-02-07 23:47:11 +08:00
Haruue Icymoon
810bfd7022
fix: ipv4 addr convention in socks5_outbound
fix: #561
2023-02-07 23:30:23 +08:00