mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
More script tuning
- Moved some of the weird events back to the base/ directory. - Fixed more bugs with SSL certificate handling.
This commit is contained in:
parent
dc47203cd7
commit
26290bb56c
4 changed files with 22 additions and 21 deletions
|
@ -376,6 +376,21 @@ function report_weird_orig(t: time, name: string, id: string, orig: addr)
|
|||
|
||||
report_weird(t, name, id, F, "", action, no_log);
|
||||
}
|
||||
|
||||
event conn_weird(name: string, c: connection, addl: string)
|
||||
{
|
||||
report_weird_conn(network_time(), name, id_string(c$id), addl, c);
|
||||
}
|
||||
|
||||
event flow_weird(name: string, src: addr, dst: addr)
|
||||
{
|
||||
report_weird_orig(network_time(), name, fmt("%s -> %s", src, dst), src);
|
||||
}
|
||||
|
||||
event net_weird(name: string)
|
||||
{
|
||||
report_weird(network_time(), name, "", F, "", WEIRD_UNSPECIFIED, F);
|
||||
}
|
||||
|
||||
event connection_state_remove(c: connection)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue