Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VA: put most recent, not original, IP in error messages #7468

Merged
merged 1 commit into from
May 3, 2024

Conversation

aarongable
Copy link
Contributor

When we present error messages containing IP addresses to end users, sometimes we're presenting the IP at which we began a chain of redirects, but not presenting the IP at which the final redirect was located. This can make it difficult for client operators to identify exactly which server in their infrastructure is misbehaving.

Change our IP error messages to reference the most-recently-tried address from the set of all validation records, rather than the address which started the current (potential) redirect chain.

Fixes #7347

@aarongable aarongable marked this pull request as ready for review May 1, 2024 21:42
@aarongable aarongable requested a review from a team as a code owner May 1, 2024 21:42
@aarongable aarongable requested a review from jsha May 1, 2024 21:42
@aarongable aarongable requested review from a team and beautifulentropy and removed request for a team May 3, 2024 17:10
@aarongable aarongable merged commit f24a979 into main May 3, 2024
12 checks passed
@aarongable aarongable deleted the ip-err-redirect branch May 3, 2024 20:21
vbaranovskiy-plesk pushed a commit to plesk/boulder that referenced this pull request May 30, 2024
…7468)

When we present error messages containing IP addresses to end users,
sometimes we're presenting the IP at which we began a chain of
redirects, but not presenting the IP at which the final redirect was
located. This can make it difficult for client operators to identify
exactly which server in their infrastructure is misbehaving.

Change our IP error messages to reference the most-recently-tried
address from the set of all validation records, rather than the address
which started the current (potential) redirect chain.

Fixes letsencrypt#7347
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect IPv4 address in error message when IPv6 is not working
3 participants