Commit graph

27 commits

Author SHA1 Message Date
Sergey Frolov
a035ebe8d6 Change DialTLS signature
Make it look closer to standard Transport.DialTLS, because it's good to be
like standard things.
This also allows usage of thrid party TLS stacks, enabling
https://github.com/refraction-networking/utls.Roller integration.
2018-08-02 10:40:04 -04:00
sergeyfrolov
9ab4d8910e
Fix h2 tests (#42)
Fix tests: start actually using http2 in tests
2018-07-27 12:29:12 -04:00
sergeyfrolov
27401ebe3f
Add HTTPConnectDialer for upstream requests (#41)
- HTTP/2 support with connection reuse support
 - Allows to forward client's IP
2018-07-24 17:14:51 -04:00
sergeyfrolov
99689c1ec3
Make issue template forwardproxy specific 2018-07-06 11:49:27 -04:00
Sergey Frolov
3e8b65c3af Parse Host field
We stopped parsing hostname from Host field, this fixes it back.
Implicit port 80 is good not only for GET, so I changed the logic to try
port 80 on all non-connects.
While testing, I also realized that switchy omega doesn't actually presend credentials,
(somehow I thought it did), so I removed a link to it from the README.md to avoid
confusion.
Fixes #36
2018-07-03 13:09:44 -04:00
sergeyfrolov
7791846e12
Add Access Control Lists (#31)
We settled on a powerful, but a bit complicated acl design.
This commit makes a couple of cosmetic improvements. It also removes
http.Transport, which was previously used to dial and write http
requests for insecure GET requests. Now we have to dial manually,
so we can check the access control list.
2018-06-26 10:53:24 -04:00
sergeyfrolov
9ff8f882ff
Add upstream proxy support, fix tests, cosmetics (#27) 2018-06-15 16:36:08 -04:00
Sergey Frolov
6c88222892 Upgrade Travis CI golang version from 1.8 to 1.9 2018-02-04 11:27:30 -07:00
Sergey Frolov
e5b9ea4b7d Add contributing guide, PR and issue templates 2018-02-04 11:24:50 -07:00
sergeyfrolov
91e13119f3
Set HiddenPage's Content-Type to text/html (#19)
Subsumes #16
2018-01-31 06:50:59 -07:00
Jim Ma
12605a2195 Reuse the original request, avoid the abnormal ContentLength
Fixes: abnormal ContentLength; empty schema due to the out of position check.
Handling of  HTTP GET requests: original request and URL are now reused. `generateForwardRequest()` is removed for simplicity.
2017-12-08 14:48:49 -07:00
sergeyfrolov
0aa89fbcd7
README: add CI build status 2017-11-30 14:45:34 -07:00
sergeyfrolov
f02ca52169
Update .travis.yml 2017-11-30 14:41:08 -07:00
Sergey Frolov
b4141bbbc6 gofmt 2017-11-30 12:29:35 -07:00
Sergey Frolov
f606760cc4 Add option to hide "Via" header
Partially implements #8.
2017-11-27 11:23:05 -07:00
sergeyfrolov
b48024bc77
README: add note for secret link to be visitable 2017-11-27 11:02:19 -07:00
Sergey Frolov
362cf568a0 Add warning for uppercase secret domain
Partially addresses #7
2017-11-27 10:34:01 -07:00
sergeyfrolov
c54dd8ff23
Add notice about WebRTC to hide_ip section 2017-11-10 21:14:15 -07:00
sergeyfrolov
a4a240315c
More tweaks to README 2017-11-01 18:20:38 -06:00
Matt Holt
79d988ac98
More clarifications and tweaks to README 2017-11-01 17:50:45 -06:00
Matt Holt
9a62265039
Improve readme formatting and clarify a few points 2017-11-01 17:25:12 -06:00
sergeyfrolov
55b7450e88
Merge pull request #6 from caddyserver/pac-direct-localhost
PAC file: configure to access localhost directly
2017-10-31 16:13:31 -06:00
Sergey Frolov
e1f14eab88 PAC file: configure to access localhost directly
Implements #5
2017-10-31 16:02:52 -06:00
Sergey Frolov
d9cdae3398 go vet fixes 2017-08-18 19:20:32 -04:00
Sergey Frolov
dbaf326869 experimental_probe_resist -> probe_resistance 2017-08-18 19:20:32 -04:00
Sergey Frolov
f2019d57c4 Serve PAC files from memory 2017-08-18 19:20:32 -04:00
Sergey Frolov
9e92549830 Initial commit 2017-08-18 19:20:20 -04:00