14 Commits

Author SHA1 Message Date
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