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

tests: linktype_name test #1853

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/linktype_name/test.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alert http $HOME_NET any -> any 443 (msg:"ET POLICY HTTP traffic on port 443 (CONNECT)"; flow:to_server,established; content:"CONNECT"; http_method; classtype:bad-unknown; sid:2013933; rev:4; metadata:created_at 2011_11_17, updated_at 2011_11_17;)
14 changes: 14 additions & 0 deletions tests/linktype_name/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
requires:
min-version: 8

jlucovsky marked this conversation as resolved.
Show resolved Hide resolved
pcap: ../bug-2482-01/proxyCONNECT_443.pcap

args:
- -k none --set outputs.1.eve-log.types.0.alert.packet=yes

checks:
- filter:
count: 86
match:
event_type: alert
packet_info.linktype_name: RAW
Loading