Commit Graph

2721 Commits

Author SHA1 Message Date
Felipe Zimmerle
cf4deaa3a0 Using uint64_t instead of u_int64_t 2017-03-28 12:55:40 -03:00
Felipe Zimmerle
d15b57895b Fix the Multipart parser error for unknown content type 2017-03-28 09:38:10 -03:00
Felipe Zimmerle
80cfca6fa3 Fix the debug log level merge function 2017-03-27 14:09:42 -03:00
Felipe Zimmerle
2a54bf23e5 Fix the debug log merge function 2017-03-27 11:30:26 -03:00
Felipe Zimmerle
eb12b15146 Flush [shared-] file after write it 2017-03-24 18:08:13 -03:00
Felipe Zimmerle
dbcf5a7198 API CHANGE: Rules::merge signature was change to includes error msg 2017-03-23 09:52:39 -03:00
Felipe Zimmerle
5e59d19121 Improves macro expansion speed and variable set attribution 2017-03-23 08:53:51 -03:00
Felipe Zimmerle
f17da09fc0 Avoids call `toupper' twice while resolving a variable 2017-03-23 08:53:51 -03:00
Andrei Belov
85f98c8a66 Fix "make dist" after recent changes to parser
In particular, it is now possible to either build ModSecurity
with pre-generated parser, or use "--enable-parser-generation"
configure option to rebuild parser from sources.
2017-03-09 18:18:00 -03:00
Felipe Zimmerle
c290c73f9b Updates travis' badge 2017-03-08 09:44:17 -03:00
Felipe Zimmerle
53485c7f74 Fix pcre_exec offset values 2017-03-06 15:02:04 -03:00
Felipe Zimmerle
e79712095b Minor fix in the decision on whenever the log callback should be called 2017-03-06 15:02:04 -03:00
Felipe Zimmerle
e2af60e765 Expands log_cb to share ruleMessage structure instead text
Text version still available and it is the default options
2017-03-06 15:02:04 -03:00
Felipe Zimmerle
9ea5b475b2 Fix missing initialization on rules-check utility 2017-03-06 15:02:04 -03:00
Felipe Zimmerle
6d61bd6b57 Adds rules-check utility 2017-03-06 15:02:04 -03:00
Felipe Zimmerle
d2c5b31b17 Uses FILE instead of _IO_FILE 2017-03-06 15:02:04 -03:00
Felipe Zimmerle
e2bd87d07d Fix minor parser errors 2017-03-06 15:02:04 -03:00
Felipe Zimmerle
c3cb23f47d Removes the ';' from the x-www-form-urlencoded body-processor comparison 2017-03-06 15:02:03 -03:00
Felipe Zimmerle
d6363607aa Accept quoted regexp in the collection selection 2017-03-06 15:02:03 -03:00
Felipe Zimmerle
39761ce7b8 Discards the `charset' from the C-T while checking for body processors
Issue #1330
2017-03-06 15:02:03 -03:00
Felipe Zimmerle
7ab192e90f Using method instead of procol in the audit logs.
Issue #1331
2017-03-06 15:02:03 -03:00
Felipe Zimmerle
fcad290152 Having the DebugLogs using the SharedFile schema 2017-03-06 15:02:03 -03:00
Felipe Zimmerle
7f9cd76619 Improvements on the SharedFiles class
examples/multiprocess_c/multi
2017-03-06 15:02:03 -03:00
Felipe Zimmerle
01c13da510 Fix segfault due to invalid memory access on SharedFiles class
Issue #1318
2017-03-06 15:02:03 -03:00
David Testé
87f6b478fb Fix typo in returned string 2017-03-06 15:02:03 -03:00
David Testé
cc25390dc9 Fix copy/paste typo 2017-03-06 15:02:03 -03:00
Felipe Zimmerle
027d50b76b Adds first version of `processContentOffset'
This commit also includes an example application on how to use the
`processContentOffset' method.
2017-03-06 15:02:02 -03:00
Felipe Zimmerle
7aae5dc183 Fix Regex::searchAll to behave like global modifier 2017-03-06 15:02:02 -03:00
Felipe Zimmerle
4d66481bfa travis: Installs cppcheck on MacOS X 2017-03-06 15:02:02 -03:00
Felipe Zimmerle
616cf84c31 Adds check-static to travis.yaml 2017-03-06 15:02:02 -03:00
Felipe Zimmerle
4ad3574cf2 Adds offset regression tests and assorted fixes on var's offsets 2017-03-06 15:02:02 -03:00
Felipe Zimmerle
795994bb0e Adds support to error_log in the regression tests 2017-03-06 15:02:02 -03:00
Felipe Zimmerle
ae8c2a4865 Adds ZenHub Badge to Readme 2017-03-06 15:02:02 -03:00
Felipe Zimmerle
073b0f6d6a Small changes in the README, including: having ModSecurity logo 2017-03-06 15:02:02 -03:00
Felipe Zimmerle
aba68a7b6a Adds ModSec log to the git repository 2017-03-06 15:02:01 -03:00
Felipe Zimmerle
efb90bb554 Adds OWASP rules to the gitignore list 2017-03-06 15:02:01 -03:00
Felipe Zimmerle
71a9677f38 Adds configure.h to system.cc in oder to read the MACOSX def 2017-03-06 15:02:01 -03:00
Felipe Zimmerle
09cfa2869f Removes dup on travis build matrix 2017-03-06 15:02:01 -03:00
Felipe Zimmerle
44121bdee3 Updates secrules-language-tests 2017-03-06 15:02:01 -03:00
Felipe Zimmerle
158ec7b2e1 Adds support to resources on the unit tests 2017-03-06 15:02:01 -03:00
Felipe Zimmerle
b021c15e4b Adds a little more build options to the travis file 2017-03-06 15:02:01 -03:00
Felipe Zimmerle
c06daba398 Adds support for curl resource on the regression tests 2017-03-06 15:02:01 -03:00
Felipe Zimmerle
f9552ede2b Adds missing file 2017-03-06 15:02:01 -03:00
Felipe Zimmerle
36ab4b952f Fix lmdb compilation issue 2017-03-06 15:02:00 -03:00
Felipe Zimmerle
6f47462110 Fix compilation when YAJL is not present 2017-03-06 15:02:00 -03:00
Felipe Zimmerle
9d33990550 Very first travis file 2017-03-06 15:02:00 -03:00
Felipe Zimmerle
d851699529 Adds references to the collection variables 2017-03-06 15:02:00 -03:00
Felipe Zimmerle
e95efa05cc Fix assorted memory and static analysis errors 2017-03-06 15:02:00 -03:00
Felipe Zimmerle
8d0583eda4 Increments the cppcheck suppression list 2017-03-06 15:02:00 -03:00
Felipe Zimmerle
f40a6edec8 Adds valgrind suppression list 2017-03-06 15:02:00 -03:00