Commit Graph

4407 Commits

Author SHA1 Message Date
Syed Azeez
bc0467d1c0 test(multisocket): deflake restart by using a fresh port and coordinated cleanup (#7438)
Avoid transient EADDRINUSE and a previous negative WaitGroup panic:
- restart onto a different free port
- no Stop() around Restart()
- channel-coordinated Stop of the new instance

Fixes #7311

Signed-off-by: Syed Azeez <syedazeez337@gmail.com>
2025-08-11 11:07:09 -07:00
Ville Vesilehto
fff39399e0 chore: update Go version to 1.24.6 (#7437) 2025-08-09 11:34:29 +03:00
Qasim Sarfraz
712a5050bd plugin/header: Remove deprecated syntax (#7436)
Signed-off-by: Qasim Sarfraz <qasimsarfraz@microsoft.com>
2025-08-08 15:38:41 -07:00
Olli Janatuinen
52639bc66c plugin/loadbalance: support prefer option (#7433)
Signed-off-by: Olli Janatuinen <olli.janatuinen@gmail.com>
2025-08-05 11:34:38 -07:00
Ilya Kulakov
dc8f3b08e5 Improve caddy.GracefulServer conformance checks (#7416)
Signed-off-by: Ilya Kulakov <kulakov.ilya@gmail.com>
2025-08-05 11:34:20 -07:00
Yong Tang
463fd1c1b3 Update for upcoming 1.12.3 (#7434)
Update notes for upcoming 1.12.3 for additional authors and changes included

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
v1.12.3
2025-08-05 09:32:55 -07:00
Brennan Kinney
a5388133de chore: Minor changes to Dockerfile (#7428)
- `-qq` implies `-y` for `apt-get`. Also there never was `-yy`, only `-y`.
- `--no-install-recommends` added at the request of review feedback.
- Add a reference comment for better context of why `WORKDIR` is explicitly set to the default, as this was a fix for an implicit change when the base image was adjusted (_originally a breaking change for users of the image at the time_).

Signed-off-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2025-08-04 16:54:18 -07:00
Guillaume Jacquet
1025a199e9 Properly create hostname from IPv6 (#7431)
Generate valid hostname from IPv6 when the address ends with `::`.

Signed-off-by: Guillaume Jacquet <guillaume.jacquet@gmail.com>
2025-08-04 16:53:40 -07:00
Yong Tang
17020f09a8 Bump version to 1.12.3 (#7429)
This PR bumps version to 1.12.3 for preparation of the next release.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2025-08-04 16:53:19 -07:00
harshith-2411-2002
6ba43927b6 fix: handle cached connection closure in forward plugin (#7427) 2025-07-28 12:06:26 -07:00
houpo-bob
2c2b075eaa refactor: use slices.Equal to simplify code (#7426) 2025-07-28 12:04:53 -07:00
dependabot[bot]
1a30dd9695 build(deps): bump google.golang.org/api from 0.241.0 to 0.242.0 (#7420)
---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.242.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-22 15:17:24 -07:00
dependabot[bot]
11c73188a9 build(deps): bump github.com/aws/aws-sdk-go-v2/service/route53 (#7422)
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/route53
  dependency-version: 1.53.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-22 15:17:16 -07:00
dependabot[bot]
ea953aa558 build(deps): bump github.com/aws/aws-sdk-go-v2/service/secretsmanager (#7424) 2025-07-22 12:24:29 -07:00
dependabot[bot]
0024dae885 build(deps): bump github.com/quic-go/quic-go from 0.53.0 to 0.54.0 (#7423) 2025-07-21 13:57:28 -07:00
dependabot[bot]
39ab8139e3 build(deps): bump github.com/aws/aws-sdk-go-v2/config (#7417) 2025-07-21 13:56:43 -07:00
dependabot[bot]
6924697a67 build(deps): bump github/codeql-action from 3.29.2 to 3.29.3 (#7425) 2025-07-21 18:50:41 +03:00
Syed Azeez
1981f22170 plugin/test: fix TXT record comparison for multi-chunk vs multiple records (#7413) 2025-07-15 05:11:25 -07:00
dependabot[bot]
d5932041f7 build(deps): bump github.com/miekg/dns from 1.1.66 to 1.1.67 (#7406)
* build(deps): bump github.com/miekg/dns from 1.1.66 to 1.1.67

Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.66 to 1.1.67.
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](https://github.com/miekg/dns/compare/v1.1.66...v1.1.67)

---
updated-dependencies:
- dependency-name: github.com/miekg/dns
  dependency-version: 1.1.67
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix build failure

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yong Tang <yong.tang.github@outlook.com>
2025-07-14 22:48:29 -07:00
dependabot[bot]
741e17728b build(deps): bump the go-etcd-io group with 2 updates (#7411)
Bumps the go-etcd-io group with 2 updates: [go.etcd.io/etcd/api/v3](https://github.com/etcd-io/etcd) and [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd).


Updates `go.etcd.io/etcd/api/v3` from 3.6.1 to 3.6.2
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.6.1...v3.6.2)

Updates `go.etcd.io/etcd/client/v3` from 3.6.1 to 3.6.2
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.6.1...v3.6.2)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/api/v3
  dependency-version: 3.6.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-etcd-io
- dependency-name: go.etcd.io/etcd/client/v3
  dependency-version: 3.6.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-etcd-io
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-14 19:35:15 -07:00
dependabot[bot]
1e87f43530 build(deps): bump golang.org/x/crypto from 0.39.0 to 0.40.0 (#7412)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.39.0 to 0.40.0.
- [Commits](https://github.com/golang/crypto/compare/v0.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-14 19:35:03 -07:00
dependabot[bot]
222cf2ce28 build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.74.2 to 1.74.3 (#7409)
Bumps gopkg.in/DataDog/dd-trace-go.v1 from 1.74.2 to 1.74.3.

---
updated-dependencies:
- dependency-name: gopkg.in/DataDog/dd-trace-go.v1
  dependency-version: 1.74.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-14 19:16:48 -07:00
dependabot[bot]
52d0f839ab build(deps): bump google.golang.org/api from 0.240.0 to 0.241.0 (#7408)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.240.0 to 0.241.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.240.0...v0.241.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.241.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-14 19:16:36 -07:00
dependabot[bot]
aaeb09d304 build(deps): bump github.com/oschwald/geoip2-golang (#7407) 2025-07-14 18:58:32 -07:00
dependabot[bot]
e90db8e666 build(deps): bump github.com/quic-go/quic-go from 0.52.0 to 0.53.0 (#7392) 2025-07-14 18:57:36 -07:00
Syed Azeez
d8906ce610 plugin/file: preserve case in SRV record names and targets per RFC 6763 (#7402) 2025-07-14 18:56:59 -07:00
Ville Vesilehto
ff88ad37f7 chore: bump Go to 1.24.5 (#7405)
To address security and bug fixes.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-07-14 08:39:10 +02:00
dependabot[bot]
d129a8acd0 build(deps): bump github.com/aws/aws-sdk-go-v2/service/route53 (#7399)
Bumps [github.com/aws/aws-sdk-go-v2/service/route53](https://github.com/aws/aws-sdk-go-v2) from 1.52.2 to 1.53.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ecs/v1.52.2...service/s3/v1.53.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/route53
  dependency-version: 1.53.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-07 09:22:02 -07:00
dependabot[bot]
56e6e608d2 build(deps): bump google.golang.org/api from 0.239.0 to 0.240.0 (#7400)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.239.0 to 0.240.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.239.0...v0.240.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.240.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-07 09:21:38 -07:00
dependabot[bot]
a929d10cf5 build(deps): bump aquasecurity/trivy-action from 0.31.0 to 0.32.0 (#7401)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.31.0 to 0.32.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](76071ef0d7...dc5a429b52)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-07 09:21:18 -07:00
Cameron Steel
0aee758833 fix(auto/file): return REFUSED when no next plugin is available (#7381) 2025-07-04 02:39:19 -07:00
Stephen Kitt
1449cb660e Port to AWS Go SDK v2 (#6588) 2025-07-03 02:19:21 -07:00
Sebastian Mayr
ae5e03a94d fix(cache): data race when refreshing cached messages (#7398) 2025-07-02 19:39:46 -07:00
dependabot[bot]
19b6b3cdb9 build(deps): bump sigs.k8s.io/mcs-api (#7385) 2025-07-02 19:39:25 -07:00
Sebastian Mayr
06da7dcd98 fix(cache): data race when updating the TTL of cached messages (#7397) 2025-07-02 19:20:47 -07:00
dependabot[bot]
e34fda5d46 build(deps): bump github.com/prometheus/common from 0.64.0 to 0.65.0 (#7386) 2025-07-01 12:29:42 +03:00
dependabot[bot]
0dd3f51997 build(deps): bump github.com/aws/aws-sdk-go-v2/config (#7388) 2025-07-01 12:28:23 +03:00
dependabot[bot]
1f8cb27275 build(deps): bump google.golang.org/api from 0.236.0 to 0.239.0 (#7393) 2025-07-01 06:30:32 +03:00
dependabot[bot]
dc26a956c2 build(deps): bump github.com/go-viper/mapstructure/v2 (#7389) 2025-07-01 06:28:44 +03:00
dependabot[bot]
45256ded7c build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.74.0 to 1.74.2 (#7394) 2025-07-01 06:06:24 +03:00
dependabot[bot]
14cb5bab21 build(deps): bump github/codeql-action from 3.29.0 to 3.29.2 (#7395) 2025-07-01 05:57:14 +03:00
Yoofi Quansah
8fce3456d7 chore: fix docs incompatibility (#7390) 2025-06-28 08:46:21 +03:00
Dennis Simmons
b2a2a5f648 plugin/rewrite: Add EDNS0 Unset Action (#7380)
* plugin/rewrite: EDNS0 unset action

Signed-off-by: Dennis Simmons <215134900+dennis-ix@users.noreply.github.com>

* plugin/rewrite: EDNS0 unset tests

Signed-off-by: Dennis Simmons <215134900+dennis-ix@users.noreply.github.com>

* plugin/rewrite: EDNS0 unset documentation

Signed-off-by: Dennis Simmons <215134900+dennis-ix@users.noreply.github.com>

* gofmt whitespace fixes

Signed-off-by: Dennis Simmons <215134900+dennis-ix@users.noreply.github.com>

* plugin/rewrite: improve edns0 test coverage

Signed-off-by: Dennis Simmons <215134900+dennis-ix@users.noreply.github.com>

---------

Signed-off-by: Dennis Simmons <215134900+dennis-ix@users.noreply.github.com>
2025-06-19 17:49:37 -04:00
dependabot[bot]
9c51e1741c build(deps): bump github.com/aws/aws-sdk-go-v2/service/secretsmanager (#7378)
Bumps [github.com/aws/aws-sdk-go-v2/service/secretsmanager](https://github.com/aws/aws-sdk-go-v2) from 1.35.5 to 1.35.6.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ssm/v1.35.5...service/ssm/v1.35.6)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/secretsmanager
  dependency-version: 1.35.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-18 21:58:08 +03:00
dependabot[bot]
869af9a5cd build(deps): bump github.com/aws/aws-sdk-go-v2/config (#7377)
Bumps [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) from 1.29.15 to 1.29.16.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.29.15...config/v1.29.16)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/config
  dependency-version: 1.29.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-18 21:33:17 +03:00
dependabot[bot]
eb06749026 build(deps): bump softprops/action-gh-release from 2.2.2 to 2.3.2 (#7375)
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.2.2 to 2.3.2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](da05d55257...72f2c25fcb)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.3.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-17 21:18:57 +03:00
dependabot[bot]
289e8973f0 build(deps): bump github/codeql-action from 3.28.19 to 3.29.0 (#7376) 2025-06-16 17:37:52 +03:00
Dave Brown
ab74d3acf2 add args: startup_timeout for kubernetes plugin (#7068)
Signed-off-by: mangoyhuang <mangoyhuang@tencent.com>
Co-authored-by: mangoyhuang <mangoyhuang@tencent.com>
2025-06-11 11:22:07 -07:00
dependabot[bot]
cbb318f4d0 build(deps): bump the go-etcd-io group with 2 updates (#7363)
Bumps the go-etcd-io group with 2 updates: [go.etcd.io/etcd/api/v3](https://github.com/etcd-io/etcd) and [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd).


Updates `go.etcd.io/etcd/api/v3` from 3.6.0 to 3.6.1
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.6.0...v3.6.1)

Updates `go.etcd.io/etcd/client/v3` from 3.6.0 to 3.6.1
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.6.0...v3.6.1)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/api/v3
  dependency-version: 3.6.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-etcd-io
- dependency-name: go.etcd.io/etcd/client/v3
  dependency-version: 3.6.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-etcd-io
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-09 17:16:50 -07:00
dependabot[bot]
12681b2ba7 build(deps): bump google.golang.org/api from 0.235.0 to 0.236.0 (#7364)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.235.0 to 0.236.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.235.0...v0.236.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.236.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-09 17:16:31 -07:00