Fixing FTP cwd getting overlue long.

Now storing them compressed.
This commit is contained in:
Robin Sommer 2016-05-28 12:15:51 -07:00
parent c74effad42
commit d195f1b047
6 changed files with 5555 additions and 2 deletions

View 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;
}