]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: apply drops to tunnel root 8177/head
authorVictor Julien <vjulien@oisf.net>
Wed, 16 Nov 2022 09:44:13 +0000 (10:44 +0100)
committerVictor Julien <vjulien@oisf.net>
Wed, 16 Nov 2022 20:04:40 +0000 (21:04 +0100)
commit778faaed966c6c06a08c6ecb04bee26cc453f374
treee60c77afea7f5915f582876f7b80909fc01ad81b
parentbcd8d7d6c4bc138c8a2840032f5994517e0a9e01
detect: apply drops to tunnel root

`PacketDrop` applied a DROP to the current packet unconditionally,
while in tunnel/encapsulated cases the DROP should have been applied
to the root packet.

Fixes: 6742ecbc9e87 ("decode: make PacketDrop use action as parameter")
Bug: #5600.
src/decode.h