Niko Marmeladkov
b30a0cfbae
forwardproxy: add probe_resistance_auth_external for use with external auth
...
Build / build_caddy_with_naive (push) Has been cancelled
Add a new field ProbeResistanceAuthExternal that allows probe_resistance
to work without auth_credentials configured in forwardproxy itself.
This enables setups where authentication is handled externally (e.g. via
Caddy's forward_auth directive placed before forward_proxy in the route
order).
- New field: ProbeResistanceAuthExternal (bool)
- Provision() now skips the probe_resistance requires authentication
check when this flag is set
- Mutually exclusive with auth_credentials
- Caddyfile subdirective: probe_resistance_auth_external
2026-06-17 17:22:33 +03:00
klzgrad
d62c80d3dd
Add build workflow
2025-01-18 08:21:10 +08:00
klzgrad
8563441787
Add Naive padding protocol v1
2025-01-18 08:20:42 +08:00
Francis Lavoie
b9def71846
Implement disable_insecure_upstreams_check ( #149 )
2025-01-16 11:47:57 -05:00
dependabot[bot]
8f8155f3c1
Bump golangci/golangci-lint-action from 4 to 6 ( #128 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 4 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v4...v6 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-15 18:23:27 -05:00
Francis Lavoie
c27518cc0d
Configurable idle conn counts for connection pooling ( #148 )
...
* Configurable idle conn counts for connection pooling
* Bump deps
toolchain
* Disable govulncheck (mostly noisy, misleading)
* Register directive order
2025-01-15 16:45:03 -05:00
WeidiDeng
822a51a0cf
write status then hijack ( #126 )
2025-01-15 07:17:41 -07:00
Mygod
02be81e696
Improve performance for ACL ( #113 )
...
This also in some sense mitigates DoS attacks by flooding servers with a lot of denied hostnames, which could lead to overloading the DNS services.
Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
2024-07-18 14:08:34 -06:00
Juan Calderon-Perez
ec0619230b
Merge pull request #117 from caddyserver/dependabot/go_modules/golang.org/x/net-0.22.0
...
Bump golang.org/x/net from 0.21.0 to 0.22.0
2024-03-14 08:48:30 -04:00
dependabot[bot]
3b9f696756
Bump golang.org/x/net from 0.21.0 to 0.22.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.22.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-14 00:12:14 +00:00
Juan Calderon-Perez
112b8ba3f4
Merge pull request #121 from caddyserver/dependabot/go_modules/google.golang.org/protobuf-1.33.0
...
Bump google.golang.org/protobuf from 1.31.0 to 1.33.0
2024-03-13 19:44:03 -04:00
dependabot[bot]
6fb8376281
Bump google.golang.org/protobuf from 1.31.0 to 1.33.0
...
Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-13 23:34:00 +00:00
Juan Calderon-Perez
2684b29dc1
Merge pull request #120 from caddyserver/dependabot/go_modules/github.com/jackc/pgx/v4-4.18.2
...
Bump github.com/jackc/pgx/v4 from 4.18.0 to 4.18.2
2024-03-13 19:31:28 -04:00
dependabot[bot]
3a43b3a6c8
Bump github.com/jackc/pgx/v4 from 4.18.0 to 4.18.2
...
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx ) from 4.18.0 to 4.18.2.
- [Changelog](https://github.com/jackc/pgx/blob/v4.18.2/CHANGELOG.md )
- [Commits](https://github.com/jackc/pgx/compare/v4.18.0...v4.18.2 )
---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-12 15:27:59 +00:00
klzgrad
886ca7867c
Update README.md ( #114 )
2024-03-05 17:29:10 -07:00
Juan Calderon-Perez
c8ab19b557
Merge pull request #115 from caddyserver/dependabot/go_modules/go.uber.org/zap-1.27.0
...
Bump go.uber.org/zap from 1.26.0 to 1.27.0
2024-02-21 19:44:19 -05:00
dependabot[bot]
9d71b4a2d6
Bump go.uber.org/zap from 1.26.0 to 1.27.0
...
Bumps [go.uber.org/zap](https://github.com/uber-go/zap ) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/uber-go/zap/releases )
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber-go/zap/compare/v1.26.0...v1.27.0 )
---
updated-dependencies:
- dependency-name: go.uber.org/zap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-21 18:13:12 +00:00
Juan Calderon-Perez
0e22ef58bf
Merge pull request #112 from caddyserver/dependabot/github_actions/golangci/golangci-lint-action-4
...
Bump golangci/golangci-lint-action from 3 to 4
2024-02-12 09:28:22 -05:00
dependabot[bot]
34f183ec94
Bump golangci/golangci-lint-action from 3 to 4
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 14:23:33 +00:00
Matt Holt
a09e685335
Merge pull request #74 from caddyserver/caddy2
...
Add support for Caddy 2
2024-02-12 07:22:59 -07:00
Juan Calderon-Perez
bf7eb31051
Use golangci-lint setup from caddyserver/server. Fix all issues
2024-02-11 23:32:13 -05:00
Juan Calderon-Perez
46e92f5552
Remove go1.20 from workflows
2024-02-11 23:20:27 -05:00
Juan Calderon-Perez
284b21735a
Bump quic-go to v0.41.0
2024-02-11 23:19:39 -05:00
Juan Calderon-Perez
32f2633e44
Update workflows to use go-stable. Remove staticcheck workflow
2024-02-11 23:17:44 -05:00
Juan Calderon-Perez
558230fe8f
Bump dependencies. Add go1.22
2024-02-11 23:13:41 -05:00
Juan Calderon-Perez
3befe5131e
Remove macos from platforms
2024-01-27 00:29:56 -05:00
Juan Calderon-Perez
5ab96ca1de
Add platforms to CI
...
Verify if tests can run on different platforms
2024-01-27 00:16:58 -05:00
WeidiDeng
90e3711f5b
migrate from http.Hijacker to http.NewResponseController
2024-01-19 15:06:24 +08:00
WeidiDeng
9c191f5301
migrate from http.Flusher to http.NewResponseController
2024-01-17 16:44:03 +08:00
Juan Calderon-Perez
2f2742b226
Bump github-actions
2024-01-09 00:13:10 -05:00
Juan Calderon-Perez
31f01c98ca
Merge pull request #99 from Mygod/v2multiauth
...
Fix multiauth for caddy2
2023-11-05 14:50:54 -05:00
Mygod
5b0898c8e8
Remove useless field
2023-11-05 10:04:09 -05:00
Mygod
226c444d94
Remove duplicate code
2023-11-05 10:01:10 -05:00
Mygod
9976c57edb
Oops
2023-11-02 15:03:05 -04:00
Mygod
611a43963a
Fix encoded len
2023-11-02 14:57:39 -04:00
Mygod
cd93f0ed51
Fix upstream creds in test
2023-11-02 14:55:11 -04:00
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