]> git.ipfire.org Git - thirdparty/suricata.git/commit
bypass: new callback stragegy
authorEric Leblond <eric@regit.org>
Sat, 8 Jun 2019 16:11:22 +0000 (18:11 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 18 Jun 2019 05:07:02 +0000 (07:07 +0200)
commitb07bda7a7b223f1c7058335dcb8e9b5843d9af46
tree1705b42faf301c145ba6fc5e4d73c6440bd2c28d
parentfcae1c18de348762c25cf703de71c3a06009235c
bypass: new callback stragegy

This patch introduces and uses a new bypass strategy
based on a callback. EBPF bypass implementation is
updated to use this new strategy.

Once the flow manager detect that a flow should be timeouted,
it asks the capture method if it has seen packets in the interval.
If it is the case the lastts of the flow is updated and the timeout
is postponed.
src/decode.c
src/flow-manager.c
src/flow-util.c
src/flow.h
src/output-json-flow.c
src/runmode-af-packet.c
src/source-af-packet.c
src/suricata.c
src/util-ebpf.c
src/util-ebpf.h