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

[v22.3.x] Backport #8087 (net: improve logging of TLS & auth errors) #8118

Merged
merged 3 commits into from
Feb 3, 2023

Conversation

jcsp
Copy link
Contributor

@jcsp jcsp commented Jan 9, 2023

Backport of PR #8087

Backports Required

  • none - not a bug fix
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v22.3.x
  • v22.2.x
  • v22.1.x

UX Changes

None

Release Notes

Improvements

  • Client authentication errors are now logged at WARN severity rather than ERROR

These are the cases seen in the field on clusters
that had ports exposed to the internet.  Logging
is worthwhile, logging at ERROR severity is not.

(cherry picked from commit e61879a)
...for existing exception types that are authetnication
errors.

(cherry picked from commit edc2baa)
& with a message that distinguishes auth failures
from general errors.

This improves log hygiene on internet-facing clusters that
will typically receive malformed probing connections from
time to time.

(cherry picked from commit 55344b5)
@jcsp jcsp added area/redpanda kind/backport PRs targeting a stable branch labels Jan 9, 2023
@jcsp jcsp requested review from BenPope and dotnwat and removed request for BenPope January 9, 2023 10:59
Copy link
Member

@dotnwat dotnwat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh i see the difference is because of the changes to the net::server logging. lgtm.

@jcsp jcsp merged commit e5f48a1 into redpanda-data:v22.3.x Feb 3, 2023
@jcsp jcsp deleted the backport-8087 branch February 3, 2023 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants