mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Merge remote-tracking branch 'origin/topic/johanna/certificate-req'
* origin/topic/johanna/certificate-req: SSL/TLS CertificateRequest message: Address review feedback SSL/TLS: Parse CertificateRequest message
This commit is contained in:
commit
dcbc809189
19 changed files with 237 additions and 5 deletions
|
@ -0,0 +1,22 @@
|
|||
# This tests the certificate_request message parsing
|
||||
|
||||
# @TEST-EXEC: zeek -b -r $TRACES/tls/client-certificate.pcap %INPUT > out
|
||||
# @TEST-EXEC: zeek -C -b -r $TRACES/tls/certificate-request-failed.pcap %INPUT >> out
|
||||
# @TEST-EXEC: zeek -C -b -r $TRACES/tls/webrtc-stun.pcap %INPUT >> out
|
||||
# @TEST-EXEC: zeek -C -b -r $TRACES/mysql/encrypted.trace %INPUT >> out
|
||||
# @TEST-EXEC: btest-diff out
|
||||
|
||||
@load base/protocols/ssl
|
||||
@load base/protocols/mysql
|
||||
|
||||
event ssl_certificate_request(c: connection, is_client: bool, certificate_types: index_vec, supported_signature_algorithms: SSL::SignatureAndHashAlgorithm, certificate_authorities: string_vec)
|
||||
{
|
||||
print certificate_types;
|
||||
print supported_signature_algorithms;
|
||||
for ( _, ca in certificate_authorities )
|
||||
{
|
||||
print ca;
|
||||
print parse_distinguished_name(ca);
|
||||
}
|
||||
print "========";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue