Skip to content

Commit

Permalink
template: use the keyword for the tx buffer
Browse files Browse the repository at this point in the history
Ticket: 3195
  • Loading branch information
catenacyber committed Oct 8, 2024
1 parent 3be0daf commit 95fe543
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions tests/app-layer-template/suricata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ outputs:

app-layer:
protocols:
# TODO remove once this string is out of main7
template-rust:
enabled: yes
template:
enabled: yes
detection-ports:
Expand Down
4 changes: 2 additions & 2 deletions tests/app-layer-template/test.rules
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
alert template any any -> any any (msg:"TEST"; content:"Hello"; flow:established,to_server; sid:1; rev:1;)
alert template any any -> any any (msg:"TEST"; content:"Bye"; flow:established,to_client; sid:2; rev:1;)
alert template any any -> any any (msg:"TEST"; template.buffer; content:"Hello"; flow:established,to_server; sid:1; rev:1;)
alert template any any -> any any (msg:"TEST"; template.buffer; content:"Bye"; flow:established,to_client; sid:2; rev:1;)

0 comments on commit 95fe543

Please sign in to comment.