zeek/scripts/base/protocols
Seth Hall 4f3fe047f4 SMB fixes and cleanup.
SMB error handling improved. The analyzer isn't destroyed when a problem
is encoutered anymore.  The flowbuffer in the parser is now flushed and
the analyzer is set to resync against an SMB command.  This was needed
because there is some state about open files that is kept within the
parser itself which was being destroyed and that was causing analysis
after content gaps or parse errors to be faulty.  The new mechanism
doesn't detroy the parser so parsing after gaps is improved.

DCE_RPC handling in SMB is improved in the edge case where a drive
mapping isn't seen. There is a new const named SMB::pipe_filenames
which is used as a heuristic for identifying "files" opened on named
pipe shares.  If the share mapping type isn't known and a filename
in this set is found, the share type will change to "PIPE" by
generating an event named "smb_pipe_connect_heuristic".  Reads and
writes to that file will be sent to the DCE_RPC analyzer instead of
to the files framework.

The concept of "unknown" share types has been removed due to the new
heuristic detection of share types.

Some general clean up of how the SMB cmd log is written and when.
2016-10-31 13:35:47 -04:00
..
conn Merge remote-tracking branch 'origin/topic/robin/history-rxmit' 2016-07-08 19:30:10 -07:00
dce-rpc SMB fixes and cleanup. 2016-10-31 13:35:47 -04:00
dhcp Allow logging filters to inherit default path from stream. 2015-03-19 14:49:55 -05:00
dnp3 Allow logging filters to inherit default path from stream. 2015-03-19 14:49:55 -05:00
dns Rewrite weird logging. 2016-06-15 13:49:35 -07:00
ftp Fixing FTP cwd getting overlue long. 2016-05-29 08:52:47 -07:00
http Move the HTTP "filename" field to "orig_filenames" and "resp_filenames" 2016-06-15 01:44:18 -04:00
imap Basic IMAP StartTLS analyzer. 2015-07-22 10:35:49 -07:00
irc File API updates complete. 2015-04-20 10:46:48 -04:00
krb KRB: fix field value missing error for msg$client_name. 2016-08-15 16:05:10 -07:00
modbus Allow logging filters to inherit default path from stream. 2015-03-19 14:49:55 -05:00
mysql Add missing documentation on the "Bro Package Index" page 2015-06-02 10:00:00 -05:00
ntlm Added missing README files for documentation 2016-10-10 22:55:50 -05:00
pop3 Add README files for base/protocols 2013-10-17 12:47:32 -05:00
radius Add missing documentation on the "Bro Package Index" page 2015-06-02 10:00:00 -05:00
rdp Add missing documentation on the "Bro Package Index" page 2015-06-02 10:00:00 -05:00
rfb Add some missing Bro script documentation 2016-05-05 16:35:31 -05:00
sip Add some missing Bro script documentation 2016-05-05 16:35:31 -05:00
smb SMB fixes and cleanup. 2016-10-31 13:35:47 -04:00
smtp SMTP does not need to pull in the notice framework. 2016-06-23 13:22:16 -07:00
snmp Allow logging filters to inherit default path from stream. 2015-03-19 14:49:55 -05:00
socks Changing protocol_{confirmation,violation} events to queue like any 2016-05-27 13:19:04 -07:00
ssh Merge remote-tracking branch 'origin/topic/vladg/bit-1641' 2016-10-18 21:57:27 -04:00
ssl Merge remote-tracking branch 'origin/topic/johanna/tls13' 2016-10-13 15:48:27 -07:00
syslog Add some missing Bro script documentation 2016-05-05 16:35:31 -05:00
tunnels Added missing README files for documentation 2016-10-10 22:55:50 -05:00
xmpp Add xmpp dpd sig and fix a few parsing problems for connections that do 2015-07-21 13:20:35 -07:00