mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
IPBasedAnalyzer: Don't flip connections when destination is broadcast
Closes #3235
This commit is contained in:
parent
de65671a0a
commit
ba04f4c31d
5 changed files with 17 additions and 1 deletions
|
@ -171,7 +171,7 @@ zeek::Connection* IPBasedAnalyzer::NewConn(const ConnTuple* id, const detail::Co
|
|||
pkt->ip_hdr->FlowLabel(), pkt);
|
||||
conn->SetTransport(transport);
|
||||
|
||||
if ( flip )
|
||||
if ( flip && ! id->dst_addr.IsBroadcast() )
|
||||
conn->FlipRoles();
|
||||
|
||||
BuildSessionAnalyzerTree(conn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue