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

sshd-logs parser should match 'Connection closed by' lines even without 'invalid user' #1168

Merged
merged 2 commits into from
Feb 3, 2025

Conversation

alacham
Copy link
Contributor

@alacham alacham commented Nov 19, 2024

On two different Debian Bookworm VPSs I have had ssh login attempts every 3 minutes.

But it's not matched, because it reads only:

# host 1
2024-11-18T03:58:49.732564-05:00 myhost1 sshd[1226287]: Connection closed by 118.27.24.104 port 48890 [preauth]
# host 2
Nov 19 22:58:24 myhost2 sshd[60765]: Connection closed by 118.27.24.104 port 49110 [preauth]

this PR should remediate it

fixes #1169

@alacham
Copy link
Contributor Author

alacham commented Dec 11, 2024

I came to look if it's merged yet and instead found that it's a duplicate of #1017

@LaurenceJJones LaurenceJJones merged commit a3e65cc into crowdsecurity:master Feb 3, 2025
2 checks passed
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.

Debian Bookworm has slightly different connection attempt log for sshd
2 participants