mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 19:48:20 +00:00
Add DH support to SSL analyzer.
When using DHE or DH-Anon, sever key parameters are now available in scriptland. Also add script to alert on weak certificate keys or weak dh-params.
This commit is contained in:
parent
b1a2bccdc7
commit
fb56b22cff
12 changed files with 288 additions and 7 deletions
8
testing/btest/scripts/policy/protocols/ssl/weak-keys.bro
Normal file
8
testing/btest/scripts/policy/protocols/ssl/weak-keys.bro
Normal file
|
@ -0,0 +1,8 @@
|
|||
# @TEST-EXEC: bro -r $TRACES/tls/dhe.pcap %INPUT
|
||||
# @TEST-EXEC: mv notice.log notice-1.log
|
||||
# @TEST-EXEC: btest-diff notice-1.log
|
||||
|
||||
@load protocols/ssl/weak-keys
|
||||
|
||||
redef SSL::notify_weak_keys = ALL_HOSTS;
|
||||
redef SSL::notify_minimal_key_length = 4096;
|
Loading…
Add table
Add a link
Reference in a new issue