Mygod
397bfdf7c1
Merge remote-tracking branch 'origin/caddy2' into v2multiauth
2023-10-29 16:49:27 -04:00
Juan Calderon-Perez
9de71886ab
Fix arg to golangci-lint
2023-10-29 14:25:03 -04:00
Juan Calderon-Perez
fd47e413d5
Increase golangci-lint timeout to 5min
2023-10-29 14:22:09 -04:00
Juan Calderon-Perez
acd1337982
Update golang.org/x/net
2023-10-29 14:19:49 -04:00
Juan Calderon-Perez
2ae345ad70
Cleanup go.sum file
2023-10-29 14:13:51 -04:00
Juan Calderon-Perez
65d059053b
Merge pull request #109 from johnzhanghua/caddy2_fix_tests
...
Caddy2 fix tests
2023-10-29 14:11:16 -04:00
johnzhanghua
5b6051e578
fix probe_resist_test.go test cases, the repose header['Alt-Svc'] is different from different server
...
Signed-off-by: johnzhanghua <johnzhanghua@gmail.com>
2023-09-26 11:32:22 +10:00
johnzhanghua
71e3f6ebe4
fix acl_test.go test cases, restore the acl error logic to be the same as before
...
Signed-off-by: johnzhanghua <johnzhanghua@gmail.com>
2023-09-26 11:32:21 +10:00
Juan Calderon-Perez
d7ab126b73
Update Caddy to v2.7.1
2023-08-02 22:43:35 -04:00
Mygod
6a4bb51efc
Refine error user
2023-07-21 13:57:26 -04:00
Mygod
4e71e857d9
Log invalid user as well
2023-07-19 23:43:13 -04:00
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