mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/topic/johanna/gh-4202'
* origin/topic/johanna/gh-4202: Update NEWS for Conn::set_conn changes DNS-fuzzer: raise new_connection event Optimize Conn::set_conn to minimize operations Move Conn::set_conn() from connection_state_remove to new_connection
This commit is contained in:
commit
a22b45c69e
38 changed files with 4270 additions and 4145 deletions
|
@ -17,10 +17,7 @@ export {
|
|||
};
|
||||
}
|
||||
|
||||
module Conn;
|
||||
|
||||
event new_connection(c: connection) &priority=5
|
||||
{
|
||||
Conn::set_conn(c, F); # likely first to access :-/
|
||||
c$conn$community_id = community_id_v1(c$id, CommunityID::seed, CommunityID::do_base64);
|
||||
}
|
||||
|
|
|
@ -30,8 +30,6 @@ event analyzer_failed(ts: time, atype: AllAnalyzers::Tag, info: AnalyzerViolatio
|
|||
if ( analyzer_name !in c$service || analyzer_name in c$failed_analyzers )
|
||||
return;
|
||||
|
||||
set_conn(c, F);
|
||||
|
||||
local aname = to_lower(Analyzer::name(atype));
|
||||
# No duplicate logging
|
||||
if ( c$conn?$failed_service && aname in c$conn$failed_service )
|
||||
|
|
|
@ -12,8 +12,6 @@ redef record Info += {
|
|||
};
|
||||
|
||||
event new_connection(c: connection) &priority=5 {
|
||||
# In case we're the first access
|
||||
Conn::set_conn(c, F);
|
||||
if ( c$conn?$ip_proto && c$conn$ip_proto in IP::protocol_names )
|
||||
c$conn$ip_proto_name = IP::protocol_names[c$conn$ip_proto];
|
||||
}
|
||||
|
|
|
@ -19,9 +19,6 @@ event new_connection(c: connection)
|
|||
if ( session_id == 0xFFFFFFFF )
|
||||
return;
|
||||
|
||||
# FIXME: remove when GH-4688 is merged
|
||||
set_conn(c, F);
|
||||
|
||||
c$conn$pppoe_session_id = session_id;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue