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

sip: add tests for sip over tcp #1341

Closed
wants to merge 1 commit into from
Closed

Conversation

glongo
Copy link
Contributor

@glongo glongo commented Aug 1, 2023

This adds tests for sip over tcp.

Update:

  • Added C code for generating a pcap sample.

Redmine ticket
https://redmine.openinfosecfoundation.org/issues/3351

@glongo
Copy link
Contributor Author

glongo commented Aug 1, 2023

Suricata PR: OISF/suricata#9321

requires:
features:
- HAVE_LIBJANSSON
min-version: 5.0.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should be 7 (and for other tests)

@@ -0,0 +1,2 @@
alert sip any any -> any any (flow:to_server; sip.protocol; content:"SIP/2.0"; sid:1;)
alert sip any any -> any any (flow:to_client; sip.protocol; content:"SIP/2.0"; sid:2;)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I wonder if it makes more sense to have only one test sip-tcp-keywords...

@@ -0,0 +1,26 @@
requires:
features:
- HAVE_LIBJANSSON
Copy link
Collaborator

Choose a reason for hiding this comment

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

You do not need to put this with min-version 7 ;-)

@glongo glongo closed this Sep 13, 2023
@catenacyber
Copy link
Collaborator

catenacyber commented Sep 13, 2023

Replaced by #1386

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires suricata pr Depends on a PR in Suricata
Development

Successfully merging this pull request may close these issues.

2 participants