Remove connection_successful and successful_connection_remove events

Related to https://github.com/zeek/zeek/issues/1119
This commit is contained in:
Jon Siwek 2020-09-10 12:06:50 -07:00
parent 2738b157ea
commit 5f435c2644
43 changed files with 364 additions and 533 deletions

View file

@ -329,13 +329,13 @@ event ssl_established(c: connection) &priority=-5
finish(c, T);
}
event successful_connection_remove(c: connection) &priority=20
event connection_state_remove(c: connection) &priority=20
{
if ( c?$ssl && ! c$ssl$logged )
hook ssl_finishing(c);
}
event successful_connection_remove(c: connection) &priority=-5
event connection_state_remove(c: connection) &priority=-5
{
if ( c?$ssl )
# called in case a SSL connection that has not been established terminates