Skip to content
Permalink
Browse files

Merge pull request #1 from JustinAzoff/JustinAzoff-patch-1

Use new_connection to match udp and incomplete tcp
  • Loading branch information...
sethhall committed Apr 19, 2019
2 parents 6dd7a1d + 1b90fcd commit 8909e9340e9a41d1ecca29b46dd3c36dfaa50380
Showing with 1 addition and 10 deletions.
  1. +1 −10 scripts/main.bro
@@ -10,16 +10,7 @@ redef record conn_id += {
vlan_inner: int &log &optional;
};

event connection_established(c: connection) &priority=4
{
if ( c?$vlan )
c$id$vlan = c$vlan;

if ( c?$inner_vlan )
c$id$vlan_inner = c$inner_vlan;
}

event connection_rejected(c: connection) &priority=4
event new_connection(c: connection) &priority=4
{
if ( c?$vlan )
c$id$vlan = c$vlan;

0 comments on commit 8909e93

Please sign in to comment.
You can’t perform that action at this time.