Skip to content

Commit

Permalink
backport: for ticket 7199 and 7318
Browse files Browse the repository at this point in the history
As these tickets impact some common tests
  • Loading branch information
catenacyber committed Dec 11, 2024
1 parent 4a9d6ad commit 1b20169
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 33 deletions.
1 change: 0 additions & 1 deletion tests/bug-7199/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ checks:
event_type: alert
alert.signature_id: 1
- filter:
min-version: 8
count: 1
match:
event_type: alert
Expand Down
2 changes: 2 additions & 0 deletions tests/dns/task-7018-dns-ips-stream-rule/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ requires:

args:
- -k none
- --set detect.guess-applayer-tx=true

pcap: ../task-7018-ids-dns-keywords/input.pcap

checks:
Expand Down
1 change: 1 addition & 0 deletions tests/dns/task-7018-ids-dns-stream-rule/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ requires:
lt-version: 8
args:
- -k none
- --set detect.guess-applayer-tx=true

pcap: ../task-7018-ids-dns-keywords/input.pcap
checks:
Expand Down
32 changes: 8 additions & 24 deletions tests/firewall/firewall-06-tls-sni-enforce/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,27 @@ args:

checks:
- filter:
min-version: 8
count: 24
match:
event_type: alert
alert.signature_id: 3
pkt_src: "wire/pcap"
- filter:
min-version: 8
count: 24
match:
event_type: alert
- filter:
lt-version: 7
count: 26
# check for https://redmine.openinfosecfoundation.org/issues/7350
min-version: 8
count: 4
match:
event_type: alert
alert.signature_id: 3
tls.sni: raw.githubusercontent.com
- filter:
lt-version: 7
count: 26
match:
event_type: alert
- filter:
min-version: 8
# check for https://redmine.openinfosecfoundation.org/issues/7350
count: 4
# version 7 does not use suricata.yaml stream-tx-log-limit
lt-version: 8
count: 24
match:
event_type: alert
alert.signature_id: 3
Expand All @@ -51,18 +47,6 @@ checks:
count: 26
match:
event_type: drop
- filter:
min-version: 8
count: 0
match:
event_type: alert
pkt_src: "stream (flow timeout)"
- filter:
lt-version: 7
count: 2
match:
event_type: alert
pkt_src: "stream (flow timeout)"
- filter:
count: 1
match:
Expand Down
2 changes: 0 additions & 2 deletions tests/pgsql/pgsql-7000-ids/test.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
requires:
min-version: 8
args:
- -k none

Expand Down
3 changes: 0 additions & 3 deletions tests/pgsql/pgsql-bug-6983-ips/test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
requires:
min-version: 8.0

pcap: ../pgsql-ssl-rejected-md5-auth-simple-query/input.pcap

args:
Expand Down
1 change: 1 addition & 0 deletions tests/tls-extra-alert-engine-analysis/test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# starting version 8 with engine analysis for flowbits
requires:
min-version: 8

Expand Down
3 changes: 0 additions & 3 deletions tests/tls-extra-alert/test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
requires:
min-version: 8

args:
- -k none
- --simulate-ips
Expand Down

0 comments on commit 1b20169

Please sign in to comment.