Commit graph

76 commits

Author SHA1 Message Date
Mygod
a29f011386 Merge branch 'caddy2' into v2multiauth 2023-07-19 13:33:38 -04:00
Juan Calderon-Perez
2e45608855 Remove go vet 2023-06-26 23:48:14 -04:00
Juan Calderon-Perez
b6d4eb85cd More linter fixes 2023-06-26 23:43:13 -04:00
Juan Calderon-Perez
3a10a41c32 Add more workflows, fix warnings from several linters 2023-06-26 23:35:38 -04:00
Juan Calderon-Perez
0d92f63230 Downgrade qtls-go to v0.2.2 2023-06-25 11:52:47 -04:00
Juan Calderon-Perez
da96a33f48 Fix some of the gosec/golangci-lint issues 2023-06-25 00:50:44 -04:00
Juan Calderon-Perez
5b23d1a2af Remove oldstable from matrix and platforms until tests are stable. 2023-06-25 00:08:25 -04:00
Juan Calderon-Perez
df7dc9533d Update dependencies, add support for Github Actions. Formatting and lint fixes 2023-06-25 00:03:20 -04:00
Mygod
8b5d75a979
Buffer http response instead of writing directly (#106) 2023-05-28 23:42:55 -06:00
Matthew Holt
685d1d0d78
Update dependencies 2023-05-09 13:19:35 -06:00
Matthew Holt
0ea925feff
Start to update README for Caddy 2 2023-05-09 13:19:19 -06:00
Mygod
035199efd1 Add support for printing user id in log 2023-04-27 22:01:42 -04:00
Mygod
51a9bb545b Remove useless fields 2023-04-26 16:42:19 -04:00
Mygod
44bd8c758f Fix multiauth 2023-04-26 16:35:55 -04:00
Juan Calderon-Perez
a7059fa9b0
Merge branch 'master' into caddy2 2023-03-22 08:46:55 -04:00
rentiansheng
8c6ef2bd4a
doc: update readme (#88)
change language to english
2021-10-12 21:46:47 -06:00
klzgrad
7b288bc317
Support HTTP/3 (#80) 2021-06-07 12:06:42 -06:00
Matthew Holt
6d9747a3f1
Fix tls setup code in tests 2021-03-01 13:30:26 -07:00
Sergey Frolov
1e6dbb151c Remove localDialAddr 2021-02-28 16:35:26 -07:00
Sergey Frolov
2a9402b786 Fix TestWhitelistAllowing 2021-02-28 16:16:35 -07:00
Sergey Frolov
75511e6fbe Remove dialLocal 2021-02-28 15:04:44 -07:00
Matthew Holt
84f6867cde
Minor cleanups and tidying 2021-02-24 13:25:55 -07:00
Matthew Holt
509e7ecf8a
Finish updating tests for now 2021-02-08 15:12:37 -07:00
Matthew Holt
9fe12929b4
Run gofmt 2020-12-05 19:07:47 -07:00
Matthew Holt
9bab45d9d1
Merge branch 'master' into caddy2 2020-12-05 19:05:09 -07:00
Sergey Frolov
b3a96fb34d
Golang 1.15 support (#83)
* CI: bump Golang version to 1.15
* Update quic-go mod and it's dependencies
2020-12-05 02:10:08 -07:00
Sergey Frolov
87f2f2ffe0
Fix Probe Resist tests' output 2020-12-04 19:11:43 -07:00
Sergey Frolov
0c30e89e19
TestConnectAuthWrongProbeResist: add debug print 2020-12-04 19:07:04 -07:00
Sergey Frolov
ebb2fce603
revert TestConnectAuthWrongProbeResist
responseProbeResist and responseForwardProxy must be different
2020-12-04 19:00:31 -07:00
Matthew Holt
7b5b582619
General cleanup 2020-12-04 10:15:42 -07:00
klzgrad
8d6f47b4c4
Support v2 Caddyfile (#79)
* Fix probe_resistance config parsing

* Support Caddyfile

* Support HTTP/3

* Revert "Support HTTP/3"

This reverts commit f01c163ad5145cdb0a0756345a259310b2cd50aa.

* Fix review comments

* Update README.md to new directive names

* Use Caddy 2 logger
2020-10-01 21:14:08 -06:00
單dar 于ɦʷa
03a7df4bf7
Fix misuse of sync.Pool (#76) 2020-06-20 11:21:32 -06:00
Matthew Holt
e92fe979d0 Begin refactor for Caddy 2
All the tests pass. I tried to keep as much as possible the same, but a
few things don't translate well to Caddy 2, notably one test in
probe_resist_test.go on L200, I had to change that test case since I
didn't quite understand why it was the way it was before.

Does not yet have v2 Caddyfile support.
2020-04-20 17:22:47 -06:00
stmps
247c0bafaa Minor formatting of README (#69) 2019-10-02 13:52:48 -06:00
sergeyfrolov
f984f4655f
Remove out-of-date comments in header 2019-08-23 22:46:36 -06:00
sergeyfrolov
2c824de707
README: probe resistance update
Remove recommendation for secret links of the probe resistance feature to use *.localhost
2019-08-23 21:36:47 -06:00
sergeyfrolov
05540a763b
Change caddy path to github.com/caddyserver/caddy (#63) 2019-07-06 20:35:37 -06:00
sergeyfrolov
694cbc9ec0
Add realm to Proxy-Authenticate with probe resist (#58)
In #53 we added a realm to the Proxy-Authenticate header, but the realm
only is added, when `probe_resistance` is off.
With this change, Proxy-Authenticate header will have a realm
when `probe_resistance` is on as well.
2019-05-29 12:25:55 -06:00
Sergey Frolov
7af135a175 Doc update 2019-05-01 00:36:59 -06:00
Sergey Frolov
04b4aab23b Add go installable cmd/caddy 2019-05-01 00:36:50 -06:00
sergeyfrolov
b6aa109176
Go modularize forwardproxy (#56) 2019-04-30 15:27:41 -06:00
Sergey Frolov
77cd5d827e Fix up the tests after TLS changes in Caddy 2019-02-03 17:23:15 -07:00
Sergey Frolov
ae59fae1dc Add realm to Proxy-Authenticate header
Resolves #52

Squid's default realm is "Squid proxy-caching web server",
so I decided to give descriptive realm to Caddy as well.
2019-02-03 17:23:15 -07:00
sergeyfrolov
3dd9971580
Expand README, clarify about reverse proxy 2018-10-29 14:39:40 -06:00
sergeyfrolov
9bc935b615
CI: update link to golint 2018-10-12 12:49:31 -06:00
sergeyfrolov
9777d5b316
README: add build instructions 2018-10-12 12:36:38 -06:00
sergeyfrolov
05b2092e07
Add http.Transport + performance improvements (#47)
Add http.Transport + performance improvements
2018-08-17 17:01:52 -04:00
sergeyfrolov
4c991a9635
README: add gitter badge 2018-08-08 16:35:00 -04:00
Sergey Frolov
6bf4c3f426 Bump CI golang version 2018-08-02 10:40:04 -04:00
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