]> git.ipfire.org Git - thirdparty/suricata.git/commit
flow/stream: reduce/disable pseudo packet injections
authorVictor Julien <victor@inliniac.net>
Sun, 19 Feb 2017 11:32:23 +0000 (12:32 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 20 Apr 2017 15:41:11 +0000 (17:41 +0200)
commit149e3240602e070d88c833088a5bf045d3b349a3
tree9ee6b20d6a40f072e5e90f1c10848ae512bb4da9
parent2d223b69cd74f5afbed24c309cb355a4de65ba97
flow/stream: reduce/disable pseudo packet injections

At flow timeout, we no longer need to first run reassembly in
one dir, then inspection in the other. We can do both in single
packet now.

Disable pseudo packets when receiving stream end packets. Instead
call the app-layer parser in the packet direction for stream end
packets and flow end packets.

These changes in handling of those stream end packets make the
pseudo packets unnecessary.
src/app-layer.c
src/flow-timeout.c
src/flow-worker.c
src/stream-tcp-reassemble.c
src/stream-tcp-reassemble.h
src/stream-tcp.c
src/stream-tcp.h