mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Ignore case when matching prefix in http analyzer
This commit is contained in:
parent
4f65b89edf
commit
40935c31b1
11 changed files with 98 additions and 18 deletions
|
@ -0,0 +1,21 @@
|
|||
# This tests whether the HTTP analyzer handles HTTP keyword in lower case correctly or not.
|
||||
#
|
||||
# @TEST-EXEC: zeek -C -b -r $TRACES/http/http-lower-case.pcap %INPUT
|
||||
# @TEST-EXEC: ! test -f dpd.log
|
||||
# @TEST-EXEC: ! test -f analyzer.log
|
||||
# @TEST-EXEC: zeek-cut uid name < weird.log > weird.log.standard
|
||||
# @TEST-EXEC: btest-diff weird.log.standard
|
||||
# @TEST-EXEC: mv http.log http.log.standard
|
||||
# @TEST-EXEC: btest-diff http.log.standard
|
||||
|
||||
# @TEST-EXEC: rm *.log
|
||||
|
||||
# @TEST-EXEC: zeek -C -b -r $TRACES/http/http-lower-case-nonstandard-port.pcap %INPUT
|
||||
# @TEST-EXEC: ! test -f dpd.log
|
||||
# @TEST-EXEC: ! test -f analyzer.log
|
||||
# @TEST-EXEC: zeek-cut uid name < weird.log > weird.log.nonstandard
|
||||
# @TEST-EXEC: btest-diff weird.log.nonstandard
|
||||
# @TEST-EXEC: mv http.log http.log.nonstandard
|
||||
# @TEST-EXEC: btest-diff http.log.nonstandard
|
||||
|
||||
@load base/protocols/http
|
Loading…
Add table
Add a link
Reference in a new issue