mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
Remove deprecated signature definition format
This commit is contained in:
parent
2d68b1d834
commit
9142a48725
6 changed files with 5 additions and 34 deletions
|
@ -1,7 +1,6 @@
|
|||
# @TEST-DOC: Using the wrong paramters for custom signature events.
|
||||
#
|
||||
# @TEST-EXEC-FAIL: zeek -b -s id -r $TRACES/chksums/ip4-udp-good-chksum.pcap %INPUT >id.out
|
||||
# @TEST-EXEC-FAIL: zeek -b -s id2 -r $TRACES/chksums/ip4-udp-good-chksum.pcap %INPUT >id.out
|
||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff .stderr
|
||||
|
||||
@TEST-START-FILE id.sig
|
||||
|
@ -26,14 +25,6 @@ signature udp-proto4 {
|
|||
}
|
||||
@TEST-END-FILE
|
||||
|
||||
@TEST-START-FILE id2.sig
|
||||
# Using two identifiers is not supported.
|
||||
signature udp-proto-msg-id {
|
||||
ip-proto == 17
|
||||
event signature_match message_as_id
|
||||
}
|
||||
@TEST-END-FILE
|
||||
|
||||
event wrong_signature2(state: signature_state, data: string) { }
|
||||
|
||||
event wrong_signature3(state: signature_state, msg: string, data: string) { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue