Shivani Bhardwaj
4ed72addf3
src: remove multiple uses of atoi
...
atoi() and related functions lack a mechanism for reporting errors for
invalid values. Replace them with calls to the appropriate
ByteExtractString* functions.
Partially closes redmine ticket 3053.
6 years ago
Victor Julien
26bcc97515
detect/keywords: dynamic version part of doc URL
7 years ago
Jeff Lucovsky
d3a65fe156
detect: Provide `de_ctx` to free functions
...
This commit makes sure that the `DetectEngineCtx *` is available
to each detector's "free" function.
7 years ago
Jeff Lucovsky
7f6af10fed
general: copyright bump
7 years ago
Jeff Lucovsky
4b0085b03c
detect: Update to take advantage of PCRE refactor
...
This commit changes the keyword detectors to use the refactored PCRE
modifications from detect-parse.[ch]
7 years ago
Philippe Antoine
9d2fabcd99
doc: fix typo in DetectTcpmssSetup description
...
And use lowercase true for boolean
7 years ago
Jeff Lucovsky
be4c6b85de
general: Convert _Bool to bool
...
This commit addresses task 3167 and changes usages of '_Bool` to `bool`.
The latter is included from `suricata-common.h`
7 years ago
Jeff Lucovsky
be22b23d2e
cleanup: eliminate warnings/errors with debug build on macos
7 years ago
Victor Julien
14896365ef
detect: remove Threadvars argument from API calls
...
Remove it as it's (almost) never used. If it is really needed it can
be accessed through DetectEngineThreadCtx::tv as well.
7 years ago
Victor Julien
66648df099
detect: add tcp.mss keyword
...
Allows matching on TCP option MSS.
Syntax:
tcp.mss:<value>;
tcp.mss:<value1>-<value2>;
tcp.mss:<op><value>;
Operator can be: >, <.
7 years ago