Project

General

Profile

Actions

Documentation #7039

closed
JF JF

suricata-verify: explain how to automatically add --simulate-ips argument

Documentation #7039: suricata-verify: explain how to automatically add --simulate-ips argument

Added by Juliana Fajardini Reichow almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Document how SV will run a test with --simulate-ips if the test has ips in the name.


Related issues 1 (1 open0 closed)

Related to Suricata - Feature #7156: createst: automatically add --simulate-ips commandline argumentNewOISF DevActions

JF Updated by Juliana Fajardini Reichow almost 2 years ago · Edited Actions #1

Maybe could be done together: add option to indicate that the pcap comes from an existing test (so we won't duplicate the pcap, but add the path to the original as seen in https://github.com/OISF/suricata-verify/blob/master/tests/alert-testmyids-frames/test.yaml#L1

Maybe the script could even simply identify when the pcap path is from a test within the SV directory?

JF Updated by Juliana Fajardini Reichow almost 2 years ago Actions #2

  • Subject changed from createst: add --simulate-ips as option to createst: explain how to automatically add --simulate-ips argument
  • Assignee changed from OISF Dev to Juliana Fajardini Reichow

This feature actually already exists (cf https://github.com/OISF/suricata-verify/blob/master/run.py#L916) so I'll update this to be about documenting it :P

JF Updated by Juliana Fajardini Reichow almost 2 years ago Actions #3

  • Status changed from New to In Review

SB Updated by Shivani Bhardwaj almost 2 years ago Actions #4

Maybe the script could even simply identify when the pcap path is from a test within the SV directory?

Agreed. That would be useful. I also wonder how many people actually use createst to create the tests. I feel that the number is quite little even within the team. So, maybe it's useful to ask the roadblocks for using the script and have tickets for everything. wdyt?

JF Updated by Juliana Fajardini Reichow almost 2 years ago · Edited Actions #5

Shivani Bhardwaj wrote in #note-4:

Maybe the script could even simply identify when the pcap path is from a test within the SV directory?

Agreed. That would be useful. I also wonder how many people actually use createst to create the tests. I feel that the number is quite little even within the team. So, maybe it's useful to ask the roadblocks for using the script and have tickets for everything. wdyt?

I like that approach. I use createst a lot, even when I sometimes - like with --simulate-ips up until now - I have to adjust stuff afterwards. I'll see if I get feedback from the team on what prevents them from using it, and see what can be improved, from there :)

Created a ticket for the suggestion given here: https://redmine.openinfosecfoundation.org/issues/7139

JF Updated by Juliana Fajardini Reichow almost 2 years ago Actions #6

  • Tracker changed from Task to Documentation

JF Updated by Juliana Fajardini Reichow over 1 year ago Actions #7

  • Subject changed from createst: explain how to automatically add --simulate-ips argument to suricata-verify: explain how to automatically add --simulate-ips argument
  • Description updated (diff)

I'll create another ticket for adding this as a functionality to the createst script...

JF Updated by Juliana Fajardini Reichow over 1 year ago Actions #8

  • Related to Feature #7156: createst: automatically add --simulate-ips commandline argument added

JF Updated by Juliana Fajardini Reichow over 1 year ago Actions #9

  • Status changed from In Review to Closed

Just for the documentation bit, PR merged: https://github.com/OISF/suricata-verify/pull/1968

Actions

Also available in: PDF Atom