Commit Graph

14588 Commits (fa3f16ec757affee44439744ef10aa42e57dd750)
 

Author SHA1 Message Date
Victor Julien fa3f16ec75 threading: wait for flow housekeeping at shutdown
Flow house keeping can accumulate work that wasn't taken into account
during shutdown. This could lead to flows still in the flowworker
thread context when being it was freed, leading to missed work and
memory leaks.

This patch adds a new way of checking if a thread module is still
busy.

Bug: #6062.
2 years ago
Victor Julien d333dffdcb flowworker: flush local work queue on capture timeout
Capture timeout means no packets have been received for some
time, so this is a good time to flush out all work.
2 years ago
Victor Julien 55e32b2544 flowworker: rate limit flow queue processing
Until this patch the logic the flow worker flow house keeping used was:
- at most 2 flows are handled per packet
- pseudo packets could flush the entire queue

This patch changes that. Pseudo packets are fairly common, and can lead
to packet stalls / latency spikes if the number of flows in the queue
is large.

It does that by adding a new packet type only used at shutdown, which
flushes out the queues completely. All other packets will now stick
to the 2 flow rate limit.
2 years ago
Scott Jordan 04d3584889 datasets: bugfix to load ip types from yaml 2 years ago
Victor Julien 9a4231d737 src: various comment spelling fixes
Thanks to Josh Soref.
2 years ago
Victor Julien 8d016fe3ed dpdk: minor output fixup
Thanks to Josh Soref.
2 years ago
Victor Julien 197af37626 detect/parse: fix test spelling
Thanks to Josh Soref.
2 years ago
Victor Julien 74f5d080e6 stream: fix test code spelling
Thanks to Josh Soref.
2 years ago
Victor Julien 77862d503a dpdk: fix variable spelling
Thanks to Josh Soref.
2 years ago
Victor Julien 8e5e9a289b scripts: fix bundle script spelling
Thanks to Josh Soref.
2 years ago
Victor Julien f9276fdf00 rust: spelling fixes
Thanks to Josh Soref.
2 years ago
Victor Julien e3e0ff6edf commandline: fix help output spelling
Thanks to Josh Soref.
2 years ago
Victor Julien cdd3251982 snmp: fix spelling
Thanks to Josh Soref.
2 years ago
Victor Julien 9287320330 license: fixup file headers
Thanks to Josh Soref.
2 years ago
Victor Julien 0903536fd6 doc: spelling
Thanks to Josh Soref.
2 years ago
Victor Julien e120bf6aad changelog: spelling
Thanks to Josh Soref.
2 years ago
Victor Julien a6ccf63540 detect/csum: test cleanups 2 years ago
Victor Julien 80d873fad0 detect/content: test cleanups 2 years ago
Victor Julien 6487c689fd windivert: compile fixes 2 years ago
Victor Julien 74326a43e7 github-ci: add windivert build 2 years ago
Eric Leblond a73c9b0e40 output: target keys have port
Update JSON schema to support signature with target keyword
2 years ago
Philippe Antoine 9bd2b72e2b doc: explain where tls.store stores certificates
By adding a reference/link to the doc about the suricata.yaml
config section pecifying the directory where the certificates
are stored
2 years ago
Victor Julien 0c3af2436c util/rule-vars: spelling 2 years ago
Victor Julien 3941f2658d common: spelling 2 years ago
Victor Julien 42b5df5b8a threshold: spelling 2 years ago
Victor Julien 44b63c949f debug: spelling 2 years ago
Victor Julien 3e6f640e94 redis: spelling 2 years ago
Victor Julien 9e7611278f mime: spelling 2 years ago
Victor Julien 29056e116c unix-socket: spelling 2 years ago
Victor Julien 6626382089 reputation: spelling 2 years ago
Victor Julien eb779a577d ippair: spelling 2 years ago
Victor Julien 6942e5c6e6 host: spelling 2 years ago
Victor Julien 61b90ca4d5 stats: spelling 2 years ago
Victor Julien 0a9d029057 radix: spelling 2 years ago
Victor Julien 594283c2f5 hash: spelling 2 years ago
Victor Julien 297943f3cc file: spelling 2 years ago
Victor Julien 203ca9cdff profiling: spelling 2 years ago
Victor Julien fe60f869d2 unittests: spelling 2 years ago
Victor Julien ff672b3562 reference: spelling 2 years ago
Victor Julien 1a0af685e2 classification: spelling 2 years ago
Victor Julien 26ffaf99d3 util/lua: spelling 2 years ago
Victor Julien 395f6c111d hash/lookup3: spelling 2 years ago
Victor Julien 97bbc52865 util/misc: spelling 2 years ago
Victor Julien da179b7ae8 queue: spelling 2 years ago
Victor Julien c38c54107b runmodes: spelling 2 years ago
Victor Julien 1186036a88 conf: spelling 2 years ago
Victor Julien 3f6be7a653 stream: spelling 2 years ago
Victor Julien 52be5b242c threading: spelling 2 years ago
Victor Julien 8d381fa7dd fuzz: spelling 2 years ago
Victor Julien a76145fba6 tests: spelling 2 years ago