mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Add explicit TLS support for FTP
This is defined in RFC 4217; TLS initialized by the client sending an `AUTH TLS` command. Fixes GH-4463
This commit is contained in:
parent
cef63e871e
commit
718307214e
9 changed files with 74 additions and 1 deletions
13
testing/btest/scripts/base/protocols/ftp/ftp-auth-tls.zeek
Normal file
13
testing/btest/scripts/base/protocols/ftp/ftp-auth-tls.zeek
Normal file
|
@ -0,0 +1,13 @@
|
|||
# This tests explicit TLS.
|
||||
#
|
||||
# @TEST-EXEC: zeek -r $TRACES/ftp/ftp-auth-tls.pcap %INPUT
|
||||
# @TEST-EXEC: btest-diff conn.log
|
||||
# @TEST-EXEC: btest-diff ftp.log
|
||||
# @TEST-EXEC: btest-diff ssl.log
|
||||
# @TEST-EXEC: btest-diff .stdout
|
||||
|
||||
redef FTP::logged_commands += { "<init>", "AUTH" };
|
||||
|
||||
event ftp_starttls(c: connection) {
|
||||
print "starttls", c$id;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue