zeek/testing/btest/scripts/base/protocols/sip/junk.zeek
Jon Siwek 183789294f GH-1507: Tolerate junk data before SIP requests
This allows for data that won't match a SIP request method to precede an
actual request and generates a new 'sip_junk_before_request' weird when
encountering such a situation.
2021-04-14 15:34:07 -07:00

8 lines
275 B
Text

# This tests a PCAP with a few SIP commands from the Wireshark samples.
# @TEST-EXEC: zeek -b -r $TRACES/sip/sip-junk-before-request.pcap %INPUT
# @TEST-EXEC: btest-diff sip.log
# @TEST-EXEC: btest-diff weird.log
@load base/protocols/sip
@load base/frameworks/notice/weird