mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
Store some additional information in the packet during processing
- Session related to the packet - is_orig information if a UDP header was found
This commit is contained in:
parent
5f58ce8a5d
commit
f93c5a6942
5 changed files with 30 additions and 5 deletions
|
@ -121,6 +121,10 @@ void ICMPAnalyzer::DeliverPacket(Connection* c, double t, bool is_orig, int rema
|
|||
return;
|
||||
}
|
||||
|
||||
// Store the session in the packet in case we get an encapsulation here. We need it for
|
||||
// handling those properly.
|
||||
pkt->session = c;
|
||||
|
||||
ForwardPacket(len, data, pkt);
|
||||
|
||||
if ( remaining >= len )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue