Merged
Conversation
recently, but I saw they weren't being decoded very well. Sample logs that should be decoded better: Jul 28 23:22:18 junction sshd[15131]: Invalid user role1 from 192.144.139.214 port 4100 Jul 28 23:22:18 junction sshd[15131]: Received disconnect from 192.144.139.214 port 41006:11: Normal Shutdown, Thank you for playing [preauth] Jun 22 12:01:13 junction sshd[11283]: Received disconnect from 212.14.228.46: 11: Bye Bye Jul 28 23:22:18 junction sshd[15131]: Disconnected from invalid user role1 192.144.139.214 port 41006 [preauth] Jul 28 23:35:04 junction sshd[38935]: Received disconnect from 185.8.49.228 port 37890:11: Bye Bye [preauth] Jul 29 00:21:57 junction sshd[72341]: User root from 180.101.185.159 not allowed because not listed in AllowUsers Jul 29 00:21:58 junction sshd[72341]: Connection closed by invalid user root 180.101.185.159 port 45952 [preauth] Jul 29 00:39:25 junction sshd[52330]: Did not receive identification string from 192.168.18.8 port 36566 Jul 29 00:43:14 junction sshd[5957]: Unable to negotiate with 192.168.18.8 port 35250: no matching host key type found. Their offer: ssh-dss [preauth] Jul 29 00:43:14 junction sshd[79098]: Protocol major versions differ for 192.168.18.8 port 34704: SSH-2.0-OpenSSH_7.8 vs. SSH-1.5-Nmap-SSH1-Hostkey
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a few decoders for sshd. I'm not sure if the log messages changed recently, but I saw they weren't being decoded very well. I'm too tired to do it now, but reviewing the sshd decoders should be a task sometime.
Sample logs that should be decoded better: