mirror of https://github.com/OISF/suricata
flow/timeout: flag last pseudo packet
Flag the last flow timeout pseudo packet so that we can force TX logging w/o setting both app-layer flags. Case this fixes: 1. flow times out when only TS TCP data received, but non of it is ACK'd. So there is no app-layer proto yet, or app state or Flow::alparser. So EOF flags can't be set. 2. Flow timeout sees no reason to create pseudo packet in TC direction. 3. TS pseudo packet finds HTTP, creates HTTP state, flag EOF TS. 4. TX logging skips HTTP logging because: - TC progress not reached - EOF TC flag not set. The solution has been to flag the very last packet for the flow as such and use it has a master-EOF flag.pull/5234/head
parent
c825f83633
commit
42205006d1
Loading…
Reference in New Issue