mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Fixing FTP cwd getting overlue long.
Now storing them compressed.
This commit is contained in:
parent
c74effad42
commit
d195f1b047
6 changed files with 5555 additions and 2 deletions
12
testing/btest/scripts/base/protocols/ftp/cwd-navigation.bro
Normal file
12
testing/btest/scripts/base/protocols/ftp/cwd-navigation.bro
Normal file
|
@ -0,0 +1,12 @@
|
|||
# @TEST-EXEC: bro -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
|
||||
|
||||
# Make sure we're tracking the CWD correctly.
|
||||
event ftp_reply(c: connection, code: count, msg: string, cont_resp: bool) &priority=10
|
||||
{
|
||||
print "CWD", c$ftp$cwd;
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue