Toby
7ce4bf7dbe
chore: update module name
2022-11-16 22:57:35 -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
Toby
8960aefca3
chore: update module names (hysteria & quic-go fork)
2022-08-20 11:44:12 -07:00
Toby
1462cadfdc
format: gofumpt
2022-08-13 11:04:28 -07:00
Toby
e9974b0398
ACL protocol & port support
2022-05-11 17:26:39 -07:00
Toby
fba6cf7a1c
feat: server SOCKS5 outbound domain passthrough
2022-04-14 00:11:44 -07:00
Toby
841810d6ca
feat: transport refactorization
2022-01-23 17:00:02 -08:00
Toby
3667778ca7
Fix import cycles
2021-04-27 20:18:43 -07:00
Toby
5ac95d987a
Use core.Transport
2021-04-27 20:14:43 -07:00
Toby
4da73888f4
Transport WIP
2021-04-26 17:34:08 -07:00
Toby
70fd2ffc0d
ACL for TCP TProxy
2021-04-24 15:36:19 -07:00
Toby
b09880a050
Split host & port in the protocol, and make each domain resolves only once even when ACL is enabled, improving performance and ensuring consistency of connection destinations
2021-04-19 00:20:22 -07:00
Toby
4bb5982960
Implemented UDP for both server & client
2021-03-27 16:51:15 -07:00
Toby
565d659338
Relay & better logging
2021-02-05 01:00:44 -08: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
05a34f8f92
Simplify code
2020-10-02 18:23:47 -07:00
Toby
c456079be1
Have to use Dial (not DialContext) to make goproxy happy
2020-08-07 18:40:33 -07:00
Toby
d3ad171761
Disable HTTP auth when no username/password is set
2020-08-07 18:36:13 -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
mritd
ca1f1fdcab
feat(client): add http basic auth
...
add http basic auth
ref tobyxdd/hysteria#15
Signed-off-by: mritd <mritd@linux.com>
2020-08-07 14:12:01 +08:00
Toby
f65e532957
HTTP proxy implementation
2020-05-13 20:43:46 -07:00