mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Add support of getting server capabilities to IMAP parser.
This commit is contained in:
parent
4a5737708c
commit
1933299543
7 changed files with 99 additions and 4 deletions
12
testing/btest/scripts/base/protocols/imap/capabilities.test
Normal file
12
testing/btest/scripts/base/protocols/imap/capabilities.test
Normal file
|
@ -0,0 +1,12 @@
|
|||
# @TEST-EXEC: bro -b -C -r $TRACES/tls/imap-starttls.pcap %INPUT
|
||||
# @TEST-EXEC: btest-diff .stdout
|
||||
|
||||
@load base/protocols/ssl
|
||||
@load base/protocols/conn
|
||||
@load base/frameworks/dpd
|
||||
@load base/protocols/imap
|
||||
|
||||
event imap_capabilities(c: connection, capabilities: string_vec)
|
||||
{
|
||||
print capabilities;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue