You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have a doubt regarding the zeek script where you have deleted dnp3_control if it is not originated.
However, I want to use connection information (c) when connection will be removed i.e. connection_state_remove(). So, I just want to know what these two below code snippets are doing in each event because I am expecting connection structure will stay the same till connection is removed.
1. if ( ! c?$dnp3_control ) c$dnp3_control = [$ts=network_time(), $uid=c$uid, $id=c$id];
2. if ( !is_orig ){ delete c$dnp3_control; }
Thanks
Biswa
The text was updated successfully, but these errors were encountered:
Hi,
I have a doubt regarding the zeek script where you have deleted dnp3_control if it is not originated.
However, I want to use connection information (c) when connection will be removed i.e. connection_state_remove(). So, I just want to know what these two below code snippets are doing in each event because I am expecting connection structure will stay the same till connection is removed.
1.
if ( ! c?$dnp3_control ) c$dnp3_control = [$ts=network_time(), $uid=c$uid, $id=c$id];
2.
if ( !is_orig ){ delete c$dnp3_control; }
Thanks
Biswa
The text was updated successfully, but these errors were encountered: