mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00

- Use `-b` most everywhere, it will save time. - Start some intel tests upon the input file being fully read instead of at an arbitrary time. - Improve termination condition for some sumstats/cluster tests. - Filter uninteresting output from some supervisor tests. - Test for `notice_policy.log` is no longer needed.
19 lines
452 B
Text
19 lines
452 B
Text
# @TEST-EXEC: zeek -b -r $TRACES/ftp/cwd-navigation.pcap >output.log %INPUT
|
|
# @TEST-EXEC: btest-diff conn.log
|
|
# @TEST-EXEC: btest-diff ftp.log
|
|
# @TEST-EXEC: btest-diff output.log
|
|
|
|
@load base/protocols/conn
|
|
@load base/protocols/ftp
|
|
@load base/frameworks/dpd
|
|
|
|
# Make sure we're tracking the CWD correctly.
|
|
event ftp_reply(c: connection, code: count, msg: string, cont_resp: bool) &priority=10
|
|
{
|
|
if ( ! c?$ftp )
|
|
return;
|
|
|
|
print "CWD", c$ftp$cwd;
|
|
}
|
|
|
|
|