PR 88: [BUG] improve sshd regex, sshd log messages changed with openssh >=9.8 to sshd-session#88
PR 88: [BUG] improve sshd regex, sshd log messages changed with openssh >=9.8 to sshd-session#88wolfgangasdf wants to merge 1044 commits intoAetherinox:mainfrom
Conversation
…erinox#50 - update `spamhaus.org/drop/drop.txt` url - update `spamhaus.org/drop/dropv6.txt` url - update documentation links to reference docs.configserver.dev
Remove any usage of innerHtml from scripts, clean up functionality from when we first made these scripts.
Automatic Self-Check - #88The details of our automated scan for your pull request are listed below. If our scan detected errors, they must be corrected before this pull request will be advanced to the review stage: AboutThis pull request includes the following information:
📄 src/ConfigServer/RegexMain.pmNote The file This check was done automatically. Do NOT open a new PR for re-validation. Instead, to trigger this check again, make a change to your PR and wait a few minutes, or close and re-open it. |
|
Thanks for the PR. Could you possibly throw up another PR with just the changes. I had to re-organize the repo, and it made things go postal in here. Or I can manually track down the changes and apply them. |
|
I released v15.09 with your changes implemented, and added you to the changelog credits. |
|
Hi, my apologies for not answering earlier, great, and it works here! Also very nice that the git repository is smaller now :-) |
|
It's fine. I've been busy with other aspects of CSF, so I've been all over the place. Yeah, the repository size was ridiculous. I just need to finish setting up how the blocklists work, but now it has a fully-dedicated repo and server via https://blocklist.configserver.dev/help Appreciate the help. |
Pull Request
Select which topic best describes your contribution:
Description
Hi, after updating to Debian 13 my csf installation doesn't notify me of ssh logins and doesn't block ssh attacks. It seems openssh has split up the sshd process, and now the log messages come from
sshd-session.Solution: Replace all occurrences of
sshd\[bysshd(?:[\-0-9a-zA-Z_]*)?\[in/usr/local/csf/lib/ConfigServer/RegexMain.pm. This works with old and new sshd versions. This regex is probably immune against future changes in openssh.From https://www.openssh.org/releasenotes.html :
I wonder a bit if it's something on my side since Debian 13 seems to be supported by csf, but I have a completely standard server installation.
Before You Submit
Please ensure you check the following items to indicate that you've read this section and completed each task