Howdy,
I have been attempting to diagnose my issue with not all FTP commands being logged in Zeek, and I believe that the reason is that only ten commands are listed in the logged_commands option within the ftp main script. (“APPE”, “DELE”, “RETR”, “STOR”, “STOU”, “ACCT”, “PORT”, “PASV”, “EPRT”, “EPSV”).
If this is the source of my problem, is it as easy as just listing every command from RFC 959 and the script will begin to log those commands without issue? Even if it requires a couple extra lines in the script to correctly capture the arguments and responses, I’m willing to do that.
Edit: I just saw that utils-commands.zeek exists and lists many of the commands I need to be logged. Because they are accounted for and have valid reply codes listed, should I be safe to just add those commands to the logged_commands option in main.zeek?