Commit Graph

12011 Commits (eb4c71fdd6d3eedba19d4503925910a6939b8e1a)
 

Author SHA1 Message Date
Philippe Antoine 62e665c848 fuzz: rightly uses PacketFreeOrRelease in target
instead of PacketFree because packets
may belong to the pool
4 years ago
Philippe Antoine e586d8526b fuzz: use some value for max_pending_packets
so as not to timeout waiting forever for the condition
in PacketPoolWait
4 years ago
Philippe Antoine a6bbb608f7 fuzz: makes target sigpcap more reproducible
By removing the temporary rules file if it existed
before the first run
4 years ago
Victor Julien f2e9517434 github: run codecov verify test w/o optimizations 4 years ago
Victor Julien 3f807f3bf6 rust: update dependencies 4 years ago
Victor Julien ebde15f0e2 rust: lock all major crate versions
To avoid surprises with dependencies bumping MSRV.
4 years ago
Victor Julien 4b5af36061 rust: relax nom version to any >=5.1.1 4 years ago
Philippe Antoine b869ac01ee http: enables request decompression 4 years ago
Eric Leblond 85327890f5 suricata: avoid at exit crash in nfq mode
When Suricata was build with ebpf support and when it was started
in NFQ mode, it was crashing at exit because it was trying to free
the device extension.

This patch fixes the issue by only trigger the eBPF related code
when Suricata is running in AFP_PACKET mode.
4 years ago
Eric Leblond e6cfcb704c storage: fix a variable name 4 years ago
Eric Leblond 628458e7d3 detect: fix link to documentation 4 years ago
Philippe Antoine 43f25f127f ftp: ftp-data recognized by StringToAppProto 4 years ago
Philippe Antoine d861228214 http2: decompression for files
gzip and brotli decompression for files
4 years ago
Philippe Antoine 2e46b5d100 rust: BIT_U16 macro utility 4 years ago
Philippe Antoine aee8e60149 rust: better panic message for missing file config 4 years ago
Philippe Antoine 8ac363c34d rust: fix warning about unused values in smb tests 4 years ago
Philippe Antoine 76db6e34a1 protocol detection: fix failure case
as reached by CIFuzz even if unreachable from Suricata
4 years ago
Philippe Antoine f5d8e953a8 protodetect: debug validation when multiple patterns match 4 years ago
Victor Julien 00d7c9034b stream: remove debug assert
In cases of large windows in the past the check would tigger.
4 years ago
Victor Julien b66d013294 detect/http_client_body: minor test cleanups 4 years ago
Eric Leblond 64f994f753 dataset: fix dataset string lookup
The data was unlocked but the use_cnt was not decreased resulting
in the data entry not being removable.
4 years ago
Victor Julien 191461a028 detect/file_data: cleanup tests 4 years ago
Victor Julien 116c089de0 stream/tests: minor cleanups 4 years ago
Victor Julien 80a3bbef3d qa/cocci: support FAIL macros in malloc check 4 years ago
Victor Julien 711cfe5657 github: codecov fix path handling 4 years ago
Victor Julien ee6d792b02 stream: move tests into tests/ 4 years ago
Victor Julien 226a82bade detect/fast_pattern: redo unittests 4 years ago
Victor Julien 66d7f5941a detect/fast_pattern: remove dead code 4 years ago
Victor Julien bc9e7743f3 detect/http-ua: cleanup tests 4 years ago
Emmanuel Thompson f12daa710f decode/flow/esp: Add ESP decoder & flow
- Adds an ESP (Encapsulating Security Payload) header decoder
- Tracks ESP flows via the SPI field
4 years ago
Victor Julien 9adeae07b1 decode: reformat REINIT macro 4 years ago
Victor Julien 3f4398cc90 decode: minor unittest cleanups 4 years ago
Victor Julien bf00285d0a proto/names: add SCTP if not defined in system
If SCTP is missing from /etc/protocols, add it manually.
4 years ago
Victor Julien 5303901790 github: add codecov.yml
Don't report until both cov runs are available to avoid partial
reporting in pull request comments.
4 years ago
Victor Julien c25afbccc1 json: remove unused jansson wrappers 4 years ago
Victor Julien b6b317cae6 http: enable and fix content range tests 4 years ago
Victor Julien a7cd765f20 app-layer/nfs: dead code removal 4 years ago
Juliana Fajardini 97350d9a2c detect/rpc: clean up unittests
- detect-rpc: convert unit tests to new FAIL/PASS API.
- detect-rpc: replace SigInit with DetectEngineAppendSig for more
  concise code.
4 years ago
Victor Julien 1e9934cf21 github: add codecov badge 4 years ago
Victor Julien f0f578444e ci: initial codecov integration 4 years ago
Eric Leblond 37b1595c20 configure: fix llc detection on recent Debian
Where clang --version was returning:

clang version 9.0.1-15+b1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

Newer version like clang-10 on Debian are returning:

Debian clang version 10.0.1-8+b1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

As a result the parsing was failing to determine which llc was
available on the system.
4 years ago
Jason Ish 512b0350a0 lua: fix coverity issue with out of scope variable
Fix usage of out-of-scope variables. Introduced with the hashing
and adding the guard of g_disable_hashing.

To fix, just remove the guard so all variables are in scope. Hashes
are not initialized here so there is no need for the guard.
4 years ago
Jeff Lucovsky 1c68f4aed6 lua/test: Test cases using SC prefix
This commit adds paired test cases to ensure that the SC variant of the
entry points are tested.
4 years ago
Jeff Lucovsky 25e9483168 doc/lua: Lua API name consistency
This commit updates the documentation of the SCFlow* function names
available to Lua scripts.

Formerly, they used the prefix "Sc"; now they use "SC".
4 years ago
Jeff Lucovsky c845974639 general: Correct typo 4 years ago
Jeff Lucovsky 431018d6f7 lua: Use SC prefix for Lua functions
This commit adds additional Lua API interfaces to bring consistency to
functions such that the `SC` prefix is available consistently across
flow int and flow var functions.
4 years ago
Victor Julien 3a8ba663a9 email/md5: optimize md5 handling 4 years ago
Jason Ish 547afcb983 doc/userguide/transforms: remove not about libnss being required 4 years ago
Jason Ish 41591af48b doc/userguide/install: remove libnss 4 years ago
Jason Ish 4695e8e595 travis-ci: don't install libnss 4 years ago