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

Ssh hassh incomplete v3 #5177

Closed
wants to merge 2 commits into from

Conversation

catenacyber
Copy link
Contributor

Link to redmine ticket:
https://redmine.openinfosecfoundation.org/issues/3820

Describe changes:

  • Reformats rust code with rustfmt
  • Fixes handling of malicious incomplete kex_init record (using the record side, and not the parsed size)

PRScript output (if applicable):

suricata-verify-pr: 273

Bonus question : Should we enforce rustfmt in new code ?

We use the record length from the ssh record header,
and not the size of the parsed data, as is done in other places.
Copy link
Member

@victorjulien victorjulien left a comment

Choose a reason for hiding this comment

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

Please resubmit w/o the rustfmt commit.

@catenacyber
Copy link
Contributor Author

Please resubmit w/o the rustfmt commit.

Done.
Why not take this commit ?

@catenacyber catenacyber deleted the ssh-hassh-incomplete-v3 branch September 4, 2020 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants