Ervin Hegedus
d7b38f034e
Refactor code and build system to use libpcre2 as the default
2025-05-15 21:13:52 +02:00
Marc Stern
9ba1caa2fa
Missing #include <time.h>
2024-09-25 13:57:05 +02:00
Ervin Hegedus
e7e11d972f
Merge pull request #3202 from marcstern/v2/pr/assert
...
Fixed assert() usage
2024-08-18 22:58:06 +02:00
Ervin Hegedus
277e7e2bf6
Merge pull request #3193 from marcstern/v2/pr/useless
...
Removed useless code
2024-08-14 10:59:03 +02:00
Ervin Hegedus
e6e3417e9d
Remove unnecessary assert()
2024-08-13 11:07:44 +02:00
Ervin Hegedus
914c1a1cb2
Merge pull request #3194 from marcstern/v2/pr/PCRE_ERROR_NOMATCH
...
msc_regexec() != PCRE_ERROR_NOMATCH
2024-08-12 16:40:40 +02:00
Marc Stern
cb11716af7
Merge branch 'v2/master' of https://github.com/marcstern/ModSecurity into v2/pr/assert
2024-08-02 17:52:01 +02:00
Marc Stern
7c379c8d59
Fixed assert() usage:
...
- added some missing
- removed some invalid
- removed some that were not relevant in the context of the current function, when done in a called function
2024-07-31 11:17:36 +02:00
Ervin Hegedus
223ce91aee
Move xmlFree() call to the right place
2024-07-25 20:52:55 +02:00
Marc Stern
9b987cc3f9
Return of msc_regexec() compared with PCRE_ERROR_NOMATCH (!=) to check if match.
...
Other errors may happen that would return -2, -3, ...
Matching would be incorrectly set in this case.
We must check if >= 0
2024-07-22 17:08:16 +02:00
Marc Stern
cd65a44d64
Removed useless code
2024-07-22 16:53:58 +02:00
Marc Stern
91da5872c1
Many null pointer checks
2024-02-20 13:15:52 +01:00
Martin Vierula
4324f0ac59
Fix: FILES_TMP_CONTENT may sometimes lack complete content
2023-01-04 11:34:11 -08:00
Martin Vierula
8b3b7a0e23
Add ostensibly unnecessary null check
2023-01-04 06:56:54 -08:00
Martin Vierula
8fc0b519b7
Support for PCRE2
2022-11-08 08:06:39 -08:00
Martin Vierula
7a489bd07c
Multipart parsing fixes and new MULTIPART_PART_HEADERS collection
2022-09-07 11:09:47 -07:00
Allan Boll
04e4a6f9b8
Initialize msre_var pointers
2017-06-23 16:16:23 -03:00
Andrew Elble
3044ad012b
Fix the variable resolution duration (Issue #662 )
...
apr_time_usec is apparently defined as follows:
Which leads DURATION to not behave as expected when duration exceeds one second.
2015-10-27 14:40:01 -03:00
Felipe Zimmerle
de1c028d12
Declares msre_var *rvar at the beggining of the function
...
Necessary to fix the build on Win8 VS 2011
2014-11-14 11:53:39 -08:00
Felipe \"Zimmerle\" Costa
7affec82a8
iis: Adds ssdeep support
2014-11-14 11:53:39 -08:00
Felipe Zimmerle
accb1820e0
Adds collection FILES_TMP_CONTENT
...
The collection is filled with a key-value set where value is the content of
the file which was uploaded. This collection can be used with all supported
operators, however SecUploadKeepFiles should be set to 'On' in order
to have this collection filled.
2014-11-14 11:52:56 -08:00
Felipe Zimmerle
385a2828e8
Code cosmetics: Reduces the amounts of warning.
...
Removes the warnings by adding missing headers and removed unused variables.
2014-03-31 16:22:11 -07:00
Felipe Zimmerle
d93ce9ceee
Adds REQUEST_FULL and REQUEST_FULL_LENGTH variables
...
This variable is a combination from REQUEST_LINE, REQUEST_HEADERS and
REQUEST_BODY (if any). Expects for \n\n in between each of those values.
2014-03-31 07:14:55 -07:00
Breno Silva
dafd9aeeb8
Fix make test
2013-05-27 11:43:45 -07:00
Breno Silva
cd31b39ce1
Removed SecDefineRemoteAddr and fixed Apache 2.4 mod_remoteip integration
2013-05-06 00:49:07 -04:00
Breno Silva
84d27cca15
Remove unwanted comment
2013-05-02 11:50:11 -04:00
Breno Silva
29ed5c4dc7
Added: SDBM_DELETE_ERROR variable
2013-05-02 08:04:26 -04:00
Breno Silva
6cd3a14db1
MODSEC-362
2013-04-22 13:36:13 -04:00
Breno Silva
aa18ec7f45
Updated copyright dates
2013-04-19 03:20:46 -04:00
Breno Silva
4db1f51f39
Added MULTIPART_NAME and MULTIPART_FILENAME variables
2013-03-04 11:54:13 -04:00
brenosilva
6335e5426c
Added MULTIPART_INVALID_PART flag
2012-10-14 23:47:27 +00:00
brenosilva
0d2307192c
MODSEC-336
2012-10-05 18:03:58 +00:00
brenosilva
d88a24da1f
fix rsub input parsing and add maturity, ver and accuracy actions
2012-06-04 15:29:51 +00:00
brenosilva
866cb6d6b4
Update trunk for 2.7
2012-05-10 23:18:39 +00:00
brenosilva
1bf5f4532e
MODSEC-272
2011-10-14 13:05:43 +00:00
brenosilva
6b7edc4d47
Fixes, code cleanups, improvements
2011-04-27 15:58:22 +00:00
brenosilva
162e0ff811
Remove unused localtime function
2011-04-26 21:08:42 +00:00
brenosilva
cf97731cc0
Fix logging MATCHED_VARS issue
2011-04-25 19:46:33 +00:00
brenosilva
775f105986
MODSEC-221
2011-04-10 14:46:30 +00:00
brenosilva
6d3b3802de
return value to unique_id
2011-04-03 13:44:54 +00:00
brenosilva
104f0de46e
New License
2011-03-30 14:12:44 +00:00
brenosilva
49732256f6
Improvements, fixes and new features
2011-03-25 13:51:13 +00:00
brenosilva
7f52d86e4b
Include data edition, sanitizematched and few fixes
2011-02-14 12:49:55 +00:00
brenosilva
d0e2546f9b
MODSEC-21
2011-01-14 16:22:15 +00:00
brenosilva
1260d2b097
MODSEC-104
2010-12-23 12:27:57 +00:00
brenosilva
549f059480
move 2.5.13 into trunk
2010-12-08 18:58:18 +00:00
b1v1r
08edc0c26f
Merge 2.5.x (2.5.12) changes into trunk.
2010-02-05 19:05:20 +00:00
ivanr
0ecfe86c3c
Add PERF_GC.
2010-02-03 08:46:42 +00:00
ivanr
5c4733f1ab
Add REQUEST_BODY_LENGTH.
2010-02-02 13:48:30 +00:00
ivanr
86407062e4
Do not use 'total' to refer to PERF_COMBINED in the logs. Use 'combined' instead.'
2010-02-01 12:31:32 +00:00