Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnp3 zeek script delete dnp3_control object #5

Open
biswajitutil opened this issue Jul 4, 2023 · 0 comments
Open

dnp3 zeek script delete dnp3_control object #5

biswajitutil opened this issue Jul 4, 2023 · 0 comments
Assignees

Comments

@biswajitutil
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants