mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
policy/community-id: Do not use new_connection()
Issue #3028 tracks how a flipped connections reset a connection's value including any state set during new_connection(). For the time being, update community-id functionality back to the original connection_state_remove() approach to avoid missing community_ids on flipped connections.
This commit is contained in:
parent
c543387ce0
commit
e82a7455d7
2 changed files with 3 additions and 13 deletions
|
@ -17,10 +17,7 @@ export {
|
|||
};
|
||||
}
|
||||
|
||||
module Conn;
|
||||
|
||||
event new_connection(c: connection)
|
||||
event connection_state_remove(c: connection)
|
||||
{
|
||||
Conn::set_conn(c, F); # likely first to access :-/
|
||||
c$conn$community_id = community_id_v1(c$id, CommunityID::seed, CommunityID::do_base64);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue