Commit Graph

  • 8edffe353c Dirty hack to make the parser workable Felipe Zimmerle 2017-01-11 01:27:21 -03:00
  • 839ac62585 Fix memory leaks in parser failures Felipe Zimmerle 2017-01-11 01:11:22 -03:00
  • a6f07f621d Makes the lexical errors a little bit more verbose Felipe Zimmerle 2017-01-10 19:38:39 -03:00
  • 5880524db6 cosmetics: Improves the tokens organization Felipe Zimmerle 2017-01-10 19:37:43 -03:00
  • 9a1faab668 Deletes driver in case of parser failure Felipe Zimmerle 2017-01-06 16:56:59 -03:00
  • 808fd23358 Avoids a second initialization of the Audit Log class Felipe Zimmerle 2017-01-06 11:12:59 -03:00
  • 557c29fd46 Changes variables destructor to virtual Felipe Zimmerle 2017-01-06 10:58:54 -03:00
  • 0c37ba336b Fixed utf8ToUnicode bad memory access Felipe Zimmerle 2017-01-06 02:01:23 -03:00
  • a8e5cce744 Moving the rules deletion to the RuleProperties class Felipe Zimmerle 2017-01-06 01:09:41 -03:00
  • 068a3eb517 Fixed bad memory access in utf8ToUnicode class Felipe Zimmerle 2017-01-06 00:56:52 -03:00
  • fd341145d5 Fixed memory leak in the acmp implementation Felipe Zimmerle 2017-01-06 00:55:59 -03:00
  • 60402d8b80 Renames defaultActions to m_defaultActions in RulesProperties Felipe Zimmerle 2017-01-05 15:01:57 -03:00
  • 7927ddda91 Renames rules to m_rules in RulesProperties Felipe Zimmerle 2017-01-05 14:40:29 -03:00
  • 5086fef492 Fix parser while continuation line is used between var and op Felipe Zimmerle 2017-01-05 14:13:56 -03:00
  • 59114dd598 Refactoring on the operators parsers (2/2) Felipe Zimmerle 2017-01-04 15:30:45 -03:00
  • 9cda4c0be0 cosmetics: Having the parser in a better shape regarding operators 1/2 Felipe Zimmerle 2017-01-02 14:33:59 -03:00
  • 3a413080f9 Fix string size on regexp search all Felipe Zimmerle 2017-01-13 23:36:34 -03:00
  • 36d6bb9664 Fix substring constructor in regex search all Felipe Zimmerle 2017-01-13 11:02:34 -03:00
  • e181cb7e0a Fix lmdb collections backend Felipe Zimmerle 2016-12-30 16:01:35 -03:00
  • b12cc91289 Adds valgrind suppression regarding rules load Felipe Zimmerle 2016-12-28 10:40:22 -03:00
  • 8bd5f03a3d Fix memory leak on the regression tests Felipe Zimmerle 2016-12-28 10:16:53 -03:00
  • f62dc287c9 Uses pointer instead of std::string copies while applying transformations Felipe Zimmerle 2016-12-28 01:38:43 -03:00
  • 63f3f2fd8b Avoids unnecessary elapsed time calculations Felipe Zimmerle 2016-12-27 20:51:50 -03:00
  • a7f465cf3a Avoids string copy by working with pointers while resolving variables Felipe Zimmerle 2016-12-27 15:25:11 -03:00
  • 7834cf857b Fix memory leak on the benchmark utility Felipe Zimmerle 2016-12-27 15:07:40 -03:00
  • 168fa22e19 Collections cleanup: removes resolveFirstCopy method Felipe Zimmerle 2016-12-23 10:36:51 -03:00
  • 6fff8c954a Performance improvement: makes the collections lookup faster Felipe Zimmerle 2016-12-22 18:11:33 -03:00
  • 15b81d09e7 Refactoring on the transformation classes Felipe Zimmerle 2016-12-20 14:56:28 -03:00
  • bbb61d560c Changes the saving selection for the audit logs Felipe Zimmerle 2016-12-20 09:23:57 -03:00
  • 10cdf8fed9 Enforces that relevant status on the AuditLogs Felipe Zimmerle 2016-12-20 09:22:55 -03:00
  • 88fb456a16 Cosmetics: Reduces the static analysis warnings Felipe Zimmerle 2016-12-28 17:46:47 -03:00
  • 9c7416da97 Refactoring the actions classes Felipe Zimmerle 2016-12-19 23:09:57 -03:00
  • 73877d403a Adds support to section "E" in the auditlogs Felipe Zimmerle 2016-12-16 10:55:30 -03:00
  • 317808fe54 Adds section "H" to serial audit log Felipe Zimmerle 2016-12-16 00:06:48 -03:00
  • 2d29740ca4 Cosmetics: better format the serial audit logs Felipe Zimmerle 2016-12-15 23:32:53 -03:00
  • c1e96d6c2b Fix rules messages in the audit logs Felipe Zimmerle 2016-12-15 23:11:54 -03:00
  • 1218d8c845 Fix the audit log engine status selection Felipe Zimmerle 2016-12-15 14:39:24 -03:00
  • 2e9a35c358 Refactoring on the audit logs implementation Felipe Zimmerle 2016-12-14 10:09:53 -03:00
  • 9707d46e45 Adds `debug_log' headers in the no install list Felipe Zimmerle 2016-12-09 15:03:00 -03:00
  • 64e2927922 Moves debuglog stuff inside the debug_log namespace Felipe Zimmerle 2016-12-09 09:52:01 -03:00
  • a3787fedb8 Fix building with -Wl,--as-needed linker option with older ld versions Andrei Belov 2016-12-09 12:49:00 +03:00
  • 31d5d79089 Removes charset=UTF-8 from content-type variable Felipe Zimmerle 2016-12-07 15:59:20 -03:00
  • 8f16650595 Fix install and dist targets after 768cc74f, 9733cacd, bfc30dad Andrei Belov 2016-12-07 12:43:54 +03:00
  • 47f2e7ff4c Use correct debugging CFLAGS in readme. Andrei Belov 2016-11-23 12:06:42 +03:00
  • 89987806cd Add (void) argument to be ANSI C compliant David Testé 2016-11-22 18:00:49 +01:00
  • b6053df941 Adds information about pull request #1258 Felipe Zimmerle 2016-12-01 15:14:39 -03:00
  • 792a351de6 As of 17 May 2016, the country name "Czechia" replaces this MemberState's former short name of Czech Republic (code 203) Master Yoda 2016-11-11 13:09:44 +01:00
  • 1719e1d7e9 test-cases: updates the remote reference Felipe Zimmerle 2016-12-01 14:23:18 -03:00
  • cce6179dcc Refactoring: new structure for logging alerts Felipe Zimmerle 2016-12-01 14:14:54 -03:00
  • bfc30dad34 Refactoring: how to report to error logs Felipe Zimmerle 2016-12-01 01:05:29 -03:00
  • e6b58014db Cosmetics: Fix some static analysis report Felipe Zimmerle 2016-11-29 10:27:51 -03:00
  • 9bd37ccb63 Refactoring: Rule class Felipe Zimmerle 2016-11-28 10:07:19 -03:00
  • a776cce6d7 Changes RULE variable group to be save at transient collection Felipe Zimmerle 2016-11-28 10:05:15 -03:00
  • 2930d40d57 Changes the actions to affect the ruleMessage instead of transaction Felipe Zimmerle 2016-11-28 09:59:50 -03:00
  • 8fa0523fe0 Adds initial support to the multiMatch action Felipe Zimmerle 2016-11-28 09:55:48 -03:00
  • 9116a19bcc Using the decoded uri in REQUEST_URI instead of the encoded one Felipe Zimmerle 2016-11-23 17:10:32 -03:00
  • 7a36499f22 Makes @pm compatible with the brand new capture schema Felipe Zimmerle 2016-11-23 17:10:06 -03:00
  • eecb90cfd0 setvar: needs review Felipe Zimmerle 2016-11-23 09:29:12 -03:00
  • c339194c02 Changes operator rx to use regexp::searchAll Felipe Zimmerle 2016-11-22 15:42:35 -03:00
  • 9c7988d88f Adds support to regexp::searchAll Felipe Zimmerle 2016-11-22 15:37:12 -03:00
  • d3a4ec760c Removes slash from REQUEST_BASENAME Felipe Zimmerle 2016-11-22 15:33:32 -03:00
  • 293a849668 Adds m_uri_no_query_string_decoded to transaction Felipe Zimmerle 2016-11-22 15:14:39 -03:00
  • 3e6f6e63bc Adds information about pull request #1150 Felipe Zimmerle 2016-11-21 11:02:13 -03:00
  • 3fce12a96c Fix on the patch proposal #1150 Felipe Zimmerle 2016-11-21 10:58:43 -03:00
  • 7ff0e7e7b2 Added ALLOW_ID_NOT_UNIQUE compile flag to allow duplicate rule ids and no id Marc Stern 2016-05-17 16:50:16 +02:00
  • ab88083159 parser: Fix the expanded list inclusion Felipe Zimmerle 2016-11-16 15:46:09 -03:00
  • c98be42f8f Limits the transformation output to 80 chars in the debug logs Felipe Zimmerle 2016-11-16 11:00:10 -03:00
  • f5898e94c7 Fix documentation typos David Testé 2016-11-10 16:23:59 +01:00
  • 85edff522d Fix return value of msc_rules_merge() David Testé 2016-11-10 16:20:57 +01:00
  • 4643501507 parser: Improves the include error when the file does not exist Felipe Zimmerle 2016-11-14 10:23:00 -03:00
  • 8b4f1bc46c Fix rule file inclusion path Felipe Zimmerle 2016-11-11 15:03:15 -03:00
  • 361ec8340f benchmark: Removes the \n\r on the user agent Felipe Zimmerle 2016-11-11 13:53:56 -03:00
  • 8ceaf99d5d Updates the CRS script to target the recent v3.0.0 release Felipe Zimmerle 2016-11-11 13:53:24 -03:00
  • 3ab5c8057d Updates the fuzzer sub-project Felipe Zimmerle 2016-11-11 10:28:59 -03:00
  • ee996a8373 Adds configure option to [disa|ena]ble the library examples Felipe Zimmerle 2016-11-11 09:37:11 -03:00
  • 936ec0b479 ~Rule will delete chainedRule dkamen 2016-11-05 17:17:35 +02:00
  • 1b28776814 Fixed install and dist targets after 3ee7b24 Andrei Belov 2016-11-09 09:16:27 +03:00
  • 3ee7b24928 Adds refCounter to actions Felipe Zimmerle 2016-11-08 18:14:34 -03:00
  • ad05c74c3f Moves mbedtls to others and renames msc_string.h to string.h Felipe Zimmerle 2016-11-04 18:04:04 -03:00
  • 2244e874e2 Moves static methods from class String to the namespace string Felipe Zimmerle 2016-11-04 15:58:05 -03:00
  • 62a0cb468b Renames utils/msc_string.[h|cc] to utils/string.[h|cc] Felipe Zimmerle 2016-11-04 15:21:47 -03:00
  • 424418f54b Renames msc_system.[h|cc] to system.[h|cc] Felipe Zimmerle 2016-11-04 15:01:19 -03:00
  • 4ced1d18e0 Using full path in the header inclusion Felipe Zimmerle 2016-11-04 14:08:58 -03:00
  • 768cc74f0e Moves RuleMessage to its own file Felipe Zimmerle 2016-11-04 11:57:15 -03:00
  • ac4cb53d09 parser: Better understands escaped quotes in operator parameters Felipe Zimmerle 2016-11-04 01:55:47 -03:00
  • 1bf53c0576 Deletes ruleMessage by the end of the rule execution Felipe Zimmerle 2016-11-04 01:08:41 -03:00
  • 5fa02f17ce Fix Utils::hexdigest Felipe Zimmerle 2016-11-03 22:59:57 -03:00
  • 507ec44cc2 Refactoring on `utils.cc' and adjacents Felipe Zimmerle 2016-11-03 20:02:37 -03:00
  • b48dccff70 Removes unused `urldecode_uni_nonstrict_inplace_ex' Felipe Zimmerle 2016-11-03 11:01:14 -03:00
  • 78d6d20982 Moves phase' related functions from utils' to `utils/phase' Felipe Zimmerle 2016-11-03 10:42:58 -03:00
  • f1e742c159 Moves system related functions from utils' to utils/system' Felipe Zimmerle 2016-11-03 09:42:21 -03:00
  • 73c4d69174 Moves string related functions from utils' to utils/string' Felipe Zimmerle 2016-11-01 14:59:06 -03:00
  • 9733cacd4d Refactoring: moves ctl_ actions into ctl namespace Felipe Zimmerle 2016-11-01 09:04:52 -03:00
  • 2bb9d7988f Cosmetics: huge refactoring in the parser Felipe Zimmerle 2016-10-31 17:31:23 -03:00
  • d3de1c743a Adds missing action-ctl_rule_remove_by_id.json Felipe Zimmerle 2016-10-31 13:18:04 -03:00
  • 721983a05a Adds missing ctl_request_body.* Felipe Zimmerle 2016-10-31 13:16:34 -03:00
  • 75a5000b16 Cosmetics: coding style Felipe Zimmerle 2016-10-28 09:57:59 -03:00
  • 4711644600 dds support to CtlRequestBodyAccess Felipe Zimmerle 2016-10-28 09:46:43 -03:00
  • 10d263cd36 parser: Relax the characters accepted by ctl:ruleRemoveByX Felipe Zimmerle 2016-10-26 16:21:07 -03:00
  • fead971558 Cosmetics: Fix typo. Remove not Remote Felipe Zimmerle 2016-10-26 11:12:05 -03:00