2937 Commits

Author SHA1 Message Date
Felipe Zimmerle
bad5892b93
tests: Adds secargumentslimit.json to Makefile.am 2020-02-14 11:03:52 -03:00
martinhsv
f57265a3e2
Support configurable limit on number of arguments processed 2020-02-14 11:00:01 -03:00
Felipe Zimmerle
4e9ba44d03
build: Keep the installation of rules.h 2020-02-13 09:16:35 -03:00
Felipe Zimmerle
4671608d5b
cppcheck: more suppressions 2020-02-12 09:32:15 -03:00
Felipe Zimmerle
22ec307739
Fix 7495675d540b3b3ccce681773205a4fe34daeb64 2020-02-12 08:56:03 -03:00
Felipe Zimmerle
b7e28c246f
static: fix static checks 2020-02-11 15:16:24 -03:00
Felipe Zimmerle
7495675d54
Refactoring: Renames Rules to RulesSet
RulesSet does not only contain rules but alse properties
2020-02-11 14:26:47 -03:00
Felipe Zimmerle
0c3e8b6b59
parser: cosmetics: makes it easy to read 2020-02-11 13:10:49 -03:00
Felipe Zimmerle
6a0df8ca5c
parser: new bison version 2020-02-11 11:15:09 -03:00
martinhsv
136db3e582
Multipart Content-Disposition should allow filename* field 2020-02-11 10:29:38 -03:00
martinhsv
1b1fdc055b
Fix rule-update-target exclusions for plain (non-regex) variables 2020-02-11 09:42:37 -03:00
Felipe Zimmerle
f7e4c1d9f5
CHANGES: Adds info about #2235 2020-02-04 11:05:33 -03:00
Frank Vanbever
e9bcaf441d
test for uClinux in configure script
Signed-off-by: Frank Vanbever <frank.vanbever@essensium.com>
2020-02-04 11:04:31 -03:00
Frank Vanbever
fe84d2bae6
Fail when CANONICAL_HOST cannot be determined
When the CANONICAL_HOST is unknown the configure script exits
with exit code 0 even though no makefile was produced.

Signed-off-by: Frank Vanbever <frank.vanbever@essensium.com>
2020-02-04 11:04:31 -03:00
Felipe Zimmerle
2b09e7e01d
CHANGES: Adds info about #2253 2020-02-04 10:53:22 -03:00
Fabrice Fontaine
f76a1a667b
modsecurity.pc.in: add Libs.private
Add Libs.private to save static dependencies so applications linking
statically with modsecurity will be able to retrieve them through
pkg-config

Fix #1918

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2020-02-04 10:51:30 -03:00
Felipe Zimmerle
357c140003
Changens copyright year 2020-01-31 10:32:37 -03:00
Felipe Zimmerle
fe98ce4c7d
Cosmetics: address cppcheck warnings 2020-01-30 18:19:34 -03:00
Felipe Zimmerle
68ef2dece3
Cosmetics: address cppcheck warnings on src/variables 2020-01-27 09:08:31 -03:00
Felipe Zimmerle
ff9152ed74
Cosmetics: address cppcheck warnings on src/utils 2020-01-23 08:51:45 -03:00
Felipe Zimmerle
ff590174da
Cosmetics: address cppcheck warnings on src/operators 2020-01-23 08:10:05 -03:00
Felipe Zimmerle
9101a8ab15
Cosmetics: address cppcheck warnings on src/actions 2020-01-22 10:37:51 -03:00
Felipe Zimmerle
a6620604d4
build: fix yajl messages 2020-01-22 09:16:13 -03:00
Felipe Zimmerle
4f13fecbaf
cppcheck: make static analysis more pedantic 2020-01-22 09:16:10 -03:00
Felipe Zimmerle
cd9b8aa93b
cppcheck: Organizes the suppression list
- cppcheck warnings will lead to build failure
2020-01-22 09:16:05 -03:00
Felipe Zimmerle
86a5f471a9
Cosmetics: fixed static analysis issues. 2020-01-15 20:35:59 -03:00
Felipe Zimmerle
1fc5847919
Travis: abusing -j 2020-01-14 15:12:46 -03:00
Felipe Zimmerle
2e88337332
Test suite: improvements 2020-01-14 14:40:25 -03:00
Felipe Zimmerle
7c6bf810e4
CHANGES: Preparing to 3.0.4+ 2020-01-14 11:02:44 -03:00
Felipe Zimmerle
753145fbd1
Change release version to v3.0.4 v3.0.4 2020-01-10 09:32:41 -03:00
martinhsv
0470168056 Fix: audit log data omitted when nolog,auditlog 2020-01-07 11:16:07 -03:00
root
6624a18a4e
Fixed inspectFile operator does not pass FILES_TMPNAMES
pass FILES_TMPNAMES variable to lua engine Fixed Lua engine
should also be aware of the variable and pass it to the target
lua script main function
2019-11-26 08:40:53 -03:00
Felipe Zimmerle
05e9e7cf31
XML: Remove error messages from stderr 2019-11-25 09:27:11 -03:00
Felipe Zimmerle
42a16c71cf
CHANGES: Adds info about #1645 2019-11-22 14:49:50 -03:00
toubley
7b1b00b5e1
filter comment or blank line for pmFromFile operator 2019-11-22 14:49:41 -03:00
martinhsv
ea7cacf289
Additional adjustment to Cookie header parsing 2019-11-21 16:50:27 -03:00
martinhsv
6395fe07ce
Restore chained rule logging to be more like 2.9 2019-11-21 08:21:59 -03:00
Ervin Hegedus
038522ad9b
Small fixes in log messages to help debugging 2019-11-20 15:24:30 -03:00
martinhsv
b8160cce6b Fix Cookie header parsing issues 2019-11-20 08:51:06 -03:00
Ervin Hegedus
7ba77631f9 Replace Cookie parsing method 2019-11-20 08:51:05 -03:00
martinhsv
199a9db3e2
Fix nolog rules logging to part H 2019-11-11 13:50:44 -03:00
martinhsv
9cac167faf Fix argument key-value pair parsing cases 2019-11-05 13:06:29 -03:00
martinhsv
68c995ca98 Fix: audit log part for response body for JSON format to be E 2019-10-25 09:51:26 -03:00
felipe
c41ab312f3
Updates test cases 2019-10-24 09:59:57 -03:00
martinhsv
01c7a2689b
Fix test issue-1974 2019-10-24 09:57:49 -03:00
Victor Hora
d4dc3dbf2a
Make sure m_rulesMessages is filled after successfull match 2019-10-16 09:40:04 -03:00
Felipe Zimmerle
42da29fed1
Merge pull request #2155 from patros/v3/master
Correct minor README.md typo
2019-10-15 16:30:35 -03:00
Andrei Belov
5929277938
Avoid using NULL string (match) in Pm::evaluate
Closes #2178.
2019-10-07 08:37:05 -03:00
Felipe Zimmerle
beedddd6c6 Fix @pm lookup for possible matches on offset zero 2019-10-02 08:05:14 -07:00
Patrick Dwyer
1d552673a1
Correct minor README.md typo 2019-08-22 21:28:25 +10:00