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

detect/analyzer: add more details for tcp_mss #10824

Closed
wants to merge 1 commit into from

Conversation

catenacyber
Copy link
Contributor

@catenacyber catenacyber commented Apr 12, 2024

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

Describe changes:

  • detect/analyzer: add more details for tcp_mss

SV_BRANCH=OISF/suricata-verify#1759

#9778 with output changed as asked by Jason, and moving to generic rust for uint stringing, also handling the new cases since (rust checks for switch completeness)

Add more details to the tcp.mss keyword engine analysis output
Issue: OISF#6355
case DETECT_TCPMSS: {
const DetectU16Data *cd = (const DetectU16Data *)smd->ctx;
jb_open_object(js, "tcp_mss");
rs_detect_u16_dump(js, cd);
Copy link
Member

Choose a reason for hiding this comment

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

not a fan of the dump naming, can we just call it to_json or to_jb or similar?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure

@catenacyber
Copy link
Contributor Author

Replaced by #10826

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.

3 participants