mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/topic/johanna/tcp-padding'
* origin/topic/johanna/tcp-padding:
Do not forward padding to downstream TCP packet analyzer
(cherry picked from commit 81ce83590d
)
This commit is contained in:
parent
a99231d956
commit
483f7a0322
8 changed files with 104 additions and 3 deletions
|
@ -130,8 +130,8 @@ void TCPAnalyzer::DeliverPacket(Connection* c, double t, bool is_orig, int remai
|
|||
// Call DeliverPacket on the adapter directly here. Normally we'd call ForwardPacket
|
||||
// but this adapter does some other things in its DeliverPacket with the packet children
|
||||
// analyzers.
|
||||
adapter->DeliverPacket(remaining, data, is_orig, adapter->LastRelDataSeq(), ip.get(),
|
||||
pkt->cap_len);
|
||||
adapter->DeliverPacket(std::min(len, remaining), data, is_orig, adapter->LastRelDataSeq(),
|
||||
ip.get(), pkt->cap_len);
|
||||
}
|
||||
|
||||
const struct tcphdr* TCPAnalyzer::ExtractTCP_Header(const u_char*& data, int& len, int& remaining,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue