zeek/scripts/base/protocols
Johanna Amann 833168090a Add ability to check if hostname is valid for a specific cert
This commit adds two new bifs, x509_check_hostname and
x509_check_cert_hostname. These bifs can be used to check if a given
hostname which can, e.g., be sent in a SNI is valid for a specific
certificate.

This PR furthermore modifies the ssl logs again, and adds information
about this to the log-file. Furthermore we now by default remove the
server certificate information from ssl.log - I doubt that this is often
looked at, it is not present in TLS 1.3, we do still have the SNI, and
if you need it you have the information in x509.log.

This also fixes a small potential problem in X509.cc assuming there
might be SAN-entries that contain null-bytes.

Baseline update will follow in another commit.
2021-06-29 15:00:48 +01:00
..
conn lint fixes: ensuring functions return values, robustness to nil Val's 2021-03-18 08:21:19 -07:00
dce-rpc Support for log filter policy hooks 2020-09-30 12:32:45 -07:00
dhcp Support for log filter policy hooks 2020-09-30 12:32:45 -07:00
dnp3 Support for log filter policy hooks 2020-09-30 12:32:45 -07:00
dns Fixes to decode_netbios_name and decode_netbios_name_type BIFs 2021-04-27 15:27:04 -07:00
ftp Change SSL and X.509 logging format 2021-06-29 09:26:43 +01:00
http Support for log filter policy hooks 2020-09-30 12:32:45 -07:00
imap Merge remote-tracking branch 'origin/topic/seth/zeek_init' 2019-04-19 11:24:29 -07:00
irc Support for log filter policy hooks 2020-09-30 12:32:45 -07:00
krb Support for log filter policy hooks 2020-09-30 12:32:45 -07:00
modbus Support for log filter policy hooks 2020-09-30 12:32:45 -07:00
mqtt Disable MQTT by default 2019-08-05 17:04:39 -07:00
mysql Support for log filter policy hooks 2020-09-30 12:32:45 -07:00
ntlm Support for log filter policy hooks 2020-09-30 12:32:45 -07:00
ntp &is_set => &is_assigned 2021-02-04 12:18:46 -08:00
pop3 Rename all scripts to have ".zeek" file extension 2019-04-11 21:12:40 -05:00
radius Support for log filter policy hooks 2020-09-30 12:32:45 -07:00
rdp Support for log filter policy hooks 2020-09-30 12:32:45 -07:00
rfb Support for log filter policy hooks 2020-09-30 12:32:45 -07:00
sip Support for log filter policy hooks 2020-09-30 12:32:45 -07:00
smb ts fields in SMB logs now default to network_time() 2021-03-10 13:52:44 +00:00
smtp GH-1352: Added flag to stop processing SMTP headers in attached 2021-01-21 14:55:10 -05:00
snmp Support for log filter policy hooks 2020-09-30 12:32:45 -07:00
socks Support for log filter policy hooks 2020-09-30 12:32:45 -07:00
ssh &is_set => &is_assigned 2021-02-04 12:18:46 -08:00
ssl Add ability to check if hostname is valid for a specific cert 2021-06-29 15:00:48 +01:00
syslog Support for log filter policy hooks 2020-09-30 12:32:45 -07:00
tunnels Rename all scripts to have ".zeek" file extension 2019-04-11 21:12:40 -05:00
xmpp Merge remote-tracking branch 'origin/topic/seth/zeek_init' 2019-04-19 11:24:29 -07:00