Commit Graph

14270 Commits (94bb6dded6b7d91f6def49998e00e1828ab242cd)
 

Author SHA1 Message Date
Lukas Sismis 958f94276a runmodes: remove misleading commment 2 years ago
Lukas Sismis e2a5bc7961 dpdk: add support for enabling IPS support in DPDK mode 2 years ago
Lukas Sismis 449943e1a9 util-device: remove unused functions 2 years ago
Lukas Sismis bed16ba44c runmodes: change function prototype of runmode init functions
Commit contains prototype changes of RunModeSetLiveCaptureAutoFp and
RunModeSetLiveCaptureWorkers functions to move the IPS enable logic
out of suricata.c file.
2 years ago
Lukas Sismis ee4f75e4b4 dpdk: port deprecated DPDK macros to the newer forms 2 years ago
Lukas Sismis 1c8205e6b1 dpdk: add Github action to build Suricata with all available (LTS) DPDK versions 2 years ago
Lukas Sismis 79130103c2 dpdk: print debug xstats counters of all DPDK ports on shutdown 2 years ago
Lukas Sismis cb6fa894ef dpdk: add a check for HW checksum validation offload
Ticket: #5553
2 years ago
Victor Julien da1ad843b4 time: -Wstrict-prototypes fix 2 years ago
Jeff Lucovsky 9fbe683642 time: Rework SCTime_t into a struct
Issue: 5718

This commit changes SCTime_t to a struct with members setup as
bitfields.
2 years ago
Jeff Lucovsky 31793aface time: Replace struct timeval with scalar value
Issue: 5718

This commit switches the majority of time handling to a new type --
SCTime_t -- which is a 64 bit container for time:
- 44 bits -- seconds
- 20 bits -- useconds
2 years ago
Jeff Lucovsky 7702ad410e format/clang: Apply clang-format
Issue: 5718
2 years ago
Victor Julien c15d511064 frames: enable only used frames
Enable only frames that are actually used.

Ticket: #4979.
2 years ago
Victor Julien 6cc9811edd files: move FileContainer into FileTransferTracker
Update SMB, NFS, HTTP2.
2 years ago
Victor Julien aa376a3b21 detect/frame: improve frame detection
Add a per frame progress tracker.
2 years ago
Victor Julien 169ee11ead output/frame: log frame type stream 2 years ago
Victor Julien d72bc364de output/frame: improve 'complete' logging 2 years ago
Victor Julien 6cbb5306c6 frame: add debug validation check 2 years ago
Victor Julien b43dc5a64a app-layer/frames: use absolute frame offset
Frame offset was already a 64 bit integer, so simplify things by
making it an absolute offset from the start of the stream.
2 years ago
Victor Julien 39d9b3adbe frames: implement generic <alproto>.stream frames
Add a hard coded <alproto>.stream option for all stream data for
a protocol.

Starts at stream offset 0 or at the point of a protocol upgrade
in case of STARTTLS or CONNECT.
2 years ago
Victor Julien f773b714e9 detect/frames: minor cleanup in buffer handling
Don't lookup a buffer twice, even if the lookup should be fast.
2 years ago
Victor Julien d0f1507c83 htp: simplify streaming buffer config
Use a single static config instead of the per profile config.
2 years ago
Victor Julien c79c0ca347 streaming: remove config pointer from struct 2 years ago
Victor Julien 53d9a1f39f streaming: internal switch to sbcfg by argument 2 years ago
Victor Julien ff882cd73f streaming: add sbcfg to StreamingBufferClear 2 years ago
Victor Julien 6e5f35e0a0 streaming: add sbcfg to StreamingBufferFree 2 years ago
Victor Julien 96f29440cb streaming: add sbcfg to StreamingBufferAppendRaw 2 years ago
Victor Julien 30ee9165b5 streaming: add sbcfg to StreamingBufferAppend 2 years ago
Victor Julien 3b5deb4ec7 streaming: add sbcfg to StreamingBufferSlideToOffset 2 years ago
Victor Julien b9540d1073 streaming: add sbcfg to StreamingBufferInsertAt 2 years ago
Victor Julien 058dc02e81 streaming: add sbcfg to StreamingBufferAppendNoTrack 2 years ago
Victor Julien 355f259b8c output/filedata: trunc file in output again 2 years ago
Victor Julien e3e55406a7 files: update API and callers to take stream config
This is to allow not storing the stream buffer config in each file.
2 years ago
Victor Julien f7dbdb7631 output/filedata: don't call file close
Will be reenabled after file API is updated.
2 years ago
Victor Julien 71bc9e75f5 app-layer: get sbconfg with files 2 years ago
Victor Julien a1a221066f files: remove filecontainer drop trait
In preparation of it becoming impossible to use due to the free
function getting an cfg argument.
2 years ago
Victor Julien 0320c03f8c http2: explicity free files
In preparation of adding an argument to the free functions which
means the drop trait can't be used anymore.
2 years ago
Victor Julien 4b1e9f7c21 smb: explicity free files
In preparation of adding an argument to the free functions which
means the drop trait can't be used anymore.
2 years ago
Victor Julien 3a24cce289 nfs: explicity free files
In preparation of adding an argument to the free functions which
means the drop trait can't be used anymore.
2 years ago
Victor Julien 4bfeac6591 nfs: file handling cleanups 2 years ago
Victor Julien 33f6a16290 smb: file handling cleanups 2 years ago
Victor Julien d57510a10f files: remove unused Rust binding for file pruning 2 years ago
Victor Julien f19b40a7f6 streaming: set size and max regions defaults 2 years ago
Victor Julien 229b82721d htp: remove duplicate prototypes 2 years ago
Victor Julien f788d31f22 htp/body: minor optimization 2 years ago
Victor Julien b62a513c47 flow: inline commonly used getters 2 years ago
Victor Julien 76a256a8b1 streaming: remove inefficient buffer grow logic 2 years ago
Victor Julien 467234659d streaming: remove unused slide logic 2 years ago
Victor Julien 0b36bde9be streaming: remove unused config member 2 years ago
Victor Julien 2cfbefb6c6 streaming: make minimum region gap size configurable 2 years ago