mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Add irc_dcc_send_ack event and fix missing fields
This commit is contained in:
parent
b739bdbbfb
commit
161ffb4192
14 changed files with 172 additions and 102 deletions
|
@ -9,14 +9,12 @@
|
|||
@load base/protocols/conn
|
||||
@load base/protocols/irc
|
||||
|
||||
# dcc mime types are irrelevant to this test, so filter it out
|
||||
event zeek_init()
|
||||
{
|
||||
Log::remove_default_filter(IRC::LOG);
|
||||
Log::add_filter(IRC::LOG, [$name="remove-mime", $exclude=set("dcc_mime_type")]);
|
||||
}
|
||||
|
||||
event irc_names_info(c: connection, is_orig: bool, c_type: string, channel: string, users: string_set)
|
||||
{
|
||||
print "irc_names_info", channel, users;
|
||||
}
|
||||
|
||||
event irc_dcc_send_ack(c: connection, bytes_received: count)
|
||||
{
|
||||
print "irc_dcc_send_ack", bytes_received;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue