mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
205dac0e8 Change release version to v3.0.9 49c056126 CHANGES: wording update dbe107e28 Update some copyright notices 7b1cf0e99 Merge pull request #2890 from martinhsv/v3/master 264dd4831 Fix: possible segfault on reload if duplicate ip+CIDR in ip match list 49281b6c0 Merge pull request #2886 from martinhsv/v3/master db84d8cf7 Add some member varialbe inits in Transaction class 1feaa7d24 CHANGES entry for previous PR ca7040f71 Merge pull request #2876 from martinhsv/v3/master 5f632a5ed Minor updates to v3 issue template 3311dda0e Debug log: enhance message for SecRequestBodyNoFilesLimit 55d6aa94e Resolve memory leak (bison-generated position.filename) ea80d3166 Merge pull request #2864 from martinhsv/v3/master ec1232a69 Support equals sign in XPath expressions dabf79eec CHANGES entry for previous PR 860b1183a Merge pull request #2854 from airween/v3/logescape 6dd00be22 Refactorized multiple prototypes d63d8849a Remove previously removed fn proto from header cb2df476b Merge branch 'v3/master' of https://github.com/SpiderLabs/ModSecurity into v3/logescape 105c5909a Add more fields to encode filter: rev, ver and tag c7306d174 Extend utils::string::toHexIfNeeded() to encode '"' and '\' characters optionally 62ec4edc4 Regression tests: remove dependency on modsecurity.org 69545eade Remove some no-longer-used parser definitions 3b7ca3e44 Escape log field 'data' value 5dfc0a256 minor refactoring and CHANGES update fb01ad94e Minor change to satisfy cppcheck f037bd268 Merge pull request #2791 from wfjsw/feature/pcre2-jit 54ff1ea53 init m_pcje in the constructor of verify_cc.cc 37d3a20da fix 12e6e325d Merge pull request #2839 from martinhsv/v3/master 0c0e4a25c Merge branch 'v3/master' into v3/master 503804beb Add CHANGES entry for previous PR e56f53b71 Merge pull request #2596 from ffontaine/v3/master af860e2ee Support comments in ipMatchFromFile file via '#' token 1550e3017 add fallback for JIT_STACKLIMIT 07514f977 Add CHANGES entry for previous PR 40f7a5067 Merge pull request #2831 from airween/v3/filestmpcontentfix aa44c7b72 Fix FILES_TMP_CONTENT collection key naming mechanism 398e17423 Add CHANGES entry for previous PR 700a9e9ff Merge pull request #2806 from hughmcmaster/as_help_string 933daee34 Merge pull request #2828 from martinhsv/v3/master 791964a0e During configure, do not check for pcre if pcre2 specified f05f32230 Use AS_HELP_STRING instead of the obsolete AC_HELP_STRING macro de01b0273 Add CHANGES entry for previous commmit ec31e04a3 Merge pull request #2714 from hughmcmaster/libxml2 d76c52775 build/libxml.m4: Check for libxml2 via pkg-config then xml2-config 82f75dc0c Remove now-unneeded cppcheck suppression 47fe75de3 Fix tests to match previous typo fix 222e09ea0 Fix typo in debug log text 5d2b86c1b Merge pull request #2801 from martinhsv/v3/master e9a7ba4a6 Fix two rule-reload memory leak issues 17f3bb0b3 Merge pull request #2800 from martinhsv/v3/master 53cf6eb6b Correct whitespace handling for Include directive 0840a29c3 Advance bison version to v3.7.6 8f06f9bd3 CHANGES: Preparing for next version 996c7e1e1 Change release version to v3.0.8 de3a9b5aa Merge pull request #2796 from martinhsv/v3/master 622eb9e6c Adjust parser activation rules in modsecurity.conf-recommended d6c10885e Merge pull request #2795 from martinhsv/v3/master fa6e41857 Multipart parsing fixes and new MULTIPART_PART_HEADERS collection 651897346 remove jit stack 648cad380 Address some cppcheck complaints b0b459d3a Merge pull request #2707 from liudongmiao/v3-example 36a2231a7 Add CHANGES entry for previous commit f923838e4 Merge pull request #2761 from GetPageSpeed/v3/master af27018de Fix msc_transaction_cleanup function comment typo 8c409149c Merge pull request #2788 from lookat23/v3/master 0d81b636b feat: PCRE2 JIT 228218ae6 Fix the mismatch between comments and code in the msc_transaction_cleanup function 7b094ea84 Merge pull request #2785 from martinhsv/v3/master b41139acd Fix: MULTIPART_INVALID_PART connected to wrong internal variable 369002d70 Create SECURITY.md c3b7a7f4f Change some args from pass-by-value (satisfies cppcheck) d2a1080db Add CHANGES for previous commit 18012e572 Merge pull request #2758 from martinhsv/v3/master a41fc30db CHANGES: Preparing for next version 204908cf5 Prevent segfault for #2755 14c94e2eb Restore Unique_id to include random portion after timestamp 97550881f Add cppcheck suppressions 1bdd04740 Change release version to v3.0.7 841c06a9f Correct CHANGES entry for previous commit 0362af4db Move PCRE2 match block from member variable 770662c0d Add CHANGES entry for previous commit 8d8000132 Merge pull request #2738 from martinhsv/v3/master 76c0c864e Add CHANGES entry for previous commit 844e1bf6e Merge pull request #2727 from liudongmiao/patch-1 7b696d8c5 Add SecArgumentsLimit to modsecurity.conf-recommended 0b6bd39a5 Add CHANGES entry for previous merge 83c302e6a Merge pull request #2688 from ziollek/lmdb_single_env 82326ffe2 shift lmdb initialization to provider constructor which is called only once 00483e400 swtich singleton to thread safe version 606f5721c Change some parms to const reference (satisfies cppcheck) 0be89cc15 Correct CHANGES entry for previous merge 763db3f63 Merge pull request #2732 from martinhsv/v3/master f7f8a9827 Fix initcol error message wording 563fabebf Merge pull request #2731 from martinhsv/v3/master 6e56950cd Tolerate other parameters after boundary in multipart C-T 6b7f2b0d6 fix memory in transaction.cc when log REMOTE_USER 3975f0f8f Fix minor CHANGES typos 59531be2f Merge pull request #2723 from martinhsv/v3/master 1aa7616c1 Add DebugLog message for bad pattern in rx operator ced56c5b0 Merge pull request #2719 from SpiderLabs/v3/dev/pcre2_a f84614fe0 Support PCRE2 a1980c841 fix argv in examples 89186b7e3 update lines for modsecurity.cc on supress list for static check 3b50b2634 remove destructor, close environment only once 1fa95ec2e set initialized flag, remove unnecessary semicolon 46f40899e Fix parallel lmdb readonly transactions 5519f6cfa Update CHANGES for SecRequestBodyNoFilesLimit impl f5efd9ab8 Merge pull request #2686 from SpiderLabs/v3/dev/issue_2670_a 4c526fc21 Support SecRequestBodyNoFilesLimit 6bd1c7764 Add exclusions due to newer cppcheck version 5106307cc Change one parm from pass-by-value to reference-to-const 378e31c79 CHANGES: Adds info about #2602 d0813fec4 Merge pull request #2602 from LMDB/issue2601 4e37985b2 Update CHANGES file for recent commits b89c737ad Merge pull request #2677 from gleydsonsoares/loadFromUri_zap_duplicate_words 2cde1933a Merge pull request #2680 from SpiderLabs/v3/dev/issue_2606_a cc83a1bac Merge pull request #2673 from martinhsv/v3/master 2d51efae4 Add ctl:auditengine action support b052adf0b tweak loadFromUri: zap duplicate words in comment 3ee6e108d Fix multiMatch msg, etc, population in audit log cb80837e6 Remove old commented-out re: audit log, relevant ef1b8d8d9 Merge pull request #2667 from martinhsv/v3/master 1a965a49a Fix some name handling for ARGS_*NAMES: regex SecRuleUpdateTargetById, etc. 76ce6739b Correct previous CHANGES update 630b1e0a4 CHANGES: Adds info about #2635 2de14cb00 Merge pull request #2635 from Mesar-Ali/patch-1 f82b98c04 Confusing variable name in setRequestBody method 52958fa73 Merge pull request #2661 from martinhsv/v3/master f34b49f66 Multipart names may include single quote if double-quote enclosed c072ac29e Merge pull request #2656 from martinhsv/v3/master 0275c8847 Add SecRequestBodyJsonDepthLimit to modsecurity.conf-recommended 19d50f4da Add a const to satisfy cppcheck 13e8be83c CHANGES: Preparing for next version c3d7f4b56 Change release version to v3.0.6 d16c3250a Add a few cppcheck suppressions d8afc4029 Merge pull request #2642 from martinhsv/v3/master ac79c1c29 Support configurable limit on depth of JSON parsing 5aec781d3 Confusing variable name in setRequestBody method ec86b242e Update README.md a6e107484 Fix #2601 misuses of LMDB API d2b700d7a build/libmaxmind.m4: fix build with host-pkgconf 465db29b7 docs: correct project name 873a94a73 CHANGES: Preparing for a next version bf881a4ed Change release version to v3.0.5 cd5fba897 Handle URI received with uri-fragment faad65d38 Merge pull request #2586 from martinhsv/v3/master bffd68e4d Add commented-out sample rule to engage JSON Processor for more subtypes 5a0ae73ba Update README.md 3bfe4b81a build: Fix pcre's JIT support detection was not working 662c05f89 build: Adding a new path while searching for liblua. a589f6b69 Build: using PKG-CONFIG in a new fashion 754daebfb Update README.md 65e7e474b fix missing parentheses in filename* parsing 7fccb0d22 Cosmetic: pleasing cppcheck 6fdba42c0 Cosmetics: Having cppcheck pleased 66ba7b065 Cosmetic: fix static warning 1e2ccc157 test: Fix optimization test 1376882f7 Fix typo 4127c1bf5 README: States the sponsor note a18d18a28 Revert "Adds hyperscan to the build matrix" 4cdcc1533 Revert "Adds suppor for HyperScan in the bulid system" a496865e9 Adds hyperscan to the build matrix 912704b6d Adds suppor for HyperScan in the bulid system 2e69ce6cc build: Fix curl include path 50fc347ed Fix rules dump 6ca028b6f Fix memory leak in rx operator when pattern includes macro 9764b1fb3 CHANGES: Fix entry for ARGS_NAMES 53d36ab63 Updates libInjection 102f4bdd9 Make the `configure` step more reliable fbea73120 Fix: FILES variable does not use multipart part name for key f1f2527c0 Using setenv instead of putenv on SetEnv action 03b3e472d cosmetics: Please static check e8bd2151f Having _NAMES, variables proxied dd458dedb github workflow: having bison from brew 3748d62f1 Changes copyright dates on the code 33f7b46bc Using GitHub Workflow instead of Travis b3cfd8881 Having Travis working again f948d637f Having the QA on GitHub workflow e6bdadeb6 tests: Prints test number on segfault 9b40a045b Cosmetics: fix some cppcheck complains to please QA 310cbf899 Fix the typo f18595f42 Makes regular expression selection on collections key case insensitive 560f81200 Adding DragonFlyBSD support. afefda53c Fix Path to projekt logo d72be1c47 Fix: Only delete Multipart tmp files after rules have run 1b7aa42c7 Issue-2423: Meta-actions like 'msg' should be applied at end of chain 2672db103 Add support for new operator rxGlobal 785958f9b Fix maxminddb link on FreeBSD 4b425850c Cosmetics: fix cppcheck warnings 8da787a39 Merge pull request #2424 from martinhsv/v3/master 8436c7899 Fix IP address logging in Section A 995f22b3c Having Bison 3.7.2 377fb723c Makes lua 5.1 workable again e9dce44f6 build: Minor fixies on Lua detection 9e6d8b7bb CHANGES: Adds support to lua 5.4 8c85b7836 Adds support to lua 5.4 ae3ad5eaa cosmetics: Address some cppcheck complains 51d06d7a8 CHANGES: Adds info about #2378 fe1238514 GeoIP: switch to GEOIP_MEMORY_CACHE from GEOIP_INDEX_CACHE 0eb3c123f Merge pull request #2348 from martinhsv/v3/master b9620c26a rx:exit after full match; fix TX population after unused group a1a8c0fda Merge pull request #2342 from martinhsv/v3/master 07ce43cce Correct CHANGES file entry for #2234 a2be19d8e Fixing Typo f0f1c2b1a Merge pull request #2317 from nikolas/patch-3 feda5b758 Merge pull request #2321 from nikolas/patch-4 45dec2068 readme update: Packing -> Packaging ba1ae16fc Fix typo in readme: GtiHub -> GitHub 3b1de9567 Merge pull request #2315 from nikolas/patch-1 733073998 fix typo in readme: rearchitechted -> rearchitected 7e0bc2691 Using performLogging function a1547eaa3 Regression tests: audit log compare support and test cases 7a48245ae Creates RuleUnconditional f63bd1a45 Moves Rule[WithActions|WithOperator] to their own files 8274be066 Refactoring: Having RuleMarker in a separated file bdedfd246 Refactoring: Renames RuleBase to Rule 59d426888 Refactoring: renames Rule to RuleWithOperator 8eb7b8fe6 Refactoring: Splits Rule into Rule and RuleWithActions 43f8aee6b Splits Rule class into: Rule, RuleBase, RuleMarker fda03c001 Yet another refactoring in Rule b66224853 Refactoring in Rule: Meaningful structures name 96849c07d Makes action name a shared pointer 9c526b364 Avoids copy on the transformation operation 8cfb289ce Lets reserve some memory for rule message a609249d6 Makes m_id a shared pointer 343b86c2a Makes m_fileName a shared pointer 14b2bd77a Makes m_uri_no_query_string_decoded a shared pointer d7d5cd2a9 Makes m_serverIpAddress a shared pointer 8df35dead Makes m_clientIpAddress a shared pointer 196adcae2 Removes reference counter for RulesSet f2f5c9c95 Removes reference counter from audit_log writer 4b88fdc51 Removes reference counter from log write agent 5ebfa5eac Removes referece count from audit logs 4b94fabef Removes reference count form Actions 6b0ad8049 Having default actions as o shared pointer 9d158611c Makes Rule a shared pointer f1d22f9b0 Fix version check 6367e6d5e Having a class Rules fb7714f20 Creates class RulesSetPhases 7a0ad4308 fuzz: minor adjustment on op_test 6de5c5984 Adds some operators to the fuzzing tests edd0a4bb2 Updates the fuzzing example 88789a577 parser: Using bison 3.5.2 1e26bf207 Revert "Creates the RulesSetPhases clas" 072e4edc5 Creates the RulesSetPhases clas 014adabda cppcheck: Adds rules_set_properties.cc supressions 6a742cdf7 Refactoring: Renames RulesProperties to RulesSetProperties bad5892b9 tests: Adds secargumentslimit.json to Makefile.am f57265a3e Support configurable limit on number of arguments processed 4e9ba44d0 build: Keep the installation of rules.h 4671608d5 cppcheck: more suppressions 22ec30773 Fix 7495675d540b3b3ccce681773205a4fe34daeb64 b7e28c246 static: fix static checks 7495675d5 Refactoring: Renames Rules to RulesSet 0c3e8b6b5 parser: cosmetics: makes it easy to read 6a0df8ca5 parser: new bison version 136db3e58 Multipart Content-Disposition should allow filename* field 1b1fdc055 Fix rule-update-target exclusions for plain (non-regex) variables f7e4c1d9f CHANGES: Adds info about #2235 e9bcaf441 test for uClinux in configure script fe84d2bae Fail when CANONICAL_HOST cannot be determined 2b09e7e01 CHANGES: Adds info about #2253 f76a1a667 modsecurity.pc.in: add Libs.private 357c14000 Changens copyright year fe98ce4c7 Cosmetics: address cppcheck warnings 68ef2dece Cosmetics: address cppcheck warnings on src/variables ff9152ed7 Cosmetics: address cppcheck warnings on src/utils ff590174d Cosmetics: address cppcheck warnings on src/operators 9101a8ab1 Cosmetics: address cppcheck warnings on src/actions a6620604d build: fix yajl messages 4f13fecba cppcheck: make static analysis more pedantic cd9b8aa93 cppcheck: Organizes the suppression list 86a5f471a Cosmetics: fixed static analysis issues. 1fc584791 Travis: abusing -j 2e8833733 Test suite: improvements 7c6bf810e CHANGES: Preparing to 3.0.4+ 753145fbd Change release version to v3.0.4 047016805 Fix: audit log data omitted when nolog,auditlog 6624a18a4 Fixed inspectFile operator does not pass FILES_TMPNAMES 05e9e7cf3 XML: Remove error messages from stderr 42a16c71c CHANGES: Adds info about #1645 7b1b00b5e filter comment or blank line for pmFromFile operator ea7cacf28 Additional adjustment to Cookie header parsing 6395fe07c Restore chained rule logging to be more like 2.9 038522ad9 Small fixes in log messages to help debugging b8160cce6 Fix Cookie header parsing issues 7ba77631f Replace Cookie parsing method 199a9db3e Fix nolog rules logging to part H 9cac167fa Fix argument key-value pair parsing cases 68c995ca9 Fix: audit log part for response body for JSON format to be E c41ab312f Updates test cases 01c7a2689 Fix test issue-1974 d4dc3dbf2 Make sure m_rulesMessages is filled after successfull match 42da29fed Merge pull request #2155 from patros/v3/master 592927793 Avoid using NULL string (match) in Pm::evaluate beedddd6c Fix @pm lookup for possible matches on offset zero 1d552673a Correct minor README.md typo d5b93c101 Update README.md 341a5d01e CHANGES: Regex lookup on the key name instead of COLLECTION:key 2bdc5f9d0 Adds test case to cover issue #2005 74eee9330 CHANGES: Adds info about #2106 96d36afec Add Missing throw in Operator::instantiate 6ab464ab7 negative lookup on the key name instead of COLLECTION:key 47dd9c5df Refactoring on the VariableValue class cbd15ec13 CHANGES: Adds info about #2113, #2111 c0142cf32 Changed compared variables of range id intervall in ruleRemoveById ctl action. #2111 9ebebfc83 Fix test case 1960 b6995c528 test case: Adds test case for issue 1960 f50700e9d CHANGES: Adds info about #1960 50abc072c Make block action execution dependent of the SecEngine status 1cc22966d CHANGES: Adds info on "Having body limits to respect ..." a4e848411 Having body limits to respect the rule engine state c7fe50e5b CHANGES: Adds info about #1872 20b90364f Adds test case for #1872 1b8d69da0 Fix dict element regular expression selection on SecRuleUpdateTargetByTag 547236231 Fix SecRuleUpdateTargetByTag with regular expressions b5823d4e0 CHANGES: Adds info about #2099, #2102 2c136a2d9 Adds test case for #2099 on the test case list 7a93bea8f Added some test cases related to #2099 db298696f Adds missing check for runtime ctl:ruleRemoveByTag 7e8782d97 CHANGES: Adds info about #2063 86ce479b5 Adds new operator to check for data leakage of Austrian social security number 6d266fae8 fixes typo f752291af CHANGES: Adds info about #2057 49900eec9 Fix variables output in debug logs 25e444583 CHANGES: Adds info about #2059 75a5c8d33 correct typo validade in log output a0a99319a CHANGES: Adds info about #2068 4a3e9734e fix/minor: Error encoding hexa decimal 033942c92 CHANGES: Adds info about #2073 1acd87a80 Limit log variables to 200 characters 61c11251b parser: Fix filename 0669c2e64 parser: new bison version b57441838 regression: Using github instead of modsecurity.org for SecRemoteRules 4e76c6adf Renames namespace Variables to variables b9ed15022 Fix namespace utilization on seclang-parser.yy 6d5198b1a make check: Updates test cases list ccd90c51c Increment OVECCOUNT value for bigger regex's 44efae6cd CHANGES: Adds info about #2024 a6e6bc2b5 Allow empty anchored variable to use b392a1ca3 CHANGES: Adds info about #2016 2d3fbbc56 Modified affected test cases, which checked wrong variables 17d79ed7b Fixed data collecting in multipart parsing ac61bf5fd CHANGES: Adds info about #2017 4b3e6328e Fixed validateByteRange parsing method 3dda0ea2c Adds a regression test strdup to valgrind suppressions list 2dff76826 Removes a memory leak on the JSON parser 145f2f35b tests: Updates secrules-language-tests f77db2cc2 CHANGES: dds info about #2011 bd6a02d69 Fix test issue-1831.json on LMDB 37cf60b8d Fix use of deleted Regex copy constructor in LMDB code 79a24ef88 Enable LMDB in Travis CI configuration dc78c0e18 Fix: Extra whitespace in some configuration directives causing error df3c3f62b Cosmetics: coding style ad28de4f1 Refactor regex code e0a0fa05c CHANGES: Info on #2002 ae0207634 Fixed buffer overflow in Utils::Md5::hexdigest() 3c1fba278 CHANGES: Adds info about #1990 7c19ffea6 Implemented merge_bodylimitaction_value() for BodyLimitAction 3c41751ed Implemented merge_ruleengine_value() for RuleEngine 161c25633 Implemented merge_boolean_value() for ConfigBoolean 2d11ff1a1 Implemented merge() method for ConfigInt, ConfigDouble, ConfigString 78b7fa4e2 Adds missing drop.h d00ea5111 Adds initial support to drop action ba4273b8e CHANGES: Adds info on #1978 9b24199a2 Complete merging of particular rule properties 428388369 CHANGES: Adds info on #1984 8af8cad90 Use of AC_CHECK_FILE prevents cross compilation. a9e9da869 CHANGES: Adds info on #1980 77854ed1b Fix inet addr handling on 64 bit big endian systems dccb5e9e5 GitHub: Adds issue template 1ecd97130 CHANGES: Updates issue #1973 0a85b599b Fix tests on FreeBSD e756dd039 README: Adds link to v2 repo 07330e53f CHANGES: Updates issue #1969 25bb1f1bc Changes ENV test case to read the default MODSECURTIY env var b736f0292 Regression: Sets MODSECURITY env var during the tests execution 407b6c0f4 Fix setenv action to strdup key=variable af137442d CHANGES: Adds @steven-j-wojcik to 0xb7c36 and 0x5ac20. d2b14de26 Allow 0 length JSON requests d29f2a898 CHANGES: Adds info about #1966 65e866cb3 Fix "make dist" target to include default configuration 2d3d56aa4 CHANGES: Adds info about #1949 3d2030426 Replaced log locking using mutex with fcntl lock 5a4ada39b CHANGES: Adds info about #1959 3b3004d24 Correct the usage of modsecurity::Phases::NUMBER_OF_PHASES ce3abf262 Adds support to multiple ranges in ctl:ruleRemoveById e712d30c5 Fix setvar to understand Rule variable in collections cbf2fe970 Adjust boundary test cases for the less strict parsing b638e523a Make the boundary check less strict as per RFC2046 ecad8c6c7 Fix buffer size for utf8toUnicode transformation 454669ffe CHANGES: Preparing to 3.0.4 4e6e4243a Change release version to v3.0.3 e4d6d61cf Adds Victor to the AUTHORS file 6cbcdd024 Fix libInjection version on configure summary 9ada0a28c Changes the default configuration to mimic v2 behavior on multipart 31c8d4c52 CHANGES: Adds info about #1943 9d80983e5 Fix on top of #1943 + adding test cases 39f4a5d7d Fix double macros bug 18cdffdbc Encapsulates int[N] in a class to avoid compilation issues e3b9f7c91 Fix SecUnicodeMapFile support 84ece3edc Add test case for SecUnicodeMap 065c2e67b Adds test case for #1850 e1e8a01ed Override the default status code if not suitable to redirect action bfe917b6b parser: Fix the support for CRLF configuration files 3f0ea9097 Test case skeleton for #1941 662fe63a4 Add unicode.mapping file to v3/master branch b05901e8a Changes the regression test client to read the interception msg 1e5df5312 CHANGES: Adds info on 0xb7c36 and 0x5ac20 91daeee9f Only calling server log if the message is not disruptive 448897d29 Marking message as disruptive before generate log msg 973c1f102 Fix rule line number fa5f3784f Using shared_ptr instead of unique_ptr on rules exceptions e63344c3d CHANGES: Adds info on 0xb2840 and 0x3094d ef7f65db9 Changes debuglogs schema to avoid unecessary str allocation 23e0d35d2 Fix the SecUnicodeMapFile and SecUnicodeCodePage 3d83ed257 CHANGES: Adds info on 0xca270 69cd61439 Changes the timing to save the rule message 8088d6af7 Fix crash in msc_rules_add_file() when using disruptive action in child rule inside of chain 466a427ab CHANGES: Adds info on #1897 ec1112c64 Fix memory leak in AuditLog::init() 8c549c65c CHANGES: Adds info on #1901 b12a8f5c6 Fix RulesProperties::appendRules() f1da6dd29 CHANGES: Adds info on 0x3077c 8bda7c0a4 Fix RULE lookup in chained rules. 120108fd3 Adds support for /32 in @ipMatch cidr notation. a5a40a71a Makes matchedvars inline b58018e77 Fix multimatch behavior to match what we have on v2 a47738ab0 CHANGES: Adds info about: 0x14316 dba73f536 Using values after transformation at MATCHED_VARS 7c50fa7c0 Small fix on @detectXSS test case 85ecd190d Adds full support to UpdateActionById. 3e8e28da4 Refactoring on the RULE variable 554251bad Refactoring on the Rule class 74841779f Adds partial support to UpdateActionById 68398a51f CHANGES: adds info on #1922 004047ef6 Add correct C function prototypes for msc_init and msc_create_rule_set c1925a467 CHANGES: adds info on #1909 and #1185 20ef01d75 Allow LuaJIT 2.1 to be used 28f6f2201 Match m_id JSON log with RuleMessage and v2 format bc3d3f191 Adds support to setenv action 4dd281275 Adds new transaction constructor that accepts the transaction id as parameter. c721e101c Adds request IDs and URIs to the debug log 0e8cd767e CHANGES: Adds info about: 0x028e0 and 0x275a1 cdf2da1a0 Adds test case related to issue #1725 98b9ae659 Having a better organization for Variables:: ee50fea26 Handling key exceptions on the variable itself 0d53111cb CHANGES: Adds info about: #1859 5aa79c17f Add test cases for m.setvar in Lua scripts 6f458b520 Fix on top of jmx's m.setvar commit for USER collection in Lua scripts 45cdb0ed9 fix: function m.setvar not work in lua script c2bc69526 parser: Fix typo on SanitiseArgs 9c73c09ab parser: Updates the generated parser file a71987145 Fix matching condition and adjust test case 379f37009 Fix SecResponseBodyAccess and ctl:requestBodyAccess directives 5c048e3cc Explicitly include time.h to fix building the examples dce2fed31 Add exception to linker as OpenBSD doesn't like static 0c0b09ec5 Use glob.h when using OpenBSD d97688804 Fix parser to support GeoLookup with MaxMind 0a88e0237 Allow libMaxmind to work with Ubuntu PPA packages dfbff090b test case: Adds test case related to #1831 764a2e43f parser: Fix simple quote setvar in the end of the line. 738e32872 CHANGES: Adds info about: #1847 788b69642 Fix pc file 16ab99ce3 modsec_rules_check: uses the gnu `.la' instead of `.a' file d7b972635 good practices: Initialize variables before use it d302b99ec Adds test case for: #1812 4585216ae Adds more tests to REQUEST_BASENAME a85ca00a5 Fix utf-8 character encoding conversion 90197bdd9 CHANGES: Adds info about: #1807 aa158ceef Set the correct variable (m_requestBodyType) and add test case f999f54ed Adds support for ctl:requestBodyProcessor=URLENCODED dc4382da5 CHANGES: fix contributor list on: #1818, #1820, #1810, #1808 0ac23a47c Add LUA compatibility for CentOS and try to use LuaJIT first if available 857bf9da5 Allow LuaJIT to be used 156527a6f CHANGES: Adds info about: #1814 dee989844 Implement support for Lua 5.1 eed6b5f86 CHANGES: Adds info about: #1818, #1820, #1810, #1808 d810de916 #1818: Variable names must match fully, not partially; also revert to hash table lookup instead of linear search; add test case 65aa7ae5e Improves the performance while loading the rules 4e3a1f715 CHANGES: Adds info about: #1785 fd8e72fd9 Allow empty strings to be evaluated by regex::searchAll 7def498c4 Added some documentation for multipart boundary check a3980bbea CHANGES: Adds info about: #1790 ae38c23bb Adjustments on top of #1790 544fb50c1 Add basic pkg-config info 81708a6cf CHANGES: Adds info about: #1787 e51297b43 Improvements on top of #1787 edb5993d5 Fixed LMDB collection errors 1527f4e2f Updates the test cases described on Makefile.am 6a25ebb2b CHANGES: Adds info about: #1747 76887b8b2 Added new tests, aligned to new UNMATCHED_BOUNDARY flag value 4d0ca9449 Modified the false pos. UNMATCHED_BOUNDARY error flag af4afd348 Fixed false positive MULTIPART_UNMATCHED_BOUNDARY errors 95048d5fc Fix ip tree lookup on netmask content 202a15bea Changes the behavior of the default sec actions 61c956e3f CHANGES: Adds info about: #1754 & #1778 892beb536 Refactoring on {global,ip,resources,session,tx,user} collections 550e9d3f3 CHANGES: Adds info about: #1786 f928e4476 Revert "Fix memory leak in msc_rules_* C APIs" b85a64561 Fix race condition in UniqueId::uniqueId() b586fa9c1 Cosmetics on README 19d4f2007 Experimenting with SonarQube/SonarCloud f533ca999 CHANGES: Adds info about: #1765 58701e7e1 Fix memory leak in msc_rules_* C APIs 6db26cee8 CHANGES: Adds info about: #1783 45e531236 Return false in SharedFiles::open() when an error happens a02bd3a3b CHANGES: Adds info about: #1769 fd9a161e7 Use rvalue reference in ModSecurity::serverLog to avoid string copy ccd7b9f67 travis: Temporarily disables -jN 87e64e3c2 Actually fix setvar parsing of quoted data e4c822e66 Code cleanup: Initialize variables and others good practice a278bb673 Testing travis with parallel build b0b484f45 Build in parallel. 137bd88b2 CHANGES: Fix info about: #1771 b5528bb8d fix when multiple lines for curl version 42a472adb Check if response body inspection is enabled before process it 389cc2535 CHANGES: Adds info about: #1757 2669add8e Fix memory leak in processContentOffset cc7203503 Remove an unused variable 8750ee5d3 CHANGES: Adds info about: #1759 and #1733 5e4085069 Fix setvar parsing of quoted data e47125c55 CHANGES: Adds info about: #1758 98b4e7546 Fix LDFLAGS for unit tests. e48fa2f81 HANGES: Adds info about: #1761 cd1a058c3 Code cosmetics: Clean up MD5 hexdigest d0b423fdd Adds time stamp back to the audit logs 6f92c8914 Disables skip counter if debug log is disabled a1b6cceb6 CHANGES: Adds info about: #1737 d0a63aac0 Define m_secmarker_skipped as an integer type bb2ecdf4d Add missing escapeSeqDecode, urlEncode and trimLeft/Right tfns to parser a939d19fa CHANGES: Adds info about: #1738 6d5bb42bd Normalizes Bison version 2037a08b3 Fix STATUS var parsing and accept STATUS_LINE var for v2 backward compatibility a806f26be CHANGES: Adds info about: #1750 268f34bbc Fix memory leak in modsecurity::utils::expandEnv() f888f4e5e CHANGES: Adds info about: #1751 e7ea5433d Initialize m_dtd member in ValidateDTD class as NULL 3ee65a31c CHANGES: Adds info about: #1739 f7beb1757 Fix broken @detectxss operator regression test 6a710b3a4 CHANGES: Adds info about: #1743, #1744 3d06e1b8b Fix github_issue reference in regression test 5e65d560f Fix utils::string::ssplit() to handle delimiter in the end of string 501835837 Fix variable FILES_TMPNAMES 077b18252 CHANGES: Adds info about: #1729, #1730 8285a9746 Fix memory leak in Collections ea7d1ff54 CHANGES: Adds to be released marking 8d0f51bed Change release version to v3.0.2 871a13186 CHANGES: Adds info about version issue 2e87c4e75 Fix version number on libtool f67ff0aa6 Change release version to v3.0.1 01625bbb3 CHANGES: The correct is: ruleRemoveByTag not ruleRemoveById ff0d451a5 Fix maxmind test case 0ca599474 Adds support for ctl:ruleRemoveByTag action 9537cfcee Fix SecUploadDir configuration merge ab3afb2ed CHANGES: Adds info about: #1716 dcbb06be4 Include all prerequisites for "make check" into dist archive 9505ca7e6 CHANGES: Adds info about: #1715 601e0d704 Adjust tests for @inspectFile operator 138e30169 Reverse logic of checking output in @inspectFile c61155424 Adds support to libMaxMind 15b38fbe5 Travis: adds --without-maxmind option df169ea10 Adds support for libMaxMind 7bff76d79 Parser: Updates the generated parser files 480a2f89d Disable SecCollectionTimeout parser error 22334c9bb Adds capture action to detectXSS b59d19e95 CHANGES: Adds info about #1701 e50c317b7 Temporarily accept invalid MULTIPART_SEMICOLON_MISSING operator 70ace0faa Adds capture action to detectSQLi 0f361b706 Adds capture action to RBL df25c48f5 Adds capture action to verifyCC 77a885da5 Adds capture action to verifySSN 60b246909 Updates bison parser 0b494c4cd Adds capture action to verifyCPF 64ce41280 Prettier error messages for unsupported configurations (UX) a66acebc0 Add missing verify*** transformation statements to parser 8bb64c3ee Code cosmetics: removes an unused piece of code 450c966da Fix a set of compilation warnings c8666fae3 Check for disruptive action on SecDefaultAction 6842d4bba Fix block-block infinite loop. c51e3e242 CHANGES: Adds info about #1636 4ac14a262 Cosmetics on top of: #1636 a0bea7356 Correction remove_by_tag and remove_by_msg 5e8062cf7 CHANGES: Adds info about #1691 8d61a3df9 Fix LMDB compile error 854a661a2 Fix gcc compilation issue dca642369 Fix on top of #1677 f16eb8b54 CHANGES: Adds info about #1640 ebc068b8c Fix msc_who_am_i() to return pointer to a valid C string 3fa3094ee CHANGES: Adds info about #1652 9dff36f59 Added some cosmetics to autoconf related code ccb1068e8 CHANGES: Adds info about #1678 b50658d1e Fix "make dist" target to include necessary headers for Lua 93ccad191 CHANGES: Adds info about #1677 ccc1f2031 Fix "include /foo/*.conf" for single matched object in directory 3539c59a6 Adds regression for base64 transformation ab78b0cfb Add missing Base64 transformation statements to parser e3b6b4ccf Fix resource load on ip match from file 6f718f9d4 Updates on CHANGES 0461c1c06 Fix examples compilation while using disable-shared ac100785d Fix compilation issue while xml is disabled ff782ddfa Having LDADD and LDFLAGS organized on Makefile.am 2b052b0ed Checking std::deque size before use it eeec7efb6 Renames collection::Variable to VariableValue de7c5c89b Using shared var for variables names 6f7fdd949 Using direct variable access instead m_collections 43bba3f94 Removes the depricated MacroExpansion class f17af9572 Using RunTimeString on setvar action a6830c76f parser refactoring: ops no longer carry a payload a299997e0 Using run time string on the operators 6a97dbee7 Using stack to save parser state b5e996602 Removes useless state 2d892a317 Adds support for multipart vars on the parser 6fe8655ed Adds support for RunTimeString cd30509f3 Fix the debuglogs for the regression tests c3b19e7f8 Updates CHANGES file 2ba788d2d perf improvement: Checks debuglog level before format debug msg a03772630 Updates CHANGES file 768a76a61 perf. improvement/rx: Only compute dynamic regex in case of macro 4a23891c8 Updates the CHANGES file to reflect the changes on bench utility d162d4e20 Fix uri on the benchmark utility e6712358f Merge pull request #1639 from defanator/v3/skip_lua51 f4a05b6e1 Configure: actually disable Lua on systems with liblua5.1 c1cd668ac Change release version to v3.0.0 eaa4770c5 Fix issue related to Lua script load c98e66547 Improvements on LUA build scripts and support for LUA 5.2 de36fca86 Adds info about 0xfd84e on the changes file e9f3312ea fixed compilation error with disable_debug_log flag 81e1cdced Adds info about issue 1615 on the changes file 8bcef4187 Improve benchmark tool e98be6dc5 Adds info about issue 1622 on the changes file af7e6ee16 Correction lua header 9c0ed6109 Fix assorted minor memory management issues b7698d689 Fix memory leak in @fuzzyHash 68152d8d2 Adds test case for issue #1576 3fb71f32d Coding style fixes 023e7acba Refactoring on the JSON parser 23cf656f9 Adds support to WEBAPPID variable 082a3e328 Adds support to SecWebAppID 37c34f3e6 Adds missing cflags for LUA and SSDEEP ec667a460 Adds support for SecRuleRemoveByTag 381cf8ac2 Makes ssdeep enabled by default on the build scripts 4d7fd5c30 Adds support for update target by message 7d7c0c03c Adds missing SecRuleScript test case bff326e80 Adds lua as a travis option 7fa5ca9ba Makes lua optional e52bd7d63 Adds support to SecRuleScript directive cb3363c7d Adds support for the exec action 7bec78a5a Adds support for transformations inside Lua engine a676f313c Initial support for Lua script engine 1866a3a9e Adds support for the @inspectFile operator 1189e9b0e Adds support to LUA in configure scripts 9369efcb9 Adds support to the collection RESOURCE a9d54c30a Fix on ssdeep search script e6106ae0e Fix regression tests for fuzzyHash 9c83b39ea travis: Adds ssdeep option to our regression soup 7622866f9 Adds support for @fuzzyHash 4ecfed316 Adds CHANGES info about #1598 968d83f1f Fix build on non x86 arch build failed on ppc64/ppc64le/arch64/armv7hl/s390x due to how this arch represent chars 371fc0321 Fix memory issue while changing rule target dynamic 351beb056 Adds missing info to the CHANGES file c4fcb36f4 Fix log while displaying the name of a dict selection by regex 93e18ca5e Support pipes inside quoted variable selection 34e8b140e Setting http response code on the auditlog 274f9e5aa Refactoring on RuleMessage class, now accepting http code as parameter 39fb75c34 Having disruptive msgs as disruptive [instead of warnings] on audit log 30797a458 Parser: Pipes are no longer welcomed inside regex dict element selection. 1518c43d6 Adds test case for issue #1565 1ad95254c Avoids unicode initialization on every rules block 20edf9ab7 Removes xml initialization from CURL if/def 41bf7f716 Calls xml init and xml cleanup to avoid memory leak 30364628a Makes clear to the user when audit log is empty due to missing JSON sup. d3f979f1d Makes auditlog more verbose on debug logs e09304a08 CHANGES: Adds info about #1583 d285bc02b Add missing statements 63bef3d14 Support to JSON stuff on serial logging 2988c5bb0 CHANGES: add info about #1536 fa7973a4e Removes a regex optimization added at #1536 9e9db08b8 add @rx macro expansion test to list in Makefile 10c4f9b1b add a test for macro expansion in @rx a76030256 support macro expansion in @rx 210e72aa2 Consideres under quote variable while loading the rules 658c9b5da Adds CHANGES info for #1571 a5266d6d1 Store the connection and url parameters in std::string ba4e2e373 Adds CHANGES info for #1572 495b47d8a Eliminate some reorder and sign warnings 490971399 Adds CHANGES info for #1562 082a0d3ac Adds ios::[open|app] to the parallel.cc to fix write over SELinux 48be601ca Very first version of our changes file 1c91e8077 Extends acmp_prepare to pm_from_file 7d786b335 Makes pm mutex optional via configuration flag 119a6fc07 test-only: Placing a mutex while evaluating the pm operator a2427df27 fix: ignore .git directory while generating the release file 04f700998 Adds a simple release script cca364253 Changes release tag to -rc1 224f6ef26 Fix configuration schema on the configure summary 7ac6bf724 Fix memory issues while resolving variables 003a8e8e5 Uses shared_ptr on variable names 9d062f53a Merge pull request #1543 from defanator/remove-SecRequestBodyInMemoryLimit-from-conf 5c737c2c0 Treat _NAMES variables as collections (#5) 9069a453e Revert "Treating ARGS_NAMES as an array instead of scalar" 43e3ff91e Fixes a bug with an unitialized variable. 3a048ee2d Support --enable-debug-logs=no option of configure script (#2) f6af42c23 Remove SecRequestBodyInMemoryLimit from configuration template 1d3c4c670 Treating ARGS_NAMES as an array instead of scalar 81879cd13 parser: SecRequestBodyInMemoryLimit is now returning an error msg 2cf636cf7 parser: Adds generated parser files after 0xfce65 0be821ded change parsing of SetVar actions e0ebf2854 Adds `$' as a valid character in ruleRemoveTargetById 4b9bd499e Fix to_hex_if_need function on string utils 8d6209f65 gitignore: Adds binaries from examples to the ignore list 5e76d8563 Update test cases to include test propesed at #1523 31f1d0446 add validateByteRange regression test to list in Makefile 58872e7ed adds a test for validateByteRange with bytes > 127 86e74fac5 validateByteRange: correctly handle bytes > 127 7665d96a1 Improve action-allow test titles fc06915cc Extend RESPONSE_BODY test case. 31655e2c9 Updates secrules-language-tests 0a3dd824f Updates libinjection to v3.10.0 b8789ab9f add a test for negated implicit @rx operator 039bd2cc8 fix negated implicit @rx operator ca9cbf4dd Fix for @rbl operator to correctly recognize known supported RBL providers 9d4ed5251 test: Counts the disabled tests as skiped on the test summary d66f0c7e0 Add support for disabled test cases. ab14b7c08 Add support for disabling test cases. c22658ec8 Adds `msc_update_status_code' method to the libmodsec api fff5a5765 Changes auditlog type to serial by default bf281eb4d Relaxing the audit log sanity checks to allow empty relevant status 09ee47149 Handle zero byte rule files correctly. 945ee27a8 parser: Adds SecRuleUpdateActionById is not yet supported d7eab6b7a Adds support to SecRuleRemoveByMsg 562c2b2f5 parser: Adds support to tag action without quotes b4051246b Adds support to SecResponseBodyMimeTypesClear 48f147026 Adds support to SecArgumentSeparator a30253852 parser: Adds SecWebAppId not supported note 2c4e65f7e parser: Adds support to quoted paramenter in SecDataDir bb2fe0e03 parser: Adds note saying that SecServerSignature is not supported e6cfd5379 parser: Adds SecRuleScript not implemented note cd533e00e parser: Adds support to quoted arguments on SecUploadDir b5d0dc240 paser: Adds support for quoted argument on SecTmpDir 5ffc5c163 parser: Adds support to quoted arguments in asorted configurations 9abc37157 parser: Adds msg: ContentInjection is not yet supported 06447ea3d parser: Adds support to double quotes on adit logs file c525cbfb2 parser: Adds ability to inform auditlog status without quotes 9ee412735 parser: Improves the reading for the url in the redirect action 8c66a1b4c Adds support to double quotes on debug logs conf 0508395f8 Forces REQBODY_ERROR to zero whenever there is a valid XML b36c4260c Adds a graceful error if there is no memory for request body inspection 9a41942ce Optimization on the macro expansion function 53ff0e1a5 Adds initial support to SecHttpBlKey 515e07350 Rename FromNowOneAllowType to FromNowOnAllowType. bce5ef770 Add the missing g in Transaction::GetReponseBodyLenth() 56baef5f1 Fix test case as consequence of the changes at #1514 5e06a67fb Demote log lines to improve debug log SNR. 5c7892ce8 Reduce use of underscores in log output. e3b9e6061 Ignore droppings from make check. 4d1739a2c Ignore built files. 024264661 Adds test case for the ctl:ruleEngine action 4bec6b001 Adds support to ctl:ruleEngine 1f1e8324b Includes HTTP version and response code on auditlogs/F 43cb8ed65 Adds support to C section on auditlogs 15ca5ceab Yet another change on the audit log permissions b58c8fe7e Changes the default file creation permission to 1600 27a8abc05 Changes the auditlog new derectories permission to 1872 337216fd8 fix: remove target by {id,tag} are now considering collections 7c2dbf48c Typo in the debuglogs for rules::getFinalVars e14dc602e Adds support to SecRuleUpdateTargetById 9ce7d022c Fix memory leak in the regression utility 52c5631ae Adds test case to UpdateTargetByTag fba9c20ea Adds initial support to SecRuleUpdateTargetByTag 65bd06fb7 Adds verifyCPF operator to the unit test list 74bb022a2 Updates unit test cases 25175dd80 Adds support to verify CPF operator 787b388f8 Yet another update on the unit test repository ddac1fb6f Upgrades the unit test repo to the most recent version a7f7532a2 Adds verify ssn operator to the unit test list ad8182e2a Adds support to the verify ssn operator d465c2f1a Removes the beauty of the JSON logging 1edd3570e Adds a set of sanity checks to validate API inputs (2 of 2) 508a2b5a4 Adds sanity check on SecRemoteRules directive input 49b7ea99e Adds a set of sanity checks to validate API inputs (1 of 2) 5a32b389b chunks example: Sets the freed variables to NULL 6d77c76b2 Implements intervention support inside using chunks example f5b47a807 Duplicates the url variable in the disruptive action c3a0d8d9b Fix collections element selection by regex 3ebc2d61f Enables random number generation 4726912ec Audit Log: Adds space after response size 20134ef24 Fix examples/using_bodies_in_chunks compilation e1f52a1cf Adds using bodies in chunks example 9cb3f23b5 Adds support to setrsc action 616a95bfe Adds -lpthread to the reading_logs_via_rule_message example e795253ec Fix crash on SecRuleRemoveById malformated parameter 2a5085255 Using multiple threads in reading logs via rule message example 8fbb9e812 Using pthreads to avoid concurrent access to the collection 37868d153 Add missing feature: t:uppercase transformation 9d70345d3 Add missing hexDecode transformation to seclang parser a90b2a3ff Code cosmetics: init a vector. e1d3abc8e Removes memory leak on the counter variable modificator c49688fd7 Verify if a certain resource exists before do any other sanity check 6143eb99e Removes LMDB from the default configuration options 37619bae7 Removes local cache for transformations 0e05b7bb8 Avoids to load a directory structure as a rules file c97db2f36 Adds verbose message when a resource is not found. 77a658c7c Updates libinjection version 6421ff087 Forces disruptive to be first-rule-only 7e5925006 Fix JSON parsing error message b58f713fe add support for soap+xml e2bbe9858 XML Parser: removes unnecessary message from debug logs ba070c9ea Speeds up utils::string::toupper function b3c8e97ff Parse fix: accepting variables in between quotes c7053e572 Postponing the decision to whenever save or not a log message to the last rule 4d03ef512 Fix TX dictionary element name on logs 5f60bb522 Yet another fix on the debuglogs merge cf4deaa3a Using uint64_t instead of u_int64_t d15b57895 Fix the Multipart parser error for unknown content type 80cfca6fa Fix the debug log level merge function 2a54bf23e Fix the debug log merge function eb12b1514 Flush [shared-] file after write it dbcf5a719 API CHANGE: Rules::merge signature was change to includes error msg 5e59d1912 Improves macro expansion speed and variable set attribution f17da09fc Avoids call `toupper' twice while resolving a variable 85f98c8a6 Fix "make dist" after recent changes to parser c290c73f9 Updates travis' badge 53485c7f7 Fix pcre_exec offset values e79712095 Minor fix in the decision on whenever the log callback should be called e2af60e76 Expands log_cb to share ruleMessage structure instead text 9ea5b475b Fix missing initialization on rules-check utility 6d61bd6b5 Adds rules-check utility d2c5b31b1 Uses FILE instead of _IO_FILE e2bd87d07 Fix minor parser errors c3cb23f47 Removes the ';' from the x-www-form-urlencoded body-processor comparison d6363607a Accept quoted regexp in the collection selection 39761ce7b Discards the `charset' from the C-T while checking for body processors 7ab192e90 Using method instead of procol in the audit logs. fcad29015 Having the DebugLogs using the SharedFile schema 7f9cd7661 Improvements on the SharedFiles class 01c13da51 Fix segfault due to invalid memory access on SharedFiles class 87f6b478f Fix typo in returned string cc25390dc Fix copy/paste typo 027d50b76 Adds first version of `processContentOffset' 7aae5dc18 Fix Regex::searchAll to behave like global modifier 4d66481bf travis: Installs cppcheck on MacOS X 616cf84c3 Adds check-static to travis.yaml 4ad3574cf Adds offset regression tests and assorted fixes on var's offsets 795994bb0 Adds support to error_log in the regression tests ae8c2a486 Adds ZenHub Badge to Readme 073b0f6d6 Small changes in the README, including: having ModSecurity logo aba68a7b6 Adds ModSec log to the git repository efb90bb55 Adds OWASP rules to the gitignore list 71a9677f3 Adds configure.h to system.cc in oder to read the MACOSX def 09cfa2869 Removes dup on travis build matrix 44121bdee Updates secrules-language-tests 158ec7b2e Adds support to resources on the unit tests b021c15e4 Adds a little more build options to the travis file c06daba39 Adds support for curl resource on the regression tests f9552ede2 Adds missing file 36ab4b952 Fix lmdb compilation issue 6f4746211 Fix compilation when YAJL is not present 9d3399055 Very first travis file d85169952 Adds references to the collection variables e95efa05c Fix assorted memory and static analysis errors 8d0583eda Increments the cppcheck suppression list f40a6edec Adds valgrind suppression list f2d149fc5 Extends the direct access model to other collections ca24b6bb0 PoC: Adds support to direct access on ARGS collection 17e5a6357 Removes memory leak on the "offset" feature c1f11ab4e Cosmetics: assorted fixes on the coding style a88dc8efa Changes the check script to detect segfaults ff65d618e Adds missing Makefile.am file ecbf292f6 Adds first PoC for the operator offset feature 9a8fc3116 Instantiates the Class variable earlier ba6b972ca Makes global collection allowed to be set by setVar b516cc6de Adds operation unset to setVar action e95555132 Contionuation of 1 time variable patch 703da3c4f Adds PoC about 1-time variable resolution and draft for offset 6abbb7e91 Fix regular expression test case and updates the test list 1e8b37411 Removes the depency on bison/flex if it is not a parser build 3eccfaf1f Disables parser generation on all builds 03d0570e9 Deletes the Rule object in case of a parser failure 1aa2a9c01 Avoids memory leak by cleaning loc stack on Driver's destructor 8edffe353 Dirty hack to make the parser workable 839ac6258 Fix memory leaks in parser failures a6f07f621 Makes the lexical errors a little bit more verbose 5880524db cosmetics: Improves the tokens organization 9a1faab66 Deletes driver in case of parser failure 808fd2335 Avoids a second initialization of the Audit Log class 557c29fd4 Changes variables destructor to virtual 0c37ba336 Fixed utf8ToUnicode bad memory access a8e5cce74 Moving the rules deletion to the RuleProperties class 068a3eb51 Fixed bad memory access in utf8ToUnicode class fd341145d Fixed memory leak in the acmp implementation 60402d8b8 Renames defaultActions to m_defaultActions in RulesProperties 7927ddda9 Renames rules to m_rules in RulesProperties 5086fef49 Fix parser while continuation line is used between var and op 59114dd59 Refactoring on the operators parsers (2/2) 9cda4c0be cosmetics: Having the parser in a better shape regarding operators 1/2 3a413080f Fix string size on regexp search all 36d6bb966 Fix substring constructor in regex search all e181cb7e0 Fix lmdb collections backend b12cc9128 Adds valgrind suppression regarding rules load 8bd5f03a3 Fix memory leak on the regression tests f62dc287c Uses pointer instead of std::string copies while applying transformations 63f3f2fd8 Avoids unnecessary elapsed time calculations a7f465cf3 Avoids string copy by working with pointers while resolving variables 7834cf857 Fix memory leak on the benchmark utility 168fa22e1 Collections cleanup: removes resolveFirstCopy method 6fff8c954 Performance improvement: makes the collections lookup faster 15b81d09e Refactoring on the transformation classes bbb61d560 Changes the saving selection for the audit logs 10cdf8fed Enforces that relevant status on the AuditLogs 88fb456a1 Cosmetics: Reduces the static analysis warnings 9c7416da9 Refactoring the actions classes 73877d403 Adds support to section "E" in the auditlogs 317808fe5 Adds section "H" to serial audit log 2d29740ca Cosmetics: better format the serial audit logs c1e96d6c2 Fix rules messages in the audit logs 1218d8c84 Fix the audit log engine status selection 2e9a35c35 Refactoring on the audit logs implementation 9707d46e4 Adds `debug_log' headers in the no install list 64e292792 Moves debuglog stuff inside the debug_log namespace a3787fedb Fix building with -Wl,--as-needed linker option with older ld versions 31d5d7908 Removes charset=UTF-8 from content-type variable 8f1665059 Fix install and dist targets after 768cc74f, 9733cacd, bfc30dad 47f2e7ff4 Use correct debugging CFLAGS in readme. 89987806c Add (void) argument to be ANSI C compliant 1719e1d7e test-cases: updates the remote reference cce6179dc Refactoring: new structure for logging alerts bfc30dad3 Refactoring: how to report to error logs e6b58014d Cosmetics: Fix some static analysis report 9bd37ccb6 Refactoring: Rule class a776cce6d Changes RULE variable group to be save at transient collection 2930d40d5 Changes the actions to affect the ruleMessage instead of transaction 8fa0523fe Adds initial support to the multiMatch action 9116a19bc Using the decoded uri in REQUEST_URI instead of the encoded one 7a36499f2 Makes @pm compatible with the brand new capture schema eecb90cfd setvar: needs review c339194c0 Changes operator rx to use regexp::searchAll 9c7988d88 Adds support to regexp::searchAll d3a4ec760 Removes slash from REQUEST_BASENAME 293a84966 Adds m_uri_no_query_string_decoded to transaction ab8808315 parser: Fix the expanded list inclusion c98be42f8 Limits the transformation output to 80 chars in the debug logs f5898e94c Fix documentation typos 85edff522 Fix return value of msc_rules_merge() 464350150 parser: Improves the include error when the file does not exist 8b4f1bc46 Fix rule file inclusion path 361ec8340 benchmark: Removes the \n\r on the user agent 8ceaf99d5 Updates the CRS script to target the recent v3.0.0 release 3ab5c8057 Updates the fuzzer sub-project ee996a837 Adds configure option to [disa|ena]ble the library examples 936ec0b47 ~Rule will delete chainedRule 1b2877681 Fixed install and dist targets after 3ee7b24 3ee7b2492 Adds refCounter to actions ad05c74c3 Moves mbedtls to others and renames msc_string.h to string.h 2244e874e Moves static methods from class String to the namespace string 62a0cb468 Renames utils/msc_string.[h|cc] to utils/string.[h|cc] 424418f54 Renames msc_system.[h|cc] to system.[h|cc] 4ced1d18e Using full path in the header inclusion 768cc74f0 Moves RuleMessage to its own file ac4cb53d0 parser: Better understands escaped quotes in operator parameters 1bf53c057 Deletes ruleMessage by the end of the rule execution 5fa02f17c Fix Utils::hexdigest 507ec44cc Refactoring on `utils.cc' and adjacents b48dccff7 Removes unused `urldecode_uni_nonstrict_inplace_ex' 78d6d2098 Moves `phase' related functions from `utils' to `utils/phase' f1e742c15 Moves system related functions from `utils' to `utils/system' 73c4d6917 Moves string related functions from `utils' to `utils/string' 9733cacd4 Refactoring: moves ctl_ actions into ctl namespace 2bb9d7988 Cosmetics: huge refactoring in the parser d3de1c743 Adds missing action-ctl_rule_remove_by_id.json 721983a05 Adds missing ctl_request_body.* 75a5000b1 Cosmetics: coding style 471164460 dds support to CtlRequestBodyAccess 10d263cd3 parser: Relax the characters accepted by ctl:ruleRemoveByX fead97155 Cosmetics: Fix typo. Remove not Remote 1c21d1aeb Adds support to action CtlRuleRemoveById 161cc36ac Adds support to action CtlRuleRemoteTargetById 9245369a5 Adds support to action CtlRuleRemoteTargetByTag 730d7dbd2 Cosmetic: Coding style fixes. 8757840bc Refactoring on the operators: negation is now being handled globally 28a44b966 SecLang uses RESPONSE_STATUS as variable, not STATUS 678a97d0f Refectoring on the DebugLog mechanism f3bbcfc7e Removes SecDebugLog directive from the test cases 8ac15e291 Removes wrong test case: there is not transformation ge 4e3a599f6 Add hack to fix MacOS X build 049f1abb6 Fix compilation error b48e4b3a3 refactoring: Moves Phases enum to outside ModSecurity class c680ddf2c Refactoring on rulesProperties class ae8698d8c Makes JIT support in PCRE to be optional 13b6a3ecf Fix: Rules ID are validated during a set merge ecd3fd0dc build: avoids compilation problems due to non existence of the lmdb.h 8f5c1c3cf parser: avoids parser error while loading an empty file 5553b2a5b Moves web server message to appropriate place and removing the garbage 16b8ef98f Fix: placed missing variable initialization 56cbbeff5 Adjust the phase value between the core and the rules 115afffe3 Cosmetic: Limit the matched log size a1a1c71d6 Makes LMDB support optional 0a22f880d Adds support to custom operator's message in case of a match ad6183811 Considering collection RULE independent of the case at macro expansion 241269eed Adds missing `nog_log' action c3378ec52 Fix the size of the rules and actions vectors 8d84ff6f4 Accepting both: normalizePath and normalisePath fb0afdb34 Fix @validateByteRange initialization ed18c73cd include pre-generated parser sources into the distribution 062dd17f1 Cosmetics: reducing the compilation warnings 0e5f72977 Changes MATCHED_VAR behaviour 665df0451 Cosmetics: avoid compilation warnings 5febc7b26 Looking for lmdb in the right location under MacOS 7f7bd9984 Adds missing file: rules_exceptions f723870f1 Fix case sensitive variable resolution in in memory backend 5d64f7381 Makes RULE collection to be resolved inside a macro expansion 5514b6614 Adds missing file: rules_exceptions.h 52808b6cf Allows REQUEST_HEADERS:Content-Type to be null c961373fc Adds missing header 8416eca98 Initializes m_maturity in the rule class 37079ef66 Adds support to SecRuleRemoveById d781b00f7 Fix the `log' action and the webserver error callback 8d9abfb46 Makes tests output buildbot friendly c0ebd45a6 Reduces bison required version to test it over the buildbots 8a135cff9 Extends the possible names for liblmdb0 75e2e9d4d Fixing multiprocess_c compile error 4cf6c714a Cosmetics: Fix coding style 3615c84ee Adds check-coding-style target to our Makefiles f26824bcf Adds more suppressions to the cppcheck 4078677b7 Cosmetic changes: applies changes suggested by static analysis 247f24c5b Removes check-valgrind files after a maintainer-clean 46f4b84a0 Removes collections db after maintainer-clean 3f38b5668 Renames `testdb' to `modsec-shared-collections' 4c8aa5409 build: Adds missing lmdb.m4 085d50c12 include test cases into the distribution 063850a4c exclude build-time required headers from install target 2aa1d1447 fixed build of unit tests (broken by 34e0284) 649365481 automake: include all needed files into "make dist" target. ee9f3ebc5 configure: conditional creation of Makefiles in test subdir. 38b338d1d Adds test case for regular express selection ad481be09 lmdb backend: Adds support to select variables using regex de8245d8f in-memory backend: Adds support to select variables using regex 4daf9d8ab Adds a test case for WEBSERVER_ERROR_LOG 833089eb7 Adds method resolveFirstCopy to collections 6e4226ee4 Adds support to global collections shared among different process ac6498327 Adds cppcheck target on makefile 7bcc9cf0d Bug fix: variable resolution inside global collections 20689145d Renames examples/multithread_c to multiprocess_c cd5a116ca Simplifies the multi thread sample 5daf4873b build: Searching for LMDB during the configuration phase afd7a21d1 Correctly handle return values from pcre_study(3) e231503bc Simplifies the collection interface f43704dbe Add explicit 'return true;' for Transaction::extractArguments() 45850d17d Fix typo (= vs ==) 71acdaf8c Accept new line + caridge return in the rules parser 578dabea8 Informs the https client a key if any is given 3d1d0514f Fix pass action behaviour: now only ingore actions within the same rule b332018cc Adds regressiont test for issue #1152 f72bd587e Adds support to the allow action e77e4c4c1 Adds missing test case to Makefile.am and initializes the skip var b0f69b126 Adds support to the `skip' action f00e625c8 Unbreak build with custom location of libyajl.so 90adb5393 Adds support to JSON request body parser 247747060 Adds support to the resource collection bad3e1361 parser: Fix commented SecRule parser 7d06c32b0 Adds error messages while failed to init a collection 193fa2e80 Changes regressions tests to fit the recent modification on the parser 0c0a9b308 Accepts component signature between brackets 74a34261a Adds function removeBracketsIfNeeded to utils 731707994 parser: Reporting the right column position in case of error 37c18326c parser: Avoid to duplicate the invalid character 0fdde5253 Fix setvar action to accept equals nothing cf2ffe7e1 Fix the line counter while showing an parser error e5583c24b Removed parserError from the rules class 02909f7cd parser: arbitraty text can be used instead of operator 0d53dda1a Adds support to @unconditionalMatch 60be385eb Adds support to the SERVER_NAME variable df1f7c5e0 Adds support to the RESPONSE_PROTOCOL variable b8bd0c596 API CHANGE: response status is now set on processResponseHeaders a36b2da86 Adds support to the STATUS variable 56d084a7f Adds support the variable rule 45bfb594b Adds missing tests cases 6052d2628 Adds support to URLENCODED_ERROR variable c5262d54f Fix argument uri decode order dbaf79fb8 Adds extractArguments facilitator method 5c088c8be Adds addArgument method to transaction class ebe842475 Adds support to REQBODY_ERROR_MSG and REQBODY_ERROR 7bd6e9a2b Makes XML request body processor to be selected only by ctl:equestBodyProcessor 7cb27eb9f Implements the support to fill the REQBODY_PROCESSOR variable 734f63bd0 Adds support to REQBODY_* varibales in the libmodsec parser 767289c8d Fix compilation for libpthread users. 647019a80 Use internal PCRE based implementation of regular expressions instead of std C++ regex library. 21777aec4 Fix invalid memory read in msc_tree 8b9041c2d Fix memory leak on VerifyCC operator a4c7d534f Fix invalid memory write on base64 forgiven decode 7be5fde62 Fix memory leak on the @pm operator 1b35e57c4 Adds more suppressions to the valgrind list 9cec9db79 Fix memory leak in the method toJSON from Transaction class f833a6108 Fix memory leak on html dentity decode transformation e6c542c5b Fix invalid read on sql hex decode transformation 991902662 Fixes regarding memory management cb91af537 Enforce bison requirement to 3.0.4. 32f22d1a7 Use explicit variable size for copying char. 57ad70bb2 Add missing 'retrun's for functions declared return value. This change fixes SIGILLs on executable built with clang 3.4. 1e6b40ebe Fix some improperly formatted test cases 8cdb13807 Adds support to make check-valgrind f0155e3f3 Adds support to `make check` 2e3da7ea2 Better support for multipart 9e5cf2de8 Adds Upload configuration paramters to the libmodsec parser 967c8c90f Fixed minor behavior on the trasnformations and added sha1-mbedtls f35d28b8d Loads the transformations test cases during the unit test 8d4990327 Adds support to the transformations parity[even|odd|zero]7bit 59b1fe030 Adds sqlHexDecode tranformation to libmodsecurity parser 1fe0e3420 Adds support to sqlHexDecode transformation bd2e95953 Adds support to the hexDecode transformation 2b056485d Adds support to Utf8ToUnicode transformation d70f08d01 test: Using regexp to transform binary representation into binary blobs b7e82261c Adds support to removeComments transformation on libmodsec 08df949bf Adds md5 transformation to the libmodsecurity parser 7ccf54d33 Adds md5 transformation bf4a9d763 Adds support to base64DecodeExt transformation 056753d57 Adds support to base64 encode transformation bb5cbc969 Fix return value of Utilis::Base64::decode e48f468cb Adds support to base64 decode transformation 348cf3bfa Adds support to the REMOTE_USER variable a3ae686f2 Adds base64 support via mbedtls 4b9cff3ec Partially adds the REMOTE_USER variable support f989ecd5c Adds support to SecXMLExternalEntity 6a7b970fe Adds support to ctl:requestBodyProcessor=XML 9202ffb17 Replacing include subdirectory name, transaction --> collection 1f45d6cea Adds full support to the libxml action a9e6716c6 Variables are now receiving the rule instance as parameter 8c714af8e Actions refactoring: now there is a clear definiation on the action name 1b88947d9 Adds support 'xmlns' action to the libmodsec parser 3e8defb85 Adds support to the operator @validateDTD 6a4075250 Adds XML variable, xml body request processor and @validateSchema 35636674e Adds the missing regression tests for USERID 758ecb5d6 Adds support to USER collection, setuid action and USERID variable ff9aa5c7c Adds support to the variable SESSIONID a2a47798e Adds support to the collection SESSION and setsid action 33a704e91 Fix macro expansion: no more % abandoned by the end of variable 572811027 Declaring variable outside the for loop c85529158 Adds support to the cmd_line transformation d0e000228 Fix the regression tests as reported on #1142 3062ff2aa Using Collection instead of GlobalCollection 64c4f23a4 Collection class was changed to be a simple interface bc887cdcf Fix Valgrind regression test script 5643d2fa2 Warming up to the remote collections support ff165a403 Adds support to the multithread example 1539a8c3e Fix the coding style of the pull request #1115 8b3b01406 updated transformation file to include removeWhitespace transformation 883b804d9 adding removeWhitespace transformation 0a60924c8 Reduces the amount of warnings 6f93563fc Fix in parser: now understanding the removeCommentsChar transformation 19137452c Updates `secrules-language-tests' reference. a5a21ea19 added remove_comments_char to address issue #971 8da49842d Fix typo on the audit logs. 85d8b8e9b Fixed typo error in the HTTPS client implementation 8d052853a Adds support to https audit log output e5acc95de First version of `global' and `ip' collections 214cc1578 Cosmetics: Reduce the coding style warnings c43391072 Fix some issues reported by the static analysis 28008be61 Build: Adds /usr/lib64 as possible path for YAJL d528b8ea6 Build: Looking for YAJL's LD flags instead of CFLAGS e3dd2937e Installs the library file in the right path [lib|lib64] 88ca73654 Avoids the installation of test utilities during `make install' e0926fee3 Fix parser error while dealing with operator negation 47a62b98b Saves `MATCHED_VAR' and related before execute the actions 778db259c Treats the keys of the sec language variables as case-insensitive 30d9ade19 Fix macro expansion: Now support } and/or }% to close a variable f44143436 Fix parser error on free text operator 1f68075a2 Process the logging phase on the benchmark utility 1e3cafb73 Fix memory management on the rules' messages (try 2) 71970915b Using `clear' to clean up lists instead of clean via integration 163483e8d Fix memory management on the rules' messages ed8b0c85d Fix `capture' memory management e34645437 Fix memory leaks on the collections/variables management 49fc1f8b7 Fix memory leak on the benchmark utility 8647d63e9 Fix m accuracy initialization inside the Rule class a2ffb3615 Adds "matched" line to the audit logs 362b376ac Adds verbose logs to audit logs while deciding or not to save a request 77a1dcab9 parser: fix issue with skipAfter action 049e4eb69 Adds support to the @rbl operator 4bdb4ed63 Fix chained rules execution order 8143f8ea8 Adds support to the action `maturity' 714df8db2 Adds support to the action `accuracy' 5a2a81a56 Adds support to the action `ver' 77900ed4e Fix rules `messages' on the auditlog 947437326 General improvements on audit logs information 31117d757 Fix error on older systems b9b3e8290 Fix AuditLog parts selection 934394239 Adds mutex around the write operation on the auditlogs b4691aa74 Updates python bindings version b46dc3457 Temporarily disable the HTML ENTITY DECODE transformation a102b5ce2 Improves the method fill the ARGS collection 98f45f357 Using a better number generator to avoid conflicts 36dfe81da Adds YAJL_CFLAGS to the project core fc225ff00 Fix whoAmI() call on Transaction b06eaadac Places the classes related to audit log into a separate namespace 2830525f8 Adds missing file: script.lua aaf995cc7 Adds missing file: transaction.h and removes assay.cc from git e45ad3b08 Updates Python bindings git hash 4db5cc7d2 Refactoring on Transaction class: adding comments and renaming variables 6f1e6f37d Fix trasanction cleanup on the C API a51e70751 Renames class Assay to Transaction f3fd5d662 Adds owasp/2 experiemntal rules on the test set for benchmark d780fd629 Fix the parse to distinguish between @pm content and a variable 702551ed4 Adds support to action `exec' to sec lang parser 331df90ba Enables OWASP CRS optional_rules on becnhmark test case 923620fbd Adds support to the action `allow' in the sec parser 7901c2c89 Adds the actions SetSID and SetUID to the seclang parser ab92bed6f Parser improvement: Supporting variables selection with regex 3acc013e4 Improves the secrules parser ed13cab9f Adds script to download and configure benchmark script to use owasp v[3,2] f23908f14 Improves the secrules parser a4d8dfd5e Adds ModSecurity recommended configuration file 29680d69a Updated geoip m4 file to support from path 527325826 Fix libxml configure script 8c7b6199f Optimization on the tolower function 076289236 Small fix on pull request #982 e38a468a2 Updated with suggestions from @zimmerle for code style b3ab9a408 Support for correct implimentation of REQUEST_URI dd35b4776 Removes initcol debug messages a225f8b5b Fix SecResponseBodyMimeType test case 6ebe6dfd8 Merge pull request #1038 from pwnbus/update_readme_shell_syntax ebf2c8855 Update readme to use shell syntax decf04d26 Adds support to SecResponseBodyMimeType c2d9a153c Adds support to afl fuzzer in the build system 7cebc632e Adds Python bindings to the main ModSecurity git repo 913e22a77 Adds initial support to initcol action fb3696ac0 Fix a few things to provide an easy interface for script bindings ac10d8863 Changes the operator evaluate method to only support two arguments 215c4d107 Fix ARGS_POST and ARGS_GET variables order on the parser 2a950a435 Fix various minor bugs in the regression test suite 42ce0475b Coding style: changes the namespace in the comments 0694cd30c Adds support to libxml2 detection on the build system 80b82d370 Adds the Global LDADD option and fed according to the platform 467c977af Fix compilation without the GeoIP headers installed on the system 854ca4c1c Removes libinjection sources from the main project and add it as subfolder ea636e80e Clarifies conditional by placing its parts into parentheses b5a43871e Changes library namespace from ModSecurity to modsecurity a69e49a1b Makes DebugLogs optional by compilation flag fbf8ea74f Makes YAJL dependency to be optional cf4377df7 Makes libCurl optional during configure d8793e444 Prints rules language tests version on the configure summary 43c9b9216 Adds information about libInjection version at configure summary 45711b522 Update issue-960.json with 3rd test. d8361d57c Adds a regression test for issue #960 8c0e96f31 Prints a fancy summary after the configure script 18c862a84 Adds the concept of `resources' to the regression test utility 09a958544 Makes @geoLookup optional depending on the availability of libGeoIP 21cae53d4 Improves the libgeoip detection during configure 283c8c818 Fix some static analysis warnings ac61d1c40 Adds missing file de7984828 Code cosmetics 3c45a5713 Fix regression tests structure : using method instead of protocol c035e76ed Avoid segfault if parser `ref' is empty f65b08b06 Fix parser to accept redirect action without single quote 7a300eb94 Fix pcre cflags variable and adds LDFLAGS for dependencies 47233adf3 Revert "Adds experimental operator cache" 4dcefa104 Adds more plausible names for libgeoip ca33ba420 Temporary adds the missing optimization.cc 9e295dedc Adds rules optimization test app 326696976 Adds experimental operator cache c204f1f00 test: Increases the cache size of the urldecode transformation bb30d42b5 Speed up the random number generation 45638ccc9 Limit the amount of transformations inside the cache storage 5bef19aa4 Variables resolution results now stored into a std::vector instead of std::list 2ee5d4ca8 Testing performance enhancements by enabling transformations cache e641c3cc1 Huge improve in the variables resolution time 4a771f8c2 Fix pkginclude_HEADERS 48704c27a Removes some memory leaks 061ba0131 Refactoring: Create class Collection to hold collection properties b6ae0585c Refactoring: Place m_variables inside Collections 787be9812 Refactoring: Pass all the control over the variables to the Variables class 6f617e6ca Refactoring: Move Variables and Variable to independent files 776502e02 Refactoring: changes ModSecurityStringVar to transaction::Variable 7afc07914 Cosmetics: Fix static analysis warnings 11a1045f4 Adds support to capture this fingerprint of the detectSQLi operator 93031d93d Cosmetics: Fix coding style issues ffb973700 Replaces libpcrecpp by libpcre 2a062b7fe Not using pcrecpp on verifycc anymore 4168ebc2b Adds support to EscapeSeqDecode transformation 1716add77 Adds support to replaceNulls transformation 993247870 Adds support to hexDecode transformation 93c3bc804 Adds hexEncode transformation 0ae09201f Adds support to replaceComments transformation 7e826633f Adds support to the transformation normalisePath and normalisePathWin 7ab75ac01 Adds support to length transformation 8d78952e1 Fix jsDecode transformation 333174417 Fix cssDecode transformation 743fb651d Adds partially support to t:sha1 transformation 91d29d284 Adds support to urlEncode transformation e3e8bac13 Adds support to URL decode transformation 0227fe9d6 Adds support to t:compressWhitespace 3d2ec2a3f Fix unit test utility to get it working with t:removeNulls 17faef565 Adds support for trim, left and right trim 59af8ab84 Cosmetics: fixed the coding style 90c74beca Fix the init method signature in some operators 4a5e6b3e5 Fixed bad test cases e7803ebd0 Fix bug on regexp matched results 3fff34300 Adds missing variables 827b15f5c Marks redirect action as disruptive c1e3eac09 Fix variable exclusion regression test (label only) e65f0db13 Fix on the variable parser 95a707964 Warn about parser error during the regression test c800214e6 Fix pcre_exec matched string 0285c944f Fix collections resolution b0089cfde Adds MODSEC_NO_LOGS option to be part of the configure 74045beab Performance improvement while expanding macros 335133855 Performance improvement of setVar action e57ee8908 Searches for included configuration using the resource policy e54ef7205 Looks for external resources in the same path of the rule 5cc9e9450 Splits operator into OPERATOR and FREE_TEXT on sec lang grammar df819dc43 Removes SPACE token form the GRAMMAR 54c51e251 Fix parser shift/reduce problem on state 133 03eabd9c1 Fix shift/reduce conflict in the sec lang grammar. 941b9e75c Adds support to rules with actions without quotes 0087a602f Fix phases execution 8255ce86c Adds reference to filename and line number to lexer errors 900af2cd4 Adds possibility to use include with wildcards and env vars cb9524ffd Adds support to collection in the parser d084ab5f2 Fix the "line counting" on parser errors 70e2a4b37 Adds support to include path between quotes b49709101 Cosmetics: Fix coding style f6e0b447b Merge branch 'libmodsecurity' of https://github.com/SpiderLabs/ModSecurity into libmodsecurity 1cf1e313c Added some comments about msc_set_log_cb d044c7aae Removed some extra comments 2c39f83b5 Fix the regression test regexp validation f93c0de94 Disable NO_LOGS by default 076a02951 Huge performance improvement: passing variables as pointers avoiding copies 2451bf05d Using pcre (with JIT) instead of pcrecpp ed86c24df Adds checks for the NO_LOGS definition and improved the vars resolution time 3e067e740 Core is now ready to deal with SecRulesEngine set to Off 11e1a67d5 Fix disruptive action flow while RuleEngine is in DetectionOnly 490ad23e4 Uses macro expansion before apply redirect action 90df21bbb Removes the \' from setvar before name the collections d0c215d78 Adds support for the server log integration 5228b685b Fix disruptive actions execution 081fe235a Cosmetic: fix variable-REQUEST_BODY.json format 6782fd098 Cosmetic: Makes the parser error more verbose on the regression tests 5b18db779 Makes multipart debug messages goes over modsec debug log not stdout a52a3a71e Fix some regression tests to fit the most recent changes 639ccf7dd Fix the rule execution debug log, so that tests won't complain 7f747d1dd Fix multipart parser in crlf blobs c8f91ca85 Adds expected results when a regression test failed due to unexpected debug logs e88d2120f Including space in the list of readable characters for debuglog 7a468a8fb Cosmetic: Prints regression test results in a better shape 9d60dc6df Adds macro expansion for all operators 320bcde89 Adds rule number to the debug logs and printing expaded variables 4bf7f7a44 Adds 'expandKeepOriginal' method to macro expansion class c425b24ff Extends redirect action to support url without quotes 530b15831 Adds scripts to call the tests using valgrind b1e845211 Limits the variable size into the debuglogs and print it in hex if needed 8772daec4 Adds functions limitTo and toHexIfNeed into utils.cc 97214edf6 Fix multipart parser on binary content 23d843259 Fix rule.h include on modsecurity.cc and seclang-parser.yy a0a2d2c77 Adds support to read request body from a file 140a62a2b Changes rule_id to long in order to have it visible by systemtap 2a8f45b89 Adds transformations removeComments and replaceComments to the seclang parsers 3c5386991 Adds transformation normalisePath to seclang parser 92563da93 Adds t:utf8toUnicode and variable XML to the seclang parser 736183b7f Adds ctl:forceRequestBodyVariable to the seclang parser 4095ae7b5 Adds action accuracy to the parser 1079b5ba5 Adds action maturity to the parser 09651baf9 Adds action ver to the seclang parser 254b29265 Adds action expirevar to the parser and fix the line counting ee8b88637 Adds parser support to ctl:[auditEngine|ruleEngine] ec6a5a0cd Adds support to t:sha1 and t:hexEncode at seclang parser d1fa2cfa7 Parser: Fix redirect action and adds SecRule first line-only comment syle 5c3a4b608 Adds support to SecMarker and skipAfter b048794f4 Adds support to unconditional rules 4e8bb276b Fixing compilation problem on newer versions of gcc (Fedora 22+) 010c18f63 Adds support to SecDefaultAction configuration directive f2ed890ea Now accept SecRules regardless of the letter case 8675383c0 Updated build instructions for Fedora 9a0c9d493 Updated build instructions for Fedora 84eba7ad1 Updated build instructions for Fedora 9cd9f7f11 Updated readme to reflect required Fedora packages d963e2dc2 Updated readme to reflect required Fedora packages 3cd54e753 Updated readme to reflect required Fedora packages 7afd93196 Adds contains to the list of operators compatibles with the capture action 3de845fac Fix macro expansion string replacement 45d81e1c0 Adds sanity check to the rule id action 6ab88472b Adds a simple regression test for the operator @rx a63aa50f1 Changes the default operator to be @rx not @pm ea4cd5322 Accepts phases with its name instead of a number 035040cd1 Adds sanity check to confirm that the rule has an ID and it is not duplicated aae8036c0 Cosmetics: Fix debug log message 5d24b237b Fix default parts to be logged on audit logs fa4f72d90 Adds support to ctl:auditLogParts variation e89e395a3 Fix various minor issues on the auditlog schema 24b7d7266 DebugLogs are now being redirected to the correct files 01542e28c Allows blank line (or line with space) at the end of a rules file e76af0eab Correctly handling nginx configuration merge 004ef066e Fix rules chain and action execution f2da6bb81 Fix the ruturn value while loading the rules c586ba017 Removes an unused state from the seclang parser 15893e312 Fix regression test and example: checking if rules are loaded ok e94226f1d Fix some build issues fd8578351 Fix segmentation fault in the regression tests a16850271 Adds missing file 1065e297b Fix several minor issues on the seclang grammar e78d7f5b9 Makes the parser understand some missing configuration directives a453a656c Fix continuation line and VARIABLENOCOLON 0b225f023 Parser: adds support to SecRequestBodyInMemoryLimit 2d56aa521 Cosmetics: fix actions on yy file a230a4ff3 parser: Adds support for continuation lines ef9961540 parser: Understanding @pm if no operator is provided 101fddfc9 Extends DICT_ELEMENT to support "-" d5bf95502 Using DetectionOnly instead of DetectOnly b7fb65fe6 seclanguage: ignore lines starting with "#" cff74e7ce Fix ValidateUrlEncoding corner case 1de6d07df Adds support to the @detectSQLi operator 4baee88eb Adds support to the @detectXSS operator f0535ae11 Adds libinjection repo as submodule ad65a1abe Adds @noMatch operator 73c6c8cf7 build: searching for pcre/geoip on /opt/local directory d5fe21ce3 Code cosmetics: reduce the amount of cppcheck warnings 21400ba45 Adds support to the @verifyCC operator 1b0a91833 Adds support to the @validateUrlEncoding operator b325834f1 Disables c++11 mutex, until we have a better approach ac2f0bfd0 Cosmetic: avoiding warning by including full path instead of file.h 2ff0a44df Eliminates the sec language grammar shift-reduce problem a324ff931 Fix validate byte range table initizliation 187be64ed Fix operator instantiation/selection 9a7506f9e Adds support to the beginsWith operator 209a3db47 Adds support to the @endsWith operator 577736abb Code cosmetics: Fix the coding style. fb161a69a Removes some warnings by adding missing returns c5a435534 Fix geolookup operator instantiation 64cbb1533 Adds support to the @containsWord operator 2f81b62d1 Adds missing return to ValidateByteRange::init b883888c0 Adds support to the operator @within 218eab641 Fix libgeoip lookup during the build 52c419df6 Updates secrules-language-tests version f231df16a Adds support to the ValidateUtf8Encoding operator 9096055ea Reduces bison dependency to 3.0 70c2621af Adds support to the strmatch operator f62e17c67 Adds support to the @eq operator 2f1bcf6cb Ignores the parameters order on the test case 9231f507b Fill PATH_INFO with decoded value 9431678f8 Adds missing return true on RequestBodyProcessor::Multipart 7c406529e Prints "failed!" for failed test cases 317c71e81 Using raw uri value to feed QUERY_STRING variable 70b25668b Checks if assay is set before calling the log method 0a91f2aa4 Changes the rule in the example folder to something really simple ce0d81c0d Adds sanity check for inputs 5cc38abfe Updates the reference for secrules-language-tests c06179f18 Adds support for Log and Rev actions ad9393a8c Adds support for the tag action f519717bd Adds support to the msg action 5fdb5b7d2 Adds support to macro expansion in setvar action e12d95b10 Adds support to the TX collection and setvar action a9e0fbb41 Adds variable variations test cases 88c53575b Adds support to & (count) and ! (exclusion) as variables variations 4308ee028 Adds t:none transformation 522f195aa Adds support to urlDecodeUni transformation 6dad6af4a Adds RemoveNulls trasnformation 62d004cf0 Adds support to the transformation normalisePathWin 1353403c9 Adds support to the HtmlEntityDecode transformation ce298165d Adds support to the cssDecode transformation 1924b4ebc Adds lowercase transformation 391002c66 Adds support for jsDecode transformation 4f47651a6 Adds variable TX and action "capture". be4a0cb41 Adds REQUEST_COOKIES and REQUEST_COOKIES_NAMES variables 0720fd479 Adds operator @pmFromFile and @pmF 57ceef1fe Update test cases submodule d4dd9c86d Accepts Suricata format on @pm operator 95efb99a8 Adds support to the @pm operator 774d89735 Adds support to the operator @ipMatchFromFile and @ipMatchF 6cd4c0492 Adds support to the Rx operator 3a4cef6fb cosmetic: Fix ValidateByteRange coding style. 8575c1078 unit-test: Fix the geoip debug code 17f88f582 Using libpcre instead of c++11 regex 2f4d4691c Disables @containsWord operator to enable the libpcre migration a4cf218a3 Removes chrono references to make it compile with gcc 4.8.x 933ade596 Cosmetics: 1st paragraph of README file is now with lines smaller than 80 chars 7ff38e901 Temporarily disable Geo Lookup logs to avoid crash on unit tests f811ec651 Adds support to @ipMatch operator bf0169b52 unit-tests: Releases operator after use a05fa8287 Adds support to the validateByteRange operator c2d33823f Adds method init to Operator class 7b4554216 Adds support to the operator le 606f03be4 Adds support to the operator gt 235bf9c01 Adds support to the operator gt 170cb60c8 Adds support to the @streq operator 35901c1eb Adds support to the operator ge 4462fd84e Adds support to negative on the contains operator f41f9e1f0 Adds "negation" property to the operators signature 2f3a8f088 Updated wording and grammer in README 6beca48c5 Fix C api signatures e016b72a8 Handles better the memory utilization 0e7c13e3c Adds more regression tests to SecRemoteRules 7ba5c76c7 Returns elegant errors if rules load operation failed b8f7fb441 Adds support to SecRemoteRules and Include directives ec9a97324 Fix actions: returning string copy after evaluation b2bbe24e2 Process the request body even if there is nothing to be done 76b34af35 Adds support to load remote rules 70bc15cb7 Adds support to quoted ID action 64543e3aa Using A-Z instead of A-z while parsing with ?i: to avoid warnings b5ca607e7 Places class Driver under the Parser namespace 9c2158958 parser: Loads content straight from buffer. d3eb0fd91 Driver class is extending the Rules class instead of duplicate elements dc0b13ad7 Cosmetic: fix copyright header 16bb253d0 Adds all variables to the 'Variables' name space 261ee9f11 Adds support to BodyLimitAction and support for parser errors 30b2624ec Adds support to parser error 5b3fd479f regression: better format errors, making easy to read the output 3f883df76 regression: Sorts test cases by file, making easy to read 3f8fa64c9 regression: Allows to specify a single file or directory a4af4f32c Fix transformations regression test 667586c42 Adds UNIQUE_ID variable d20a47fb0 Adds support to the variables: REMOTE_HOST, SERVER_{ADDR,PORT} ae81bb143 Adds support to the variables: RESPONSE{BODY,CONTENT_LENGTH,CONTENT_TYPE} ec34f676c Adds support to variables: REQUEST_{METHOD,PROTOCOL,URI,URI_RAW} bc925e01e Adds support to the REQUEST_LINE variable cb722c74b Adds support to REQUEST_HEADERS{_NAMES} and RESPONSE_HEADERS{_NAMES} vars 97c0d561f Adds suppor to the REQUEST_FILENAME variable 94eddfcf4 Adds support to the REQUEST_BODY_LENGTH variable b6221c981 Adds support to REQUEST_BODY and REQUEST_BASENAME variables 6f7d3fa67 Adds support to the TIME* variables ad442fb20 Fix transformation regression test dbbb2c526 Adds support to REMOTE_PORT variable e8476771e Adds support to REMOTE_HOST variable cc576533b Adds regression test to the REMOTE_HOST variable f05632acb Adds regression test for the REMOTE_ADDR variable 6af9e8e42 Fix QUERY_STRING variable 7f76bb6df Adds PATH_INFO variable 62fece782 Adds support to SecResponseBodyLimit directive and OUTBOUND_DATA_ERROR var 8e59b1822 Adds support to variable MULTIPART_UNMATCHED_BOUNDARY a9147b76a Adds support to the MULTIPART_STRICT_ERROR variable 09beb1a5c Adds support to MULTIPART_NAME variable 954e275b3 Adds support to MULTIPART_FILENAME variable abec93263 Adds support to MULTIPART_CRLF_LF_LINES variable 21f4c49a0 Adds support to MATCHED_VAR_NAME variable b089c44c1 Adds support to MATCHED_VARS_NAMES variable 09867791c Adds support to MATCHED_VARS variable 9d6950196 Adds support to MATCHED_VAR variable 4f20f5bf7 Adds initial support to chained rules 9c066e319 Adds support to the INBOUND_DATA_ERROR variable and SecRequestBodyLimit direc. 95c2fed89 Adds support to severity action and HIGHEST_SEVERITY variable e189055ec Adds support to GeoIP operator and variables. 41bf1490b Adds MODSEC_BUILD variable 6e46c5c7f Adds support to FULL_REQUEST_LENGTH variable e516ded1e Adds FULL_REQUEST variable a264fc11c Adds support to the FILES_TMP_CONTENT variable b6cccc798 Adds support to the FILES_SIZES variable ebb16d043 Adds support to FILES_COMBINED_SIZE variable e1cff89b4 Adds support to FILES_NAMES variable fe6a9913c Adds test case for FILES variable 5d5e10bfd Adds support for basic Multipart process d0b7a9966 Adds support to the ENV variable 27252bc80 Adds support to the variable DURATION 33dff0f1b Refactoring on the variables resoluvtion method 8c408ebcd Adds support to AUTH_TYPE variable d86427f1d Minor fix on the auditlog regression tests f0624bb08 Adds support to ARGS_GET_NAMES variable e7ec09623 Adds support to ARGS_POST_NAMES variable bc0553e72 Adds support to the variable ARGS_NAMES 92c132b64 Adds support to the ARGS_GET variable 492526cfc Minor fix on the actions test case 85f065363 Adds support to the variable ARGS_POST 228a5ce7c Adds support to ARGS_COMBINED_SIZE variable 76b769cc8 Decodes the url content before assing values to varibles b2954ff22 Fills ARGS variable even on POST 9f869a6aa Adds test case for the variable ARGS 80f13437e Refactoring on the variable read/store methods f13a1bd88 Adds support the Parallel audit log index creation 96a777a5c Adds initial serial audit logging support 001d5ebf7 Properly deal with classes destructors 0c98bdc80 Adds support to SecAuditLogParts 5e33a1a3c Opens auditlog files and directories with the correct mode c9620ac50 Writes audit log in parallel mode 693238b23 Process the log phase independent of disruptive actions 5e80e001e Adds Components information to the audit logs 1ddb36a78 Adds SecComponentSignature configuration directive 4aa521df6 Adds SecRuleEngine state information to the audit logs 75a9cfa27 Uses an enumeration to determine the state of the SecRuleEngine cb8d6249a Adds connector information to the audit logs 2138dd136 Adds method setConnectorInformation to ModSecurity class e42e7545d Adds ModSecurity version information to the audit logs 8dab5ac30 Adds whoAmI method to ModSecurity class aa8dc9115 Adds first version of Assay's materialization in a JSON format 610b10bcd Adds ascTime function to utils 888b9622c Adds random id to each assay 311279402 Adds a time stamp to assay class 278b51393 Adds protocol and http version to processUri method's signature 210991084 Adds support to the server ID generation aadbacf85 Adds basic regression test for AuditLog functionalities fd8f26f76 Adds all auditlog related directives to the configuration parser fc622c27d Checks if an assay is relevant to be saved as an auditlog 0beae17b4 Adds 'http_returned_code' property to Assay class 885fe14f3 Adds AuditLogWriter{Serial,Parallel} classes e44d6e280 Adds actions 'auditlog' and 'noauditlog' 71eb27bbe Adds a new constructor to Action it now receives kind as parameter 616a2ae6d Adds AuditLog class 7ea9ff883 Code cosmetic: Having the code following our coding style 73154b51a Adds processLogging phase to regression tests 64a34584c Build system fixes 344aa901b Updates README.md: highlight that the project still under development f262b404c Fixed issue #905 that dealt with compilation on c++ 5.x > b9507e396 Decreases the bison requirement from 3.0.4 to 3.0.2 721f95115 Adds transformation functions stub 95cb4c56a Very first commit: libmodsecurity 33cbe0452 Opens space for libmodsecurity 4a49d5b8d Adds information about the issue #871 on the CHANGES file d9bebfb87 Compiles against ssdeep in non-standard location 25666005e Modifies the CHANGES file to cite issue #609 1ed95ad93 Fix invalid storage reference by apr_psprintf() when creating a string from salt[]. salt[] is not '\0'-terminated, so apr_psprintf() needs to be told the extent of the bytes to read. a9a39255b Version 2.9.0 b304ab1aa Improves SecRemoteRules messages on IIS f7c7a30db Uses our own version of ap_find_command 462308be7 Improves the accuracy of version identification on status calls a235b536a Fix apr_crypto.h include in modsecurity.h and msc_remote_rules.c 2e09b8e54 Fixed comment incorrect comment de74b131c Version 2.9.0-RC2 b1e4954a8 Closes a file handle that was left opened on fuzzy hash f6d6cea01 IIS: Creates IIS_VERSION definition 6c0cdab35 IIS: Changes Curl version and removes OpenSSL dependency 0d2d01ba2 Disables mlogc compilation with Curl was not found 069122194 Reducing the amount of compilation warnings fa77c9358 Fix typo on fuzzy hash match message dc81e4f85 Informs problems and successfully loaded external resources during reload fe22446bd Adds missing 'ModSecurity:' prefix to log messages ce4cf24f6 Refactoring external resources download warn messages d4a055e78 Checks HTTP code after performing a resource download 87a401af0 Fix remote resources download while hosting SSL site on Apache 23823bb2c Makes Curl no longer a mandatory depedency for ModSecurity core 94fd570e3 Fix parser segfault on parser while parsing downloaded content 23f6f6e6e Version 2.9.0-RC1 b019f6056 fix typo 277f2e1e6 iis: adds openssl to the build scripts 9fe72b72d Improves the CA validation b02256cf1 IIS: temporary removes ssdeep support on IIS 85c7ba0c7 IIS: Adds ssdeep/libfuzzy to msi installer 858d480ec iis: Copy yajl.dll into release files folder 9f005c3de mlgoc: Adds option to enable or disable the SSL checks 73d7955ac Fix the compatible IIS versions eb61e891a Build: New alternative to identify the presence of libfuzzy 723336f1f Adds regression test for FILE_TMP_CONTENT 86787f2af Adds SecRemoteRules regression tests. b5398abaf Forces downloads using https-only for resources or rules 59fc24350 Adds the `crypto' option to SecRemoteRules directive c54bb746c Adds SecRemoteRules as an build option 38b992470 Adds the SecRemoteRulesFailAction directive 9b836b652 Initial support to load rules from a remote server 899ee0c36 Adds support to load remote resources to pmFromFile and ipMatchFromFile 81bde0842 Adds curl support to main core f45c6fe87 Build: fix the build script that looks for yajl 288fedfd2 Adds real_server_signature symbol to msc_test 59a1746be Using real server signature on status call 8305600d5 Trims long `apache version' in the status call cee205b10 Adds Status test case with the SecServerSignature being used 2615a5dfc mlogc: Checks if curl supports CURL_SSLVERSION_TLSv1_2 before use it 54bf71f8b mlogc: Changes the default SSL algo to TLS 1.2 d554b94d1 Include apr-util's LDFLAGS 66bb840a5 Adds doxygen configuration files f2b45bfaf Automake: Using ../ instead of $(top_srcdir) 11ede79bc Adds automake subdir-objects option c64a681c6 Temporarily disable a test that is leading nginx buildbot to fail. de1c028d1 Declares msre_var *rvar at the beggining of the function a45fe95ed FuzzyHash: if disable giving an run time error instead of config fa0c97ea7 Adds regression test to cover the @fuzzeHash operator 7affec82a iis: Adds ssdeep support 96865a92d Adds fuzzyHash operator 873c628b1 Adds ssdeep support in our build system accb1820e Adds collection FILES_TMP_CONTENT 87df4827d Print YAJL version on startup. Closing issue: #703 79639b5e4 Accepts random port on FULL_REQUEST regression test 6b5e9b127 Merge branch '0xbin-master' ed52c5462 typo rectify 046b55373 Fix ipMatch entry on ErrorLog and DebugLog 5d92e448a Fixes subnets representations using slash notation 731466cff Adds @ipMatch operator unit test. d4c2b96b8 IIS: Changes event ID (Issue #676) 0f7cbced8 IIS: Cosmetics: Removes CLFR. 1d3c8349f IIS: Adds a VS Custom build to speed up the dev process 3a7def63a IIS: Adds mlogc to ModSecurity solution 90c5a420d IIS: Cosmetics: Files are better grouped in VS c4a5a1e11 Version 2.8.0 50e4961dd Uses autotools to idenfiy if sys/utsname.h is present 33231378d Increases the package version on the configure.ac 480f6bac7 Merge pull request #692 from rcbarnett/master 62a76e1ed Update CHANGES ad5824c00 Fix type on the CHANGES file. 0826380ac Version 2.8.0 385a2828e Code cosmetics: Reduces the amounts of warning. 1e63e49db Uses %zu to print size_t instead of %d. 503e8f6c8 Updates the libinjection 66939d059 Adds initial support to @detectXSS 47f5cf92d Removes forced chartset efef989dd Renames Sec{Read|Write}StateLimits 48d85c7d6 Places connection filter engine in a separated configuration a15f8813e Honor the SecRuleEngine while filtering connections 0037a0732 Using RadixTree instead of list to storage IPs 80185e2a9 Bugfix: Missing ipv6 support check b9fdc4fe3 Adds support to suspicious and whitelist to Read and Write limits 8ff3de5b6 iis: Disables installer repair d6dd1f0e9 iis: Adding VC110 files to the Windows installer 28d4f9fce iis: Checks Win version before declare inet_pton bd0980f63 Reverts commit: a4202146b8d26b6615bbab986383fe0afae60d77 93b12df72 iis: Removes unnecessary files. fe727c702 iis: Updated OWASP crs to version 2.2.9 10db38431 iis: Adds cleanup methods to the installer f8f06f793 IIS: Updates build_msi.bat to fit the new WiX install options 4d7d1ba82 iis: Adds listing dependencies script 619758c0c iis: Adds condition to avoid the use of 32b msi on a 64b os 93a86f6f3 iis: Adds Visual C++ 12.0 Runtime to be part of the msi package ec61749a6 Changes JSON parser to not accept parcial contents 966e7e1ff Adds verification before access the strcmp c5c269080 Adds origin to the paramenters that cames from JSON 52bef20ce Adds unit test to the JSON parser a95f37196 Adds JSON support on ISS port 0787b4548 Adds support to JSON parser in the nginx module 09ced44ff Supports the yajl version 2 8d4c3e4f5 Makes the build system to look for yajl using a macro file e90874a69 Added sample JSON content-type rule c23097ce1 Added support for JSON body processor 410aca9d7 Optimization on the status engine call 20014c808 Adds modsecStatusEngineCall to standalone API d75e443b9 Adds regression test to SecStatusEngine a6d93441c Places StatusEngine to be Off by default e131e2222 Adds support to status engine on IIS version f86a71f7a Adds SecStatusEngine On/Off switch 0c6a661c6 First version of the status engine implementation d93ce9cee Adds REQUEST_FULL and REQUEST_FULL_LENGTH variables 62f3d0289 Adds utf8toUnicode.t to our unit tests 5b0c933cf Fixes UTF8 to Unicode conversion bug in 4-byte encodings 7e459827e Log why writing to audit log failed 607dfd229 Fix segmentation fault if writing to audit log fails 5342f3616 iis: Uses code 400 instead of 44 in modsecurity.conf a0ed3dbbe Merge pull request #666 from derhansen/master dda91f168 Standalone: independently destroy the connection and request pools 27dd513ab Flip allocations that happen during initialization (typically) over to use non-global apr memory pools. 31d7fc6d3 Code cosmetics: Place copy_rules in nice shape. 62a6f228f Fixes for Parfait errors - mostly unhandled NULL pointer dereference and data type mismatch 5f996d45f Adds regression test to SecRequestBodyLimitAction 498b9b2e7 Don't reject a large request with ProcessPartial set ab9aede2e Update status code for rule 200002 063dd640e Adds internal error messages while parsing the configutarion da2ec008b Fixes a typo on the README.txt 1694a0cf3 Merge branch 'nginx_regression' f043ba33a Adds .a to the list of expected liblua extension 5d2e3d432 test: 10-misc-directives.t is not considering log anymore 8804b55cd test: Makes regression test mac friendly 8314791c9 test: nginx: Adds timeout while listening for a socket. 215042af2 test: nginx: Points the !# to envoriment. d26e63951 test: nginx: Speeds up regression test in nginx. fe14d9df4 nginx: Considering modsec state before apply any rules 9bf1f6a2b test: removes uncessary ifDefine at 10-tfn-cache.t 94097103c test: nginx: Adds missing environment variables. 6c106b1fd test: disabling: SecAuditLogType Concurrent 8e390899e test: nginx: Increses the timeout while reading the audit log. 3cf170179 test: Adds loading tests also to nginx. 795d6a64d nginx: Warn about not workable 'proxy' 7478faa5c test: Adds support to handle different content in log depending on the version 7ac515ee2 nginx: Adds proper support to SecServerSignature 2a4358939 nginx: Removes problematic performance improvement 21e25c50a test: nginx: Adds missing files 176396ddc tests: nginx: Allow POSTs in static files e20c80004 nginx: fix missing headers while SecResponseBodyAccess was On 445783d06 tests: Sleeps over 20 seconds if nginx failed to exit immediately fb4e1f1b6 tests: Adds random data to a post making it workable in nginx 450d621ca tests: adds test-regression-nginx to the makefile 96ad8267e tests: Marks the run-regression-tests-nginx.pl script as executable. 93c5b8c6a Merge branch 'regression' 0ad390d12 Tests: fixes tests/regression/rule/10-xml.t ba0818ca3 tests: cleans up the apache configuration file 6325ed8d4 Tests: fixes regression/misc/10-tfn-cache.t ddb4fceb6 Tests: fixes regression/rule/20-exceptions.t 0c99063aa Tests: fixes regression/rule/00-basics.t 7c9ebfeb2 Tests: fixes regression/action/10-logging.t 11287a6b9 test: fixes regression/misc/00-multipart-parser.t b0025c88f tests: fixes regression/config/10-request-directives.t e5560a6a4 tests: fixes regression/config/10-misc-directives.t 0ddd2b463 Add mod_extract_forwarded.c to run before mod_security2.c b788ce260 Clean the garbage character after the duplicated charset property 74ec78400 libinjection sync 227de9fb8 Reverts commit b1cbccdc6b18a0f3a4edda8a5dfa9f6621485e81 2f5af6af7 Merge tag 'refs/tags/v2.7.7' 87115e770 Adds a default config script to nginx 537b85edf Changes SecUnicodeMapFile in recommend configuration 90a44f688 Updates the changes file c473aabb4 Changes release version to 2.7.7 b1cbccdc6 Added new directive (SecPdfProtectMethod) to enable the user to choose between using token redirection (falling back on forced download in some cases) and forced download (in all cases). 9543e136c Fix typo causing build issues 4a7d439de Merge branch 'release_2_7_6-rc2' 6d3606aad Updates CHANGES files. 1cde4d2dd Organizes all Makefile.am 351b9cc35 nginx: generates config file using configure input. da16d9e5d nginx: adds lua support 5046c8327 iis: Cosmetics fixies on sqli. ae252ee87 Regression tests: makes configuration compatible with 2.2 and 2.4 (try 2) 65d9272fd nginx: Trying apxs and apxs2 while compiling nginx module 35fd75d85 nginx: Trying apxs and apxs2 while compiling nginx module 751a9f4e4 macos: Using glibtoolize instead of libtoolize 6fc4cac37 regression-tests: makes configuration compatible with 2.2 and 2.4 e9813cd0d Regression test: get it working with apache 2.4 7366f35c1 Code cosmetics. 9bf2959c9 iis: Waiting for 5 seconds before move curl directory f70f6f428 Redefines unixd_set_global_mutex_perms on tests cef72855e test: Avoids conflict of fuctions definition cc982ae42 test: Makes the unit tests to work again ad330a44b iis: Avoids directory link while building 69c5ccac6 QA: Avoids the utilization of 3rd filedescriptor baaf50236 Supports WarningCountingShellCommand in cppcheck and vera 388943440 Adds verbose quality check b77e90152 Adds support for coding style and quality check 7b1537058 iis: Using base_rules instead of activated_rules 2ea5a74a7 iis: New improvements on the Wix installer 1a12648c9 iis: Removes the installer helper dependency 550d5aae2 iis: Remove readme.html a2c5fc831 iis: Adds batch script to compile Wix 3604763e1 iis: Adds Wix installer resources a4202146b iis: Fix inet_pton build problem b32cb7d9a iis: Adds Wix installer xml file.c 7e03e3f84 iis: build_modsecurity.bat fixies 947711890 iis: Adds release script 79875b1af iis: fixies the Installer.cpp coding style 91738f93b iis: Removes AppWizard remade file adfbeb85d iss: Removes pre-compiled headers 6adf25667 iis: Moves installer to InstallerHelper 8c3b8d81b iss: Removes fart dependencies 192599bf6 iss: Better err handling in build scripts. e25c6b2e8 iis: Moves build_module.bat to build_modsecurity.bat 9b7663fa7 iis: Fix mlogc build on windows 28bbde1bb iss: Removes Post-Build event. 368617ddb iis: Relative paths on the VS project file cf5de78df iis: Identifies arch before unzip apache 1447766e8 iis: Renamves winbuild to dependencies 9f8cbf6ed iis: Removes unnecessary files from winbuild dir b277e538f iis: Improves the iis build system a946a163f iis: Fixes the vcxproj file 26738d2e3 iis: Removes unecessary files from the build system 0a772cb07 iss: Changes httpd version 2.4.6 3e6fb41d3 iis: Changes the version of the dependencies e3c19d53d Removes standalone/Makefile.in 1734221d9 Fix #154, Uses addn instead of apr_table_setn 61e54f206 Merge pull request #579 from zimmerle/revert_139 7f7d00fa2 Revert "Merge pull request #139 from chaizhenhua/remotes/trunk" b0c397784 Merge pull request #578 from client9/remotes/trunk a5f175d79 libinjection sync 88ebf8a0b Merge pull request #152 from client9/remotes/trunk fcb6dc13e libinjection sync f52242a01 libinjection sync b76e26d81 Merge pull request #148 from zimmerle/bugfix_charset_missing_string_terminator ff19dcd5c Bugfix: missing string terminator while mounting the charset (nginx) 786773189 Merge pull request #147 from zimmerle/fix_nginx_build_config_top_of_trunk 57330da9a nginx: Makes the build script to check for deps 9a630eea2 Merge pull request #141 from client9/remotes/trunk 11217207e libinjection sync f8d441cd2 Fix Chunked string case sensitive issue - CVE-2013-5705 3901128f1 Revert "Fix Chuncked string case sensitive issue" 16a815a3c Fix Chuncked string case sensitive issue 10fd40fb0 Merge pull request #139 from chaizhenhua/remotes/trunk 414033aaf Merge pull request #138 from client9/remotes/trunk e0993fcd7 Fixed fd leackage after reload 2268626c2 libinjection sync 7e0a9ecf7 Fix logical disjunction and conjunction issues 876d4f5f9 Merge pull request #136 from SpiderLabs/remotes/trunk 2c2adc20f Fix IIS Makefile.win typo 370069a08 Update CHANGES 88a9282c6 standalone: fix mutex compilation error with apache 2.4 464ac1eca Fix crash when use SessionID as paramenter in SecHashKey e6f94eac4 Update CHANGES 50f9d0140 Merge pull request #130 from client9/remotes/trunk 8b6efc013 Fix make (rx regex) test cefddebe1 libinjection sync 3f080fa8c Merge pull request #128 from client9/remotes/trunk 15f3a3040 libinjection v3.3.0 sync 65e97684b libinjection v3.2.0 7ca8830a3 Update CHANGES 0fc4142a3 Change strncpy to memcpy f44a535c9 Merge pull request #125 from client9/remotes/trunk a6fd09b69 Fix null byte convertion into utf8toUnicode 229d4e4fe Merge pull request #124 from client9/remotes/trunk 9eca8b5ca v3.1.0 b1f61617b Merge pull request #122 from client9/remotes/trunk 83fdf34dd sync with 3.0.0 tag c07b9a536 libinjection v3.0.0pre21 take 2 4064e74cc Fixed: Libjection 3.0.0 compilation errors 9bf132334 Merge pull request #121 from client9/remotes/trunk bebb45f3b SecUnicodeMapFile now accepts the code page. SecUnicodeCodePage is deprecated 034bf1912 Fix double free 885eeecef Fix outbound size of salt variable b362ab0d9 Fix standalone makefile.am a79e81849 Merge pull request #116 from chaizhenhua/remotes/trunk 4ffdf9bf6 Nginx: Fixed segfaults on reload 9851769ea Fixed: increasing compatibility with older versions of install 5cf5ff043 Fixed: flush libxml2 output buffer df0b04825 Setting crypt outpur buffer as libxml2 output size 9517c3475 Fixed: URL normalization for SecHashEngine 1b3b38e6d Added: Release to 2.7.5 f955ba7e7 Added: severity action now supports strings 5ee4c1786 Fix libjection Makefile 867843c8a Merge pull request #113 from client9/remotes/trunk 69b109594 fix makefiles 4af03f208 Update to libinjection 3.0.0-pre8 760314a1c Fix make test dafd9aeeb Fix make test 0532d20e4 update to 3.0.0-pre2 f003243d9 Merge pull request #106 from client9/remotes/trunk 41111ba47 Merge pull request #110 from SpiderLabs/remotes/trunk 0e269f1b3 Update CHANGES ed24a6176 Merge pull request #108 from SpiderLabs/remotes/trunk 9835a32c3 Merge pull request #107 from gwroblew/remotes/trunk cf9493aaf Fixing build makefile for IIS version. 3a3fda25f libinjection 2.0.0 2cf6cd5af Merge pull request #103 from SpiderLabs/remotes/trunk b9a4322a3 Nginx: set to STABLE 82593f1f2 Merge pull request #99 from SpiderLabs/remotes/trunk 31df14919 Merge pull request #97 from SpiderLabs/remotes/trunk bad458627 Nginx: Try to fix eats 100% cpu in ngx_event_pipe_write_to_downstream issue 400a5f5f5 Nginx: Fix implicit declaration of base64 encode funtion 35b36b703 Nginx: Fix UNIQUE_ID 612637489 Merge pull request #96 from chaizhenhua/remotes/trunk ffbd350d9 Merge pull request #94 from SpiderLabs/remotes/trunk f31724e20 Merge pull request #93 from SpiderLabs/remotes/trunk 1f4757d17 Reverting Quality of Nginx. CPU issue is not fixed fed38c810 Fixed: return msgs at detectSQLi db964c422 Fixed: return msgs at detectSQLi 4bc068e58 Sync to 1.2.0, fix regression in small sqli detection 2585964b6 NGINX set to STABLE b2d76750c Update CHANGES cd31b39ce Removed SecDefineRemoteAddr and fixed Apache 2.4 mod_remoteip integration 06fc5e56c Merge pull request #85 from client9/remotes/trunk d30cf4153 Merge pull request #83 from client9/remotes/trunk ebcfe2c18 Update libinjection to version 1.1.0 1f271fdca Fixed: Rule 200003 returning default status 84d27cca1 Remove unwanted comment 6e038228c Update CHANGES security issues 29ed5c4dc Added: SDBM_DELETE_ERROR variable eb9538457 Fixed: SecPerfRuleTimes storing unwanted rules 86d939fbe MODSEC-362 6cd3a14db MODSEC-362 08471afaf Merge pull request #80 from client9/remotes/trunk 3ca159e7b sync with upstream, fix read-past-end errors 9f36e55ad Merge pull request #78 from client9/remotes/trunk c10551dcf sync with upstream: c89 support, win32 support, more detection, less false postives b6b284ea6 test 9aca58c3d Updated release version aa18ec7f4 Updated copyright dates 72d26e80e Fixed: libinjection for windows 835661964 Fixed: tests for detectSQLi 2c833f1c0 MODSEC-392 c5e460504 Added Libjection tests e97c12f8a Added Libjection 417d7daf2 Added Libjection f10669b34 Merge pull request #72 from chaizhenhua/remotes/trunk fd2c30fa2 Nginx: minor improve 9b13d245e Merge pull request #70 from chaizhenhua/remotes/trunk fdf0ba540 Nginx Improved: set filter_need_in_memory flag so that nginx transfer response in memory, we do not need read from file buffer. 1919c3a44 Merge pull request #67 from chaizhenhua/remotes/trunk 74278a8e9 Nginx Improved response body filter, issue #56 might be fixed 72a3389b6 Merge pull request #65 from chaizhenhua/remotes/trunk e553761ae Nginx Improved: if "SecResponseBodyAccess off" do not copy response body buffer 3da87da15 Fixed: typo 20947937f Merge pull request #61 from chaizhenhua/remotes/trunk ddd6bd2a7 Nginx Improved: modsec terminate handling c30bb6d6d Fixed: SDBM deadlock 3bd497946 Fixed: possible memory leak in rsub 0840b1361 Fixed: chuck null pointer when unknown CT is sent and over in-memory limit d8262fc6c Fixed: standalone Makefile.am c71ef0508 Merge pull request #57 from chaizhenhua/remotes/trunk 5ce1818a9 Nginx Fixed if "master_process off" is set nginx will crash at exit 36c2e1bcc Merge pull request #54 from chaizhenhua/regression-tests a951a83ee Nginx: Improved redirect action work for phases except log e9af8a3ab Added Nginx regression test 088c660d5 Improved build script 04cdca84e Merge pull request #52 from SpiderLabs/remotes/trunk d93be4804 Fixed: Regression tests with no ID present ca78eba85 Fixed: Regression tests with no ID present e8189d97b Merge pull request #50 from chaizhenhua/Bugfix 42e9a5ab2 Nginx: Fixed internal request finalized after rewrite with regex 86871ccab Fixed: Nginx crash in ngx_pool_context.c 9b1d6bfc0 Merge pull request #49 from chaizhenhua/Bugfix 6934acf0e Nginx: Fixed memory leakage a87b06f9f Nginx: Fixed config file a77e5dc0f Merge pull request #48 from gwroblew/remotes/trunk b7d3a084c Fixed config.c to compile on Unix. 22b8e6cfd Fixed: Nginx crash in ngx_pool_context.c 022d5db21 Fixed config and memory leakage a47a4ce4f Fixed two crashing bugs: race condition when module was initialized and failing config commands in libapr. 601d3ed63 Fixed config.c to compile on Unix. 5457ebe0d Nginx: fix makefile 2fcc08952 Nginx: fix makefile 5303c003b Update master to 2.7.3 3ff17fcd1 Update CHANGES f73635ab5 Merge pull request #45 from gwroblew/remotes/trunk bc235a855 Merge pull request #44 from chaizhenhua/SecDisableBackendCompression 177b5b9c9 Nginx: Added SecDisableBackendCompression support Nginx: Added internel redirected request processing 55850a9c8 Update CHANGES a5c149204 [MODSEC-386] Added error msg for update target by id function 43162f52c Fixed: Nginx return 500 when request body is off df383b9b8 Better error messages for sdbm code d4d80b38a Added SecXmlExternalEntity 4db1f51f3 Added MULTIPART_NAME and MULTIPART_FILENAME variables bc65c3e40 MODSEC-58 5fefb6a2c MODSEC-58 2472dcb54 Change release version 25c4146eb Merge pull request #39 from gwroblew/remotes/trunk 1ead2f631 Removing OWASP CRS copy. c1ba71ab1 Fixed files overwriting in installer; added OWASP CRS. 9725e71f0 ModSecurity: improving duplicate ID search 8816254cc ModSecurity: fixed compiling with lua 5.2 f9b113b86 Nginx: fixed compiling with lua 4a8e536b0 Nginx: fixed SecRequestBodyAccess 154e80750 Nginx: fixed crash in pcre 34d5289e7 Merge pull request #36 from chaizhenhua/remotes/trunk 1a89b6b8a Fixed deny not work in response phase, Fixed debug log message 65d889664 Fixed Action Deny not Work ed1d3d927 Fixed Action Drop not work eabc39ad8 Added SecCookieV0Separator b3418be75 Merge pull request #35 from chaizhenhua/remotes/trunk ae0bee062 Merge pull request #34 from chaizhenhua/remotes/trunk 972d9e2ab Added Response Phase for Nginx 48bd09939 dos2unix standalone/api.c df7cafe85 Merge pull request #33 from gwroblew/remotes/trunk 635a57389 New IIS installer project files. 406d48200 Fix issue in ipmatchf 067e7d197 Fix issue in ipmatchf ff335fddc Update CHANGES 8148a8071 Update CHANGES 49c505156 Merging 2.7.2 into master adb38adc7 IIS version as stable e15bbac21 Merge pull request #31 from gwroblew/remotes/trunk c53e743c8 IIS version improvements 54245c924 Merge pull request #27 from chaizhenhua/read_client_request_body 0566d652c Fixed hang up when post multiple request 22b8293fd Fixed content length error 275cb28a0 Added 'ngx_modsecurity_write_body_cb' so that NGINX can deal with STREAM_INPUT_BODY 604643c4b change CRLF to LF d5a6df167 promote modsecurity_handler from CONTENT_PHASE to PREACCESS_PHASE, so that we can process and pass request to backend without internal redirect. fc7b3ef22 Fixed valgrind complain 213cd1e84 Fixed: detect comma plus white space as a cookie separator - change variable names 80146b2c7 Fixed: detect comma plus white space as a cookie separator 86e045572 Fixed compile error 48030ca05 Merge pull request #22 from chaizhenhua/read_client_request_body 82d44071d Fixed 'request body is larger ...' error 231921ce2 Revert "Fixed request body is larger" ee47cccb6 Fixed request body is larger 3f6c14de5 Fixed msc_test crash using pcre jit in some platforms f6bf1a2b9 Fixed compat issue with automake >= 1.12 973bfae33 Fixed compat lua_load() with lua 5.2.x 21b877048 Added dirs to build nginx on Fedora 344ec7dfa Added cleanup handler for finalize request 5f97bec8d read client body in a better manner 77ccd0b7b Fixed: ngx_http_read_client_request_body returned unexpected buffer type cc6e8532f Merge pull request #18 from chaizhenhua/remotes/trunk 6815d1769 Added drop action for nginx f920303e8 Fixed change from double to single quotes in find_pcre.m4 7ed0c305f Fixed MODSEC-364 18e0c45e3 Fixed MODSEC-360 adca6e4b2 Merge pull request #13 from hideaki/cpf_verify_fix c98da92cf fixed bugs in cpf_verify fc45a3fe3 Fixed compilation issue under Windows when APR ipv6 is disabled bd3cb0c72 MODSEC-359 4564c6548 MODSEC-359 5c6bdb90f change msc_release.h to 2.7.2 c4e9dbaed added APR_HAVE_ARPA_INET_H pre-compile macro ac4815f49 modsecurity_config.h was empty breaking SecUploadModeFile directive 2f7a1ac0e Merge pull request #12 from gwroblew/remotes/trunk 0e2b07b00 Fixed \ handling in Include command on Windows. a4c75689f remotestrunk 0265607df Merge pull request #11 from gwroblew/remotes/trunk bfdb28e2a Fix for broken logging of IP client address in some cases. 42aa05408 remotestrunk c2c491861 fix for issues in ssn_verify such as infinite loop. 91e5f85cc fix for issues in ssn_verify such as infinite loop. bd3d07024 Merge pull request #10 from hideaki/verifyssn_infinite_loop 7beb244df fix for issues in ssn_verify such as infinite loop. 00b22f0c5 Fixed NGINX compilation issues d7280c61f Fixed NGINX compilation issues 8560642b9 Update CHANGES 19d71f794 Update CHANGES 179b53661 Fixed crash with invalid commands and marked IIS server as non-virtua… … d1c002d6c handle invalid escape sequence passed to strmatch operator dc8d464e9 Merge pull request #9 from gwroblew/remotes/trunk b31f83b29 Merge pull request #8 from hideaki/strmatch_coredump 74b8daaad Fixed crash with invalid commands and marked IIS server as non-virtual, so many commands would work (like SecDataDir). 9e6dddff8 handle invalid escape sequence passed to strmatch operator 2b1c1ad74 Merge pull request #7 from gwroblew/remotes/trunk f14eaeb3d Fixed build on Apache 2.4. ee1112530 Merge pull request #6 from gwroblew/remotes/trunk 2336cf929 Minor changes to IIS module. b353bd60a Fixed build on Apache 2.4. 267bfe6ca Minor changes to IIS module 408f37015 Fixed byte conversion issue during logging under zlinux ce3cf00a2 Fixed byte conversion issue during logging under zlinux f22bca10f Fix error_message type 6d9327f4a Fix error_message type a01b85b89 Update CHANGES and doc/ 9027fbbfd Update CHANGES and doc/ 428cbcb6b Change names of HMAC feature to HASH eb41bd44f Change names of HMAC feature to HASH 451041cd8 Change names of HMAC feature to HASH 208d9d3a9 Change names of HMAC feature to HASH 5f98d8008 Change names of HMAC feature to HASH 0757a9f87 Added -R option to libtool with pcre lib path a528e1c92 Added -R option to libtool with pcre lib path 53d422e9d Change names of HMAC feature to HASH 3bca8d41f Change names of HMAC feature to HASH af22ddf87 Merge pull request #3 from bnordgren/install f23dbcba7 Merge pull request #2 from alanjumpi/remotes/trunk 606cd72f9 Fixed small bug in install phase, where mod_security2.so ignores $DESTDIR 18c42d513 TODO updated 76fc19401 Merging with master 3ef77de11 Merging to release 2.7.1 f4fe08f7e Update CHANGES 18429396a Fixed bug when used ctl:ruleRemoveByTag b58598988 Update CRS info into README.txt 05e3a1798 Update CRS info into README.txt 95211c820 Update CHANGES c0c722ccb Update CHANGES 52a535cca Update CHANGES 9fe676406 Update CHANGES afea6dbe6 Fixed drop action was disabled by mistake for apache2 a3a39a21d Update CHANGES 14eff8470 Update CHANGES d4bd47893 Update CHANGES 3ab2289ec Fixed drop action was disabled by mistake for apache2 4346e54a1 Update CHANGES 9f4bd2188 Update CHANGES 2403a1a54 Fix some strange breakline situation in apache24 612d9e473 Fix some strange breakline situation in apache24 b64185024 Update msc_release.h ed74a60bf Update msc_release.h df58972ab Update documentation bfab0397f Update documentation a27e3a901 Removed prng() function and added apr_generate_random_bytes 6bc9ae2c4 Removed prng() function and added apr_generate_random_bytes 8aa17b546 Removed prng() function and added apr_generate_random_bytes 6f13bd11f Removed prng() function and added apr_generate_random_bytes ee31c5ba9 Fix LibXml2.9.0 issue d3164f8db Fix LibXml2.9.0 issue a9266d4ca Updated getkey function 75a5e1d3f Updated getkey function 75a7cfb1b Update msc_release.h 190afbfc3 Update msc_release.h 79423f9cf Minor fix, two functions name change. 72b079139 Minor fix, two functions name change. 7dea71bd7 Update Reference Manual 53cdabdf8 Update Reference Manual 87c47a882 Fix rule 200002 6e107a8b1 Fix rule 200002 30526c6e4 Update CHANGES and msc_release.h 8fd1c0f76 Update CHANGES and msc_release.h ef3fa0b1f Added MULTIPART_INVALID_PART flag 6335e5426 Added MULTIPART_INVALID_PART flag af537253d Merging rev 2079 with the branch 2.7.x 6900616fa Standalone: added Include command IIS: added locking, response processing check, fixed file chunk reading bugs d7b9ad862 Update Reference Manual and CHANGES f00cb1a4e Update Reference Manual and CHANGES 513dba260 MODSEC-337 060cf0ab3 MODSEC-337 80abe0fdf MODSEC-226 0e85d9f75 MODSEC-226 7de3f1e50 MODSEC-297 735510071 MODSEC-297 e6afef5c1 MODSEC-297 5c5107a86 MODSEC-297 88513bd28 MODSEC-336 2d519ff85 MODSEC-336 10e2eec5b MODSEC-336 0d2307192 MODSEC-336 9661ac4de MODSEC-261 dc8352852 MODSEC-261 724060a29 Reverted SecCookiev0Separator 919e3f5e2 Reverted SecCookiev0Separator 4c7ab5974 MODSEC-261 aee22ea46 MODSEC-261 73e87c035 module bugfixes (kyprizel) 031080c72 Added unicode mapping directives to recommended file 0499f1444 Added unicode mapping directives to recommended file 20cd5d069 Added unicode mapping directives to recommended file 57b80fedc Added unicode mapping directives to recommended file 081a0af6e Update to release 2.6.8 a9ab4632f Update to release 2.6.8 100168260 Fix MODSEC-315 18f98e755 Fix MODSEC-315 6059fc144 Fix MODSEC-333 e821aaf04 Fix MODSEC-333 db73e14ed branch 2.7.x 09450c266 branch 2.7.x 35a9a6c3e Changes from kyprizel (Eldar Zaitov) ecb39070e branch 2.7.x 22b1e2fb1 Fix typo 203e34651 update msc_release.h 8dc9ae913 Added client IP passing to IIS and two missing IIS installer files. e4d2dabe0 Improved IIS build process and more fixes to handle Apache 2.4. a63008b16 Changes from kyprizel. 3425aa9b4 Fixing Apache 2.2 build. 040d4469d Enable warning message with over SecRequestBodyNoFilesLimit d5ccfbafc Fix compilation issues in server.c 092559a58 Added missing functions to make non-Apache versions compile with Apache 2.4. 9eaa6a9a4 Update CHANGES dc4ec2df4 Fixed format string issue in ngx_log_error 7ea0e1223 Libxml2 must be at least 2.6.29 for 2.7.0 eeb331ca4 Added utf8toUnicode tfn - fix typo 781a506bc Added utf8toUnicode tfn 499819e23 standalone module enabled by --enable-standalone-module configure option 1e7fd3e5f for build standalone infrastructure necessary for IIS/NGINX 7b014be28 Update CHANGES 1d36512c0 Standalone module shouldnt be default d36120b41 Fix compilation issues in server.c and config.c ada16d3e9 Fix compilation issues in server.c. Looks like unixd_config is different in apache major and minor versions 054e015de Fix compilation issues in api.c c9202a44b Update license 1df668c94 Remove CRLF from Makefile.am 2dbe4ab4f Second part of IIS/nginx merge into M2 trunk. f3e31c75a Merging IIS and nginx code into M2 trunk. 7f33b00f7 Fixed some dereferenced pointers 8d5131a18 Fixed some dereferenced pointers c09d6e57d Fixed some dereferenced 221aba605 Fixed some dereferenced d267142bb Fixed check if s->name & value is NULL fc8edbb46 Fixed check if s->name & value is NULL a95f337ed Fixed check if ip_strv is NULL 7385b120a Fixed check if ip_strv is NULL 928ae2a22 Fixed unused error_msg in msc_crypt c24eaec77 Fixed unused error_msg in msc_crypt 9d19e7b06 Make internal m_strcasestr default 8cec8c7e6 Make internal m_strcasestr default a4c68c863 Revert configure.ac. Waiting for the merge bc5930086 Add license to standalone/ 22b763257 Fixing missing code between branches 429ba6ac4 Fixing missing code between branches 76925c6e7 Update CHANGES f624802d3 Update CHANGES bdcecf50f MODSEC-328 ecc2ee8fd MODSEC-328 bf5cd6211 MODSEC-326 eb7a9ed7a MODSEC-326 e8bd4c05f Revert pcre message warning mismatch 16376f075 Revert pcre message warning mismatch 4460061d2 Fix return msgs c4b12060c Fix return msgs 5f6985183 Init variables fdee16ddd Init variables 592ec392d Remove ctl:ruleUpdateTarget* and add ctl:ruleRemovetarget* 890a1cfb7 Remove ctl:ruleUpdateTarget* and add ctl:ruleRemovetarget* 543a7db8a Check for strcasestr 6b943dbb2 Check for strcasestr 1e8259b4a Avoid double close() for multipart file descriptors 912606fc3 Avoid double close() for multipart file descriptors 1c3efe02f Update Reference Manual 60960a1f0 Update Reference Manual 71c1e7813 Fix replacing targets 67cf78cd4 Fix replacing targets f4d446574 Fix pcre version mismatch warning d5866ff3e Fix pcre version mismatch warning 3a05349e0 Fix setting key len for child conf 2e055003c Fix setting key len for child conf 21e21b23a Release 2.7.0-rc2 9c73ad68e Release 2.7.0-rc2 245f6dc61 Release 2.7.0-rc2 ef64c7070 Release 2.7.0-rc2 c22376aa5 Fix warnings 027ae6eea Fix warnings f896591fc Fix warnings 3bb931e18 Fix warnings 89fb40248 change release to 2.7.0-rc2 21be05c7f change release to 2.7.0-rc2 2791e7766 Fix code for windows 81b74ba63 Fix code for windows 5b46e6c61 Fix code for windows 35d97d586 Fix code for windows 6223499dd Update CHANGES e2d0715c1 Update CHANGES ad059c9e6 Add inet_pton for windows de56a8bcf Add inet_pton for windows ead368268 Add inet_pton for windows 780db2039 Add inet_pton for windows ab4d5acce Fix windows error compilation 22e20c699 Fix windows error compilation 88331d122 Fix windows error compilation 04fa8bbd0 Fix windows error compilation 8bf46a3d8 Fix PRNG code and windows compilation errors 4ab785c19 Fix PRNG code and windows compilation errors a958dfd49 Fix PRNG code 575356f10 Fix PRNG code d20354917 Improve random number generator 4ef3cc8eb Improve random number generator 3caaf60fa Improve random number generator f72ba4d36 Improve random number generator 517abc595 Improve random number generator 39fcad456 Improve random number generator 0ed1a1b8b Fix loop into getkey 563017fce Fix loop into getkey 51067c23d update CHANGES 24b5c96c2 update CHANGES 9d2b4568f 2.7.x 56a396519 backport HURD and KfreeBSD build support c5cc0bfa9 Update CHANGES 28621131a Update Reference manual e584123ab Fix quote validation in multipart code 988e78e9a Fix quote validation in multipart code 8ead49a9b Added id to recommended file rules b6414bbdf Update reference manual f16240985 Added null pointer check 3457fcbd5 Added support to KfreeBSD and HURD d88a24da1 fix rsub input parsing and add maturity, ver and accuracy actions 480af9375 update CHANGES 14156d831 Add ipmatchFromfile d3ad05e9c MODSEC-312 4ed9015ea README.txt c19269dc4 Update mlogc code f0fab2a80 Fix apache 2.4 compilation issue during make test 4888769e7 Update trunk for 2.7 866cb6d6b Update trunk for 2.7 4bebeb6dd Revert any lua change 24ac0c4a9 Fix typo in CHANGES 864212074 Code cleanups 5b82006fe Code cleanup 25d1816c2 MODSEC-282 9948c424a Fix typo 2be4d8b02 Fix new apache api 2046a43bf Fixed AP_SERVER_MINOR instead of AP_SERVER_MAJOR e1e43cfa1 Fixed new apache API 2e00ae0f4 Fixed new apache API 992d075d8 Update doc/ 7d327e8df Update lastest Apache API 76e909c5a Rename collection timeout diretive 6cf207ce3 update CHANGES f92f8219d fix stream vars memory leak 1daafed72 fix arg name with double dot in SecUpdateTargetById f47fb8ebf Dont create new lua vms 3090edd85 sqlHexDecode fully hex decode 9cbc44eea Fix PCRE jit issue when not enable jit in configure c48d84313 Enable default configure options 3cb5edde2 Add extra debug info for pcre jit 1c0ed192d Add pcre JIT support - experimental 2a585fba8 Check for X in uppercase into sqlHexDecode 162f219f1 MODSEC-273 16ae74172 Fix issue in sqlhexdecode f6e53252b add collection timeout in the trunk c3b0cfc35 add sqlHexDecode tfn 150bc418d Fix issue in sqlHexDecode d4079971c MODSEC-160 1bf5f4532 MODSEC-272 82dfd037c MODSEC-272 c99d14797 MODSEC-270 a4f0957b0 Revert hexDecode and add new sqlHexDecode 5d0e3f910 change release version, doc, CHANGES a16c002f3 Fix make test ce0f5522b force pointers to null after free() ea09d6848 fix free() typo a2b45bfeb update CHANGES 3ec3d652a fix multiple variables when appending new targets 31183499e MODSEC-254 b0e9468d6 MODSEC-249 d43c7e0bf MODSEC-132 8a5a53431 MODSEC-258 0ae09036b MODSEC-255 5cacf63b3 MODSEC-142 77c4c70f5 Fix windows makefile 9f526bbea Fixes on autogen.sh 8ed0c1051 Fix build system with PCRE_ vars 78880129b Fix urbl whitelist msg 1cc9ac781 Update CHANGES 3517f8659 update manual cf7eecbe8 update msc_release 6c89afcf7 MODSEC-211 6c71b2698 [Reverted] Check POST request for SecWriteStateLimit 644d0b58f Check POST request for SecWriteStateLimit 152164b77 CHANGES de02ea5e4 Add new unicode map settings and fix requet body truncate bug b2a486e4b Only reinject stream if data is changed by rsub ad168c801 Only reinject stream if data is changed by rsub 3d69126de Build and code fixes d0da1372f Build and code fixes 06dd5907b Build and code fixes dc41b967b Fixed building with LUA c41c3cee2 Fixed building with LUA 9623fbd5b Cleanup unicode map file f59591910 Implement unicode map 646564cd4 Renaming GSB functions c8d292105 Renaming GSB functions 9ece2422c Remove unused geo code 1341c4983 Remove log part K from default configuration edf039b8a Fix MODSEC-245 6d7781754 Fix MODSEC-247 0cf21202e Update CHANGES - fix Marc name d84face22 Update CHANGES e1025d0f0 Change apr version macro by apache one de463a85c Fixed matched_var bug 3e0acbe16 Fixed matched_var bug 50293aef9 Add domain to tx.1 whe gsblookup matchs 5eaa1a734 Added SecWriteStateLimit for slow post DoS c78903e98 Fix problem when buffering in input filter 241f222a1 Wrong lenght information in input filter when forward stream variable 1bfbe0c14 Fix issue counting requet body len aa3fa1450 Fix issue in MATCHED_VARS_NAMES 21c81331c Uncomment input stream 352fc200b Remove extra useless files b3b68d1e3 Edit CHANGES 21dcfde3c Remove unused defines b19f32bb3 Make clean and maintainer-clean removes unused files, also add # when rule chain doenst match d4d349753 clean stream buffer 0ee85b348 clean stream buffer 0cc30904b Fix issue in input stream 1aa4cace6 Fix compiler warnings f468224a4 Change log_escape_nq to log_escape 6b7edc4d4 Fixes, code cleanups, improvements 0b3ed4181 Avoid *FLAGS resetting - Diego Elio 162e0ff81 Remove unused localtime function 123018cfc Rewriting parser for gsblookup ab339c7b1 Rewriting parser for gsblookup 8c8c583de Rewriting parser for gsblookup 5328bcdea Rewriting parser for gsblookup 3ed70ea17 Rewriting parser for gsblookup 0eb1f68da Improvements on gsblookup - reduce multiple slashes ab8c7e6f4 Improvements on gsblookup cf97731cc Fix logging MATCHED_VARS issue 352514f7d Fix comment to reflext the base64DecodeExt change 808a7bbc1 Add support to AIX and HPUX build (untested) 4ae9a91d7 Only change stream var->value if we have the realloced buffer c1d3fd636 Applied patches from Diego 9fb9aeb6a Detele useless files 15338bbf9 Rename DecodeBase64Ext to base64DecodeExt 7493f01ef Delete useless files 0e4f88630 Delete useless files f3f7d6488 Delete useless files ef56f47b4 delete useless files 748aea7b6 delete useless files c4f3d121f Fix without-lua into trunk - Diego Elio 43e3ea65b update recommended configuration ec29fb539 update release trunk for 2.7.x a21e03eaf Update CHANGES and Reference Manual d68731a38 APR-Ipmatch operator 4c6419cf7 Remove extra debug msg for log section K 9cd2efd97 Added extra debug msg for log section K 025d41f71 Added extra debug msg for log section K 5bfb2973e Change rule comparing to log section K 502e97642 Author at README_WINDOWS ba651304d Fix make test 6ea5cba17 Move version() to mod_security2 57140c25f MODSEC-37 30da07b59 MODSEC-37 f64b5544a Move version() to mod_security2 371df205d Change license on msc_test 9ca34a322 Change apr_cpystr to strncpy 6047658d0 Cleaning stream out buf d98231e11 Cleaning stream out buf eec65ea29 Include sucess msg in ipmatch 775f10598 MODSEC-221 843f7fc01 Test makefile 7635bd5f1 Improvements in detection only a9557a66c Add more char to escape in log_escape_re 34d2f43a1 fixes for solaris compilation 4643799ba fixes for solaris compilation d878fce0c fixes for solaris compilation 3b4c46f27 Improvements in detection only 9c5e0a4f9 Improvements in detection only b8828ad3f Improvements in detection only 13980bd04 Improvements in detection only ae006f7a8 Improvements in detection only cb3353f13 Improvements in detection only 3377831b3 Improvements in detection only 50205ebf6 Improvements in detection only 0f5b0debe Print when request is blocked when it is larger than the configuration 6e3bb889c Print when request is blocked when it is larger than the configuration 1e2f836b3 Print when request is blocked when it is larger than the configuration ed06ed2ae Fix issue in detection only 2a8c8a747 force process partial when use ctl to detectiononly ed4e98c64 Fix issue on solaris a75f2c0c6 Testing new approach to tag macro expansion b64d28eb5 Testing new approach to tag macro expansion 6b7c138a9 Testing new approach to tag macro expansion f524cfee4 Testing new approach to tag macro expansion 6d3b3802d return value to unique_id 41f338a4d Include arpa/inet.h to *nix 97bc9b056 Fix typo issue cd41e9327 Fix typo issue b2140ab72 include msc_gsb.h into re_operators.c 6703a7df0 include msc_util.h into re_operators.c 9ed1200c1 Fix ipmatch issues 0d32c17c3 Memory pool fixes and code cleanup 82a9652ae Tag test 093cb2495 Tag test 6031e7fda Improvements, bug fixes and cleanup from Tom Donavan f0d6a06a9 Fix ipv6 bug to solaris 463b0df78 MODSEC-219 5d540e059 MODSEC-219 5e480d85a Fix bug in pmf b7a926c20 Fix bug in pmf 9ddad65f0 Rsub escaping 4aba02a10 rbl improvements 2ff42243f Add escape option to rsub and rbl improvements d69634166 ErrorDocuments and internal redirect hook is available for testing 53b0276b0 set base url to tx when canon #2 a99ca02d9 change return code at rsub 8642c0134 gsb now saves the base url in tx.1 when match a full url 0c8161081 add util remove escape function and apply it for gsb c43867d64 change remove_escape function name a9e010084 update license text b3243374f New doc 104f0de46 New License 1a2d377e3 MODSEC-178 a5ddb8189 Remove extra debug msgs a2f01d31a Experimental reallocation memory for rsub 3c5eae03b fix free function because of double free 117cc1352 revert free operation c0a097304 Remove free function because of double free ede971a9e Fix unknown error msg on rsub b5607ea87 Fix memory leak rsub 21e422318 Fix ipmatch c2504b100 Fix rsub 49732256f Improvements, fixes and new features 4f1ab2f71 Allow replace with substrings a6c240537 Adjust gsb error msg 7bd27c400 Gsb matched urls set into tx variable a13887065 Gsb matched urls set into tx variable 9380fdbdd Rename gsb db directive 69551d2d0 Add Google safe browsing lookup caa6d89f8 revert MODSEC-171 c04a4edb4 MODSEC-144 8b52a7d1e MODSEC-173 fa8c45e7c MODSEC-171 d0c2a5d34 Add verifyCPF 5464f300e Renaming opt and args of SecRequestProcessPartial(on,off) to SecRequestBodyLimitAction(ProcessPartial,Reject) 98e6a1c28 Cleanup ipmatch function 74666fe2c MODSEC-181 c4100a184 rename Stream options to SecStream e267c6ffe MODSEC-204 8cbcf7898 Add initial plataform check code into autotools 7235a14b3 Add initial plataform check code into autotools 7f838acdf Ipmatch now is not supported under windows 3f1d91183 Make ipv6 portable 8b907225e Make ipv6 portable d170dd4eb MODSEC-57 e0a49f0b0 Change ipmatch to msre_ipmatch 025ca49cc Change ipmatch to ipMatch f536ba11a Ipmatch mistake d4d97505d Under CentOS inet_pton return invalid address for valid ip6, remove the return code for now cd31e80b8 Cleanup ipmatch 3c53fe5be Add ifdef when print lua version 882e537c9 MODSEC-140 7f52d86e4 Include data edition, sanitizematched and few fixes 37e8cba18 change old lookup algorithm 8e9582bed MODSEC-196 d0e2546f9 MODSEC-21 fdded3383 MODSEC-60 8907f66f3 MODSEC-127 5040c5568 MODSEC-70 change loglevel to 3 86cc9d6e3 Request process partial under detectiononly 1260d2b09 MODSEC-104 56fc2ea71 MODSEC-148 fix issues c8033a59f MODSEC-148 60a1725d0 MODSEC-12 52c33e7c5 MODEC-105 549f05948 move 2.5.13 into trunk df61af462 add breno user to authors file d3293916e Change scope of state var so multiMatch works once again. 68f79e7f0 Add the git-svn authors mapping file. 78dfd8d82 Add the example lua script to doc dir. 3a10f9fb8 Fix autoconf header and include path so trunk builds. 7aa83b5c9 Change copyright date on alp2 files. 86e9b42db Added alp2 as a build option. b186e7349 Add some missing files. ea34defc0 Added mod_remoteip.c to to postread_beforeme_list (MODSEC-158). c7c65f9dd Change default install prefix to /usr/local/modsecurity. 058283fb5 Add the ability to build custom request body parser extensions. Add an example for a request body parser extension. f7f305991 Add license headers to extension examples. 8553cab4a Moved api examples to "ext" dir and hooked them into autotools for building with "--enable-extentions". Upgraded to autoconf 2.65. cea87f408 Fixed test/test-gregression build targets. 42b981319 Update doc for new build system. eb6b9274a Redo build system to properly use autotools and avoid compilation with apxs util. 972e46825 Add an option to grab the latest release candidate or stable which is intended to be used on dev servers to stage production. 98982e296 Added the SecDisableBackendCompression directive b784acd31 Merged in 2.5.x changes into trunk. f925a978a Update CHANGES b48fdddf4 Merged changes from 2.5.x to trunk. 6f548e91f Fixed bad merge in CHANGES. 08edc0c26 Merge 2.5.x (2.5.12) changes into trunk. ed11e27e0 Moving performance logging from level 3 to level 4 to prevent it from polluting the error log e0f160840 Move writing to collections and GC earlier so that the results can be logged. 0ecfe86c3 Add PERF_GC. 5448b3fc2 Log the duration of garbage collection at level 3. 5c4733f1a Add REQUEST_BODY_LENGTH. b8837bbfb Change the format string from m (already taken) to M. 4cd09b9da Revert unneeded changes in r1459. c24e61ac8 Added missing conditional debug logging. 9bd9f3359 Run phase 5 prior to mod_log_config. Now for real. 86407062e Do not use 'total' to refer to PERF_COMBINED in the logs. Use 'combined' instead.' 221af6f5c Add PERF_ALL, sepearate PERF_STORAGE into PERF_SREAD and PERF_SWRITE. bc35ab7e0 Implement variables for access to performance measurements. a4d5d50be Integrate with mod_log_config (MODSEC-108). 7b56982f2 Implemented a new time-measuring mechanism. Added Stopwatch2. d25937333 Add DURATION. 51e7bfcc0 Document phase 5 changes in CHANGES f740b4f22 Run phase 5 prior to mod_log_config. ce106df27 Generate error messages when registration fails. Change all examples to use modsecurity.h to avoid the duplication of the optional function declarations. c60ab6bfd Merged changes from 2.5.x into trunk. c341899b4 Merge in changes from 2.5.x. ea4b75d8b Document changes d1c38bf02 Change SECACTION_TARGETS and SECMARKET_TARGETS to REMOTE_ADDR 6d5e752cb Added URLENCODED_ERROR, which is raised when invalid URL encoding is encountered 62f7e6823 Update CHANGES retroactively 6a2930820 Remove one missed reference to the PDF UXSS filter aa3b20ecc Optimise the unsetting of the previous data capture variables 23c3237d1 Added missing log level checks before logging. 7916942fe Remove unused variable 76583d80f Added the missing log messages for the ctl action; optimised the existing log messages (MODSEC-99). 839b7f81e Removed the obsolete PDF UXSS functionality (MODSEC-96). 853b1f9fc Convert 'normalise' into 'normalize' throughout, but support the previous version for backward compatibility (MODSEC-103) 1fb6f974d Update the documentation referring to phase processing cb8b76f4e Process phase 1 in the same Apache hook as phase 2 (MODSEC-98) 3b1298968 Merge 2.5.x changes into trunk. b01f8190e Merged 2.5.x changes for 2.5.11 into trunk. 8fe278e84 Change 'sanitise' to 'sanitize' everywhere, preserving the 'sanitise' action variants for backward compatibility. 6d83f91b2 More updates to build, removing Apache based build files. 9a526c090 Merge in 2.5.x build changes into trunk. 55f54e17e Merge 2.5.x changes into trunk. a1a67592f Do not log debugging message as a warning (MODSEC-91) 21ecf99da Merge 2.5.x changes into trunk. aa1e05302 Fix typo 91b215562 Merge 2.5.x doc changes into trunk. 826124b37 Merge 2.5.x changes to trunk. 7379a4fb3 Merge 2.5.x changes into trunk. 155608be3 Really remove the rules dir this time (not just contents). 67f7f9377 Merge changes from 2.5.x, removing rules dir to its own structure. 6adc53fd4 Merge 2.5.x changes to trunk. 73fb8eae5 Merge latest 2.5.x changes to trunk. 08e651a1c Merge in some doc typos from 2.5 branch (MODSEC-77). 05bd24334 Merge 2.5.x changes into trunk. e5becf840 Merge 2.5.x changes to trunk. 12b9bcd33 Merge 2.5.x changes into trunk. ffc5d968e Merge 2.5.x changes into trunk. 944a08822 Merged 2.5.x changes back to trunk. 31ddf4c86 Merge 2.5.x changes into trunk. a16eb9677 Merge 2.5.x changes into trunk. 9d26b16e2 Merge 2.5.x changes into trunk. 48981bb7c Merge in changes from 2.5.x branch. 5fcca65fc Merge 2.5.x build changes back to trunk. 84099df54 Metadata. 25a394452 Cleanup docs. e30176125 Merge in 2.5 doc changes. Cleanup doc formatting. f905bf083 Cleanup the API examples and add more docs. dc0a2161a Merge 2.5.9 changes into trunk. fa96c349e Merge 2.5 changes. a06d8f8ce Fixed strict compiler warnings for mlogc. Updated mlogc copyright year. bef5c53c0 Removed "make -C ..." in favor of a more portable method. Added verbose output option to configure. 4f3c9d991 Small clarifications. 9c3c0d8c8 Update the reference manual to refer to the new data formats documentation. fd5cf18ca Add the data formats documentation. facacae23 Fix a typo in the SecRuleInheritance example. c012db7e6 Make a note of configure options that can affect performance (MODSEC-28). 4a336dadf Removed an invalid "Internal error" message forcing auditing of a request (MODSEC-29). Cleaned up error messages prior to using send_error_bucket(). c3c822ea0 Revert r1205 as it was fixed in mod_jk upstream. becf69403 Updated REQUEST_BODY documentation. 7b0e71f92 CHANGES text describing when REQUEST_BODY is populated was not accurate. 3848ff5b3 Worked around mod_jk issue where a 401 response was not including the WWW-Authentication header (MODSEC-16). 67c48bfdf Added ability to use ctl:requestBodyAccess=off in phase:1 to avoid limit check. Added regression tests for this as well. c5e258f0b Added additional check for XML well formed. b2c7424a9 Added a comment. 309510d70 Change from ctl:requestBodyBuffering to ctl:forceRequestBodyVariable. 5740f7a3e Tidy up. 2ee69ce46 Document css_inplace_decode(). 2f7ff8f7a Tidy up. ec49ce05c Updated docs to point out some features are not available on all OSes. MODSEC-9 ac767de86 Typo in SecRuleUpdateActionById example. f20059b00 Make sure we fail to validate DTD/schema after a parsing error. Fixes MODSEC-5. f5af5ef42 Remove declaration of an unused variable. 34798e9ab Allow ability to force request body buffering to memory. Fixes MODSEC-2. 139d651bb Updated the CHANGES. deb6a816b Fixed MODSEC-2 by using the msr->hostname (ap_get_server_name(r)) vs r->hostname in the log. 20cc39551 Added mlogc source. 2818e66a9 Tidy up the code for the performance-measurement mode. Remove the per-phase measurements, which don't seem to work (at least not in my case). acec75be4 Make PERFORMANCE_MEASUREMENT more accurate by removing stray msr_log() invocation. Clean the code a bit. 9997cee04 Clarified that SecMarker IDs are the same thing as rule IDs. 1b977e610 Clarifications in response to comments from Kiyohiko Kajihara. a686b0633 Update configure to better find lua libs. ab5cd9261 Update a regression test due to changed error message. 7eef5ce7a Update test stup with new msr_log_* wrappers. d419a2168 Update CHANGES. Sync up docs. 225339525 Allow disabling processing of request body size limit in phase 1. See #518. 5298e2954 Added XML warn/error output to debug log. See #519. 458fe8423 Add parity transformations. See #516. 94370b2c7 Update default action in unit test stub. bb2e4b9a3 Fix cssDecode. See #512. 5f648db89 Updated regression suite to use full path to LoadModule. 10713fbd3 Sync up branches/2.5.x and trunk. 9c6b26744 Change licence file to Unix format. a05445e33 Tidy up whitespace. More characters in the commit messages than in the change itself! Way, way, more. This is what happens when you work too much. 924ce68c5 Update readme to point to new exception filename. 7899b5c6e Update licensing. 6a33fedc8 Regression suite cleanup merged from 2.5.x. 478389d5a Added regression tests for ctl:ruleRemoveById and disruptive actions in DetectionOnly mode. ae40b8c21 Implemented cssDecode. e6e06bff7 Update trunk CHANGES with 2.5.5 release. 200d9e5fe Firewalls not fireballs ;) 326208d02 Newer apaches default to text/plain instead of null. Make matching files a bit more robust. 21f305095 Fixed warning for mixed CRLF/LF lines and LF lines in changeset:1070. See #504. f072738c8 Remove an extraneous debug statement and update version date. 0b1e2d674 Fix a minor typo in a comment. d9ba0e98b Fixed a typo from changeset:1072. See #498. 493e71a9e Tweak some regression tests. e1e200c00 Disabled phase 5 after interception by mistake. Fixed c3fd0231d Prevent phases from being processed more than once. b2119411d Minor code cleanup. 81d98de28 Log strict multipart errors at level 4. 83ff6c479 Re-enable error output filter with a fix after more testing/tracing of code. See #498. Update versions to ready for release of 2.5.5. 230837d4a Update/reorg some regression tests. 16acbe494 Fixed issue where logging was not occuring unless "auditlog" was enabled. See #497, #4, #451 and #445. f2449c6f3 Enable "auditlog" action by default. See #445 and #451. e209cb768 More regression testing updates. 6cd8459bc Update docs on persistant storage. See #479 and #495. 0c95f9c64 Backport fix to improve request body processing error messages. See #504. 4d2fa2741 Backported changeset:1056 to 2.5.x which handles a lacking new line after the final multipart boundary. See #502. 6241dfe96 Fixed XML multithreading crash. See #501. 0c1f2f2e0 Fixed blocking in phase 3 by reverting changeset:591 (for now). See #65 and #498. 81145fe2b (Changeset Tracker. See #1234.) c8e35797f Improve request body processing error messages (#504). d06a3beab More tested regression tests. Cleaned up script. 043a5d608 Handle the case when there isn't a new line after the final boundary in a multipart request. This fix takes care of the WordPress Flash file uploader problem. 8844813c9 Some more updates/tweaks to the regression suite. Allow the ability to "make test-regression". 3e58e99be Another small update to the regression tests. 7ad2766e7 Some more updates for regression testing. 4bc1fc39f Some reorg of regression tests. 49e63a3e3 More regression updates. 59629a6af Add/update regression tests. 29cd97b24 Reorg. 813127aa1 Added some basic regression tests. f90ffeb97 Add the beginnings of a regression test suite. eb77be6e0 Fixed issue where transformation cache used default (fixed in 2.5.4). f394c6faa Add atomic updates for persistent counters. See #20. 5f6cb3aea Update msc_test with -N, better error support and support for actions. 8f7b861d9 Added mod_rpaf-2.0 and mod_custom_header to the beforeme list. ec19e2517 Update changes with 2.5.4 release. e74a17117 Update docs to show Lua as optional in the install instructions. 56e9aba04 Add an action directory for tests. 248bd0971 Update generated configure. c63d0ea21 Update the performance unit test generation example scripts. 6d3da8c39 Add the configure script (even though it is generated) to make it easier for others. 40fba3355 Allow actions to be unit tested. Allow unit tests to be performance tested. Add an example script to generate @rx vs @pm tests. cfeb3b976 Update CRS to 1.6.1. See #484. 06eeb7ef0 Fixed crash if a persistent variable name was more than 126 characters. See #478. 5735d5fc6 Fixed issue where the exec action may not be able to execute shell scripts. See #475. b4f473f87 Expand macros in expirevar and deprecatevar. See #477. Cleaned up debug logs in actions. Warn on mismatched curly braces in macro expansion. d37ab9482 Minor tweaks to msc_test build. 27601f6b4 Remove some extraneous debugging. 070e0bb0c Update CHANGES with current releases. fa3462f48 Add the MODSEC_2.5 define to 2.6 for compatibility. 563a8e0f0 Fixed issue where the exec action may not be able to execute shell scripts. See #475. c50e5b0b3 Update versions for release. 955163389 Add docs for macro expansion. See #462. aa6be1614 Make sure all filehandles are closed at the end of a trasaction. See #464 and #465. Fixes a few typos in some error messages when we are over the limits. b74b65911 Update version for trunk. 5f09dbb3e Sync up trunk with changes from 2.5.x. d797619fc Cleanup and update docs for 2.5.0. 7a1e2db14 Fixed code according to Ivan's review. bdc746baf Update rules to 1.6.0. e4eaade2c Make Lua support optional since it is still experimental (--without-lua). If someone still uses SecRuleScript, however, it iignores it and just warns on Apache startup. 63bccf793 Add additional CRS files. aef091a84 Reverted r950 which moved the periods from the message to after the "[offset ...]" tag. This tag was intended to be interpreted as metadata. Enhanced the documentation from r951 to reflect "[offset ...]" as metadata and not the message. 1fbf0c97f Update CHANGES, versions and dates for 2.5.0. 8cf74f5c9 Update version dates. Fix a small typo in Lua example: nil, not null. fb9585735 Add operator messages to documentation. 258ef32ad Minor changes to operator messages. 7ef661217 Make sure the test target gets the APR/APU CFLAGS. f00e15cc0 More updates for Windows builds suggested by Tom Donovan at apachelounge. cc2110b18 Updates to build on Windows with MS VC++ 8. 1789b9935 Remove the generated apxs-wrapper on dist-clean. 20bc34a53 Update core rules to 1.6.0-rc3. de115fc4e Update core rules to 1.6.0-rc3. 731ac3321 Update version date for 2.5.0-rc3. 935677a78 Do not add alert message when a transformation is not specified in a Lua rule. 2c74c55d4 Add the copywrite blurb in msc_lua.c. e9d1a44ce Explicitly define the target msc_test.lo target output file. 94f617ae1 Update CHANGES and release dates. d3831d679 Include the pmFromFile data file. 06715a0de Make sure to include the apxs cflags and apr cflags when building msc_test. 96b3ea6f2 Update unit test framework to build with libtool and show test name in debug log. 45e85e4c8 Update CHANGES and version dates. d24976a83 Add message to failed tests as well. 8e4310782 Add target name to validateUrlEncoding message. 83c13abfe Add/update more unit tests. 16b2821d5 Update string match text for @within to not include the target test. Make sure the empty string always matches (it does in @rx and @m so it should in other string operators). 827a5831e A pattern of "" (empty string) should always match. b579e704a Added unit tests for numeric comparison operators. 50a9f76dd Fixed getting exit code for determining test status. ac449776f Add pm operator unit tests. 540de37e7 Fixed error detection for operator init. b93466003 Cleanup unit test debug log on make clean. f428d3768 Cleanup - remove extraneous whitespace and tabs. 4b55882c4 Made msr_log() work with unit tests. Now display the message generated by operators for unit tests. 46cb2beeb Cleanup build to be more portable at searching for libs. fd8f4e319 Update CHANGES and versions for 2.5.0-rc3. e2ad283fd Fix some sprintf formatters so they do not generate warnings. d3d4c6694 Allow "none" transformation to start the transformation chain over and not crash. See #456. 13b5cdd5f Expand macros in setenv (name and value). See #458. 7250e4d03 Fix crash when there is no parameter to ENV target var. See #459. 3232a2d41 Fix debug log "Expanded" msg to only print when expanded. 7540f7118 Remove the "Experimental" tag from PDF and content injection functions. e12a2f08d The apu is under the apr dir on Solaris. 0903a061a Fix regression on non-solaris for lua (lua5.1, not lua51). 8d05c9966 Add some further searching for apr/apu/lua for solaris. 698bff5fa Make sure solaris can find the stupid httpd included pcre lib if need be. 588b4fba8 Fix apr_size_t formatting. Do not bother with formatting errors on solaris. b39bd8679 Fixed typo in lua finding script. 229b1f9db Fix CPPFLAGS when building against httpd src libs. 764fe94ab Wrap the apxs command so we can fix -R option not working on solaris. d350c5f5d Add in a hack to find lua binary install. 8f6f8c7c0 Add download links for lixml2 and lua in the docs. af69a4514 Add some extra build files to clean up with "make dist-clean". 4535b2e67 Cleanup CHANGES and set release dates for 2.5.0-rc2. 8b207a536 Note in docs that the K part has fully qualified rules. ed581b56f Revert part of the noauditlog fix in changelog:878. See #451. 751ce0684 Add signature verification support to the rulset updater script. See #280. 17219368c Added reading options from a config file, unpacking rulesets and email notifications to rules-updater.pl. See #280. 7777c35a6 Add new type parameter to msre_rule_create() for msc_test. f8dedc940 Update make to put mlogc in the tools dir. 2aca5f63f Add a basic auto-rule-update script that can download the latest version. See #280. 4c6dccada Fixed noauditlog. See #451. 52ccced72 Cleanup building actionsets and use minimal default. See #445. Fully resolve all rules before logging. 946a35004 Fixed removing cained rules with ctl action. ef6f75f4f Update docs for SecUploadFileMode to include the "default" value. f8adea949 Implemented SecUploadFileMode. See #448. 09ada31a2 Fixed potential crash if actionset was NULL. See #441 and #442. a3584993f Implement "block" pseudo-action. See #441. 9dbc7807d Remove query string from error log. See #447. e0c0d6690 Update severity documentation, deprecate numerical values. 00731cc70 Update versions in preparation for 2.5.0-rc2. c72057bc5 Cleanup CHANGES. 85e0b4d96 Add parens for clarity. 18e9ef080 Remove default transformations. See #445. c4e1ede35 Fixed merging actionsets so we can build a more accurate rule for auditing. 0d24a08f3 Implemented SecRuleUpdateActionById. See #442. be096d8f7 Explain how to install mlogc after building. c6c400394 More configure cleanup. Update docs for new install: configure && make && make install Spell check the docs. 96ff268f6 Replace TABs with 4 spaces. f4a44bc32 Remove an extraneous debug log. c68beb2fa Update text version of my review (removed areas that were invalid and/or fixed). 9fb03d277 Fixing code based on review comments... Cleaned up what vars are cacheable. Added parens around "*foo++" where it clarified the operation to be "*(foo++)". Added " at VARNAME" to operator matches where needed. Escaped var->name in the var generation (user-supplied data). Marked a bunch of TODOs as ENHs instead. Transformed some C++ style comments to C style. Removed the %0-9 macros code which was commented out. Optimized some ctl action code so that multiple ifs are else ifs. Implemented some error messages marked as ENH. Make commented out acmp debugging a configure-time option. Cleanup GEO debug log messages. Added relative filename support for geo dbs. Added help text to Sec* directives. 99c41afc3 Added a check that SecServerSignature actually worked (Apache changed some of this code as of 2.2.4 and could potentially change it again and break this). Cleaned up some configure code. Cleaned up some extraneous cache logging. Cleaned up the output from the test script. fabeaf505 Final mlogc configure cleanup. 62dfbeb80 Do not bother with libcurl if there is no mlogc-src. bc6c0c76a Add the ability to find curl for mlogc. 0a6ac0559 Add the ability to build mlogc if it is in the mlogc-src subdir. b5033e6e2 It is 2008 now :) 800dacd74 Add text version of review. 2d034c5ce Finished with pre-2.5 source code review. 0b9c2810e Fix speling. d8fa66515 Document data formats. d106a5c4d Yet more review data. b0f7dc1fc More review updates. f15ef01be Tweak error message to make it clear it's not our fault. b6446dc83 Fixed an old bug in ctl:auditLogParts that was fixed in 2.1.x, but not trunk. 4b05cfe3d Update current review data. 106a54f87 Fixed partial transformation caching and reduced some debugging output. 31e3ada84 Fixed phase 5 rules not being excludable. 433ecf342 Cleanup configure and add support for using apache src included libs (--with-httpd-src). 7baf94992 Add --enable-FEATURE options to configure. 4473e483c Update current review and report generation script. c622e7ec9 Expand PERFORMANCE_MEASUREMENT output to break down the full rule timing into transformation, operator and full. Add a "Transformation completed in N usec." debug line to compliment the operator timing. a53969a99 Add the beginings of a pre-2.5 code review ala Jupiter. 2ab009ee9 Add files to support using eclipse w/Jupiter code review plugin. 36dbd608c Add a review dir for testing/using Jupiter eclipse plugin. See: http://csdl.ics.hawaii.edu/Tools/Jupiter/ baac392bf More configure cleanup. 40c57f871 Cleanup configure script and add back unit tests (make test). badb2791f Initial 'configure' based compilation (buildconf generates configure script). be9931e00 Make sure all tests pass. 402f6318b More test updates. 2068357af Added m.getvars() and finalised Lua support. 8924f605d Add some more test cases. 6dd615646 Fixed returns for urlDecodeUni, urlDecode, urlEncode and normalisePathWin. See #439. 9551218d2 Fixed URL decoding with invalid encoding. See #439. a210e7325 Fixed return codes for base64Decode, base64Encode, compressWhitespace as well as replaceComments not adding the space for a comment w/o ending. See #439. ef18503f0 More cleanup and fixes in the testing framework. 78f83198d Remove \0ooo support from t:escapeSeqDecode. See #423. 4104e261e Update verifyCC checks w/data Ofer sent me. 9504be7d7 Fix a bug in testing framework where NUL is lost in parameter and add support for running only a single test in a conf file. 246ed9cbc Make sure a zero-length CC# does not verify. 59685455d Update core rules to 1.5.1. f64c7c39e Lua: Added support for scripting to @inspectFile. 4cecdf4c5 Added support for Lua to the exec action. a45c4bb55 Lua: Fix compile warnings. 4fcd787b9 Lua: Support relative filenames in SecRuleScript. 235fd2c07 Lua: Add ability to retrieve values from persistent collections. fa4738e86 Lua: Preserve entire scripts, not just main(). This allows for more complex logic to be written as the user can now use functions. It also allows room for future expansion. 3860a702a Added support for unit testing operators. Only verifyCC tests written. 3a8e0a4df Some more reorg of tests. a04e03b2c Some reorg of tests. 61e4623ba Move around some code to make unit tests easier to build. 2103fb560 Rename msc-test to msc_test. 4e7c243c3 Make libxml2 *required*. 6974a1c78 Fixed l_log to prevent percentage characters from Lua interfering with formatting. a0198a9e6 Polish up docs for md5/sha1. f3fae3155 Adjust Lua debugging levels to 8, to avoid logging at level 9 from skewing the results. 80aa065d2 Document the Lua functionality added so far. e834a860d Avoid double close of DBM on error. a96cbc0f6 Merge in Lua to test framework. e357bb55a Add quoting to unparsed rule generation. cdcb3bdb1 Lua: Added support for retrieving parametarised parameters (e.g. ARGS:p). 4414cb852 Lua: Support retrieval of individual variables from scripts. aef5a460b Fix Lua support. Enable logging from Lua scripts (using m.log()). e0c444953 Update Makefile to compile with Lua support afd3cbf14 Implemented SecRuleScript LUA_SCRIPT [ACTIONS]. 6f6934e9d Code polish. d2dee97a3 Fix jsDecode \xHH to verify HH is there and valid hex. See #439. 5da9a05d1 Remove the callback from the verifyCC regex (not used anymore). 499c3f316 Add initial unit testing framework. See #438. 2657154ea Update docs for t:md5 and t:sha1 to note that they are in binary form and should be hex encoded to be human readable. 8360aacc2 Use use new msr->rule_was_intercepted flag. See #425. a99357ad5 Add ability to use <IfDefine MODSEC_2.5>. See #436. a703c9c62 Minor allow bug fix. dc081c5df Removed some code that implemented SecRequestEncoding. Left the directive in, as well as the structure member as they are harmless. b9a28882b Enhanced allow. 9b0ce5ae6 Move an extraneous debug log line from level 4 to level 9. 8a1687bf3 Make phase 5 more strict and catch an inherited disruptive action. See #429. 5bd9e0640 Add CHANGES entry. See #425. 32100608e Handle actionset being NULL. See #66 and #429. 05c8ccd07 Moved modsecurity_crs_55_marketing.conf. d6beae556 Should have moved this not added. f12cc94f9 Update props for rules. 3c4eacf6f Update Core Rules to those in 2.1.4. 4602f7d90 Remove tabs from CHANGES. 9136d391d Forgoten CHANGES entry for last commit. 476684e6e Stricter configuration parsing. See #66 and #429. cd51a1004 Allow all rules to run in phase 5. See #425. 515290434 Add 2.1.4 changes to trunk CHANGES. f68f0156c Cleanup CHANGES. 5065852df More efficient collection persistance and deletion on retrieval. See #345 and #426. 4c11791a9 Escape cache value in log. aa68fff10 Fixed decoding \9 with t:escapeSeqDecode. See #423. 8aa31fd09 Change jsDecodeuni to jsDecode which also decodes all the other JS escapes. See #193. b0de65913 Added t:jsDecodeUni handling unicode similar to t:urlDecodeUni. See #193. cbf79d43b Update version to ready for 2.5.0-rc1. 54cac6461 Add IS_NEW and IS_EXPIRED collection variables. See #345. 220342850 Prefer "offset" to "pos". e7e975696 Add var name to validateUtf8Encoding message. See #408. 3c1d5a021 More efficient multimatch support and cleaned up debugging and messages. See #69. 2dff0fb9f Speed up luhn algorithm and add multimatching capabilities to verifyCC. See #69. 423fd0eea Update skipAfter docs to mention markers. See #416. 715a8eae5 Implement SecMarker. See #416. 37f5231cc Minor code fixes. bbcf1d08f Added an APR-Util variant of character encoding conversion. c25071b83 Initial experimental implementation of SecRequestEncoding. See #390 for more details. 22873995f Rename placeholder type from RULE_PH_TARGET to RULE_PH_SKIPAFTER. 2bf4556cd Checkin fix to rule removal code to avoid placeholders. 9e9bb318b Rewrite the luhn algorithm to be faster and easier to read. See #69. 13e209909 Add in verifyCC operator from mod_security2_op_verifyCC.c. See #69. This still needs to be fixed. a6c2d867f Improvements to audit logging matching rules. See #93. dcdce0cbc Added matching rules to audit log data. See #93. 85053718d Cleanup log output for skipAfter. See #258. ff12e6f1c Remove comment that is not needed. 526bcc0b5 More informative change log message for fixing utf-8 validation. c5c759d6f Forgot to update CHANGES. d3a0a2887 Fix utf-8 validation (again\!\!\!). 575e86388 Implemented SecRequestBodyNoFilesLimit (#103). fd5e4fb32 Fix bugs introduced by the recent change to audit logging. ab6a81fe7 Remove unused reqbody_status from modsec_rec. 1cfc906fa Fixed apr_size_t formatting warnings by using portable %APR_SIZE_T_FMT instead of %lu. 8cec4dd25 Some more debugging and fixes for skipAfter. See #258. 4a08d7e6b Handle out-of-disk-space conditions gracefully when writing to audit log. 800cfc2cc Added missing #else block for printf attributes. e47fdeb42 Changed %p formatter to APRs %pp (wish that was documented). Marked msr_log() as a printf style function so GNU compiler can check formatting types. Fixed a few other warnings with msr_log() formatters. 9447ae67b Added placeholder support for skipAfter so that it works with removed rules. See #258. 1860e2a35 Renamed SecGeoLookupsDb to SecGeoLookupDB. 6ca5b831f Document SecComponentSignature. Update CHANGES. b163864ba Implemented SecComponentSignature. e467d3cac Unified messages in the error log and in the audit log. f0be2ff6b Added warning message when XML request body parser fails. 2cefbda2e Fix quotes in an example. 40c5b2004 Remove extraneous 'void *' cast. aff690053 Initial full pass through code to fix issues with 64-bit/mismatch sign/mismatch size printf style formatters. Still need to look more into how we are handling time and convert to apr_time_t (or time_t) where appropriate. Still need to look into our use of 'long' as windows is LLP64 where 'long' is still 32-bit. b9defc0ad Warn in the debug log when request body processing fails. cd2287a41 Fix for an evasion false positive. 83fb4b4da Fix more formatting errors/warnings on 64bit systems. 7f71ae377 Fix another warning on %u used where %lu needed. e45ea12fc Fix warnings on Solaris and/or 64bit builds. faec5b8e9 Fix a possible loss of data warning when compiling 64bit reported by Marc Stern. 2b346dd08 Updated input filter insertion code for sub-requests. 8e9909006 Add the input filter if we have read the body (even if a sub-request). See #335. 9d49adf02 Basic implementation of skipAfter (still need to implement placeholders so it works with removed rules). See #258. 974298a76 Added ctl:ruleRemoveById action. See #259. 9efa02f42 Change ctl parameters to be case insensitive. Initial implementation of ctl:removeRuleById. See #259. f66e8c5b3 Document MULTIPART_CRLF_LF_LINES. b0d514478 Fix blocking multipart FP, which affected Safari. d5f3b9ce5 Fix multipart parser blocking FP with Safari ( (#317). 793b57670 Added support for MATCHED_VAR and MATCHED_VAR_NAME. See #123. b784e6cb7 Change from TX:LAST_MATCHED_VAR_NAME to MATCHED_VAR. See #123. 83a788607 Now use memcmp() vs strncmp() in string comparison operators since we already short-circuit when the match will not fit in the target. Added @containsWord. See #182. a6cf7957b Update ModSecurity chroot documentation. da1399f0b Added TX:LAST_MATCHED_VAR_NAME. See #123. e0e031d16 Oops, too fast to blame apr :) This bug was a forgotten NULL in the apr_pstrcat function. Apparently newer APRs can handle this. dc71842ce Revert to apr_psprintf (vs apr_pstrcat) to get around what appears to be an apr bug with FC4. 9d4965b29 Fix macro expansion in setvar. See #126. 2d526f143 Fix typo in a comment. b66157497 Document the 'tag' action. See #276. 27ba3027b Move init of msr->msc_rule_mptmp before msr storage. fe1021e36 More cleanup of error messages and marking as relevant. See #4. 8b6f0e72a Wrap PERFORMANCE_MEASUREMENT variable as conditional compile. 63a47c370 Prefer %d string formatter to %i so we do not get warnings on some platforms. f3a8854fe Mark any error conditions/alerts as 'relevant'. Clean up/add error messages where this can happen. 5022ddcad Cleanup more subrequest code. Do not run with subrequests in phase 3-4. Still need to look at phase 5 to see what I can cleanup there. See #135. 86c9a9bf1 Cleanup CHANGES. 9f898a0e0 Fixed comment. 7c393c487 Fixed the wrong status being displayed in the error page. See #3. 72f814933 Do not process subrequests in phase 2. See #135. 426ce1aea Fixed deprecatevar. See #59. a1955d09e Add crude performance measurement. 009c3b0fa Document SecResponseBodyLimitAction. 9ed3cf9e5 Added support for partial response body processing. 59333a6a8 Update CHANGES. 79ee3a6a7 Process debug log statements only if the debug log level is sufficiently high. dfe09ff1b Fix content injection C++ style comments. 2a707d437 Enable our output filters to intercept bodies of error responses (#65). eb6b456f5 Fix potential buffer overrun by 1 byte in base64Decode caused by bad docs from APR-Util. See #255. b217e4262 Merge in fix for ErrorDocument. ad940d1ff Partially corrected the filter error code. See #3. 53011819d Cleanup some doc formatting. Prepare trunk for use as 2.5.0-devN tree. c8e5c7fcd Sync trunk from branches/2.1.x (merge in branch fixes). 8a54517f0 Updated copyright dates in xsl files. See #253. 1e603d8a3 Detect and use new API calls to get the server version/banner when available. 8549546b5 Add a cast to unsigned char * to avoid warning. b95cc3b37 Updated the manuals (trunk and the 2.1.x branch) to cover the new multipart stuff. More detail is needed but there is not enough time for that today. Also added back the impedance mismatch stuff and the PHP peculiarities. ba85c17b0 Update minimal configuration template to use strict multipart parsing. fa2b97ddb Tidy code. Small bug fixes. 0769f2378 More multipart improvements. Added MULTIPART_MISSING_SEMICOLON. d7a92cac2 Adjust hook placement so mod_breach_trans fixes the request before us. 70e8246ae Update CHANGES. 9e08017b3 Force rpaf and similar modules before mod_security2. 9301461b3 Allow multipart C-T header to be up to 1024 bytes long. Some code cleanup (really ;). 608f7f2b4 Fix LF line detection, add MULTIPART_CRLF_LINE, MULTIPART_CRLF_LF_LINES. 239fa0095 Fix silly errors, typos. baf6f59df Multipart parsing improvements. e27516246 Quiet "warning: int format, pid_t arg" type warnings. 28d44486e Fixed data corruption in the multipart parser. 222f1f6f7 Cleanup. MULTIPART_STRICT_ERROR now returns 1 on parsing error too. 323f9f81a Better discovery of partial quoting evasion. b1949b7eb Another check for evasion through partial quoting of multipart boundary. d0ac05c3e Add check for evasion using double quote inside multipart boundary. 25fb1b262 Moved XML request body processor error to debug level 1. 5898e9e11 Fixed a potential segmentation fault, introduced with recent changes. 7c856eef1 Fix typo and make clearer the intent by using defined(). See #198. 716d0fd41 Added a check for nul bytes in multipart part headers. c85773b34 Added MULTIPART_UNMATCHED_BOUNDARY. Not very reliable, as it detects anything that looks like a boundary, which means any line that begins with -- but we don't think it's a boundary. 70324713e Added checks to detect quoted boundary evasion (although we are not susceptable any more) and to detect duplicate final bounary. 32905f9d4 Add ability to compile without API support (-DNO_MODSEC_API). See #198. f4389c9a5 Update docs and CHANGES for logdata action. 8f6385f78 Added logdata action (still needs byte limit). See #40. 765dfd027 Fixed typo. 9cfdd8f0d Rename TX_SEVERITY to HIGHEST_SEVERITY, fix and document. b71687c7f Add ARGS_GET* and ARGS_POST docs. c520886e1 Detect and prevent multipart evasion. cb0cb9375 Sorted variables in the registration code. 648037fdb Added TX_SEVERITY variable. See #60. d2fd881c0 Fix typo in CHANGES. f41c27a28 Added ARGS_GET, ARGS_POST, ARGS_GET_NAME, ARGS_POST_NAMES variables. See #136. fe8c564ed Added MODSEC_BUILD variable. See #38. 2ec596e83 Fix error message in validateByteRange to include the target variable name. See #157. 5a6ce0142 Added logging of target variable expansion. See #62. 820ba5f1d Add debug message when not buffering response body due to MIME type not configured. See trac #63. 892938dee Enhanced multipart parsing to support quotted boundaries and LF line terminators (RFC demands CRLF but some applications use only LF). 9695f2b81 Improvements in transformation cache (add options, document). Update CHANGES. 43f7fa72f Remove non-ASCII characters. b761c1c01 Merge in some doc changes. Fix some doc formatting issues. Update the CHANGES file. 72832c1b3 Working on cache enhancements. See trac #14. 3e5e2a06b Stricter validation for @validateUtf8Encoding. Capture the match in TX:0 when using "capture" action w/@pm operators. 5a38dde99 Disable XML parsing by default in the included core rules. bafe8ad77 Remove old comment. 31f119664 Updated README files to refer to GPLv2. 3facacf92 Emphasize the need to check REQBODY_PROCESSOR_ERROR in configuration example. 73706c8bc Update documentation to emphasize the importance of REQBODY_PROCESSOR_ERROR handling. 8b9d914ed Merge in code fixes to create msr context on request failure. 4d03b029f Remove the error message on a failed request so we can handle it in a pater phase. 9be72c39d Update to core rules 1.4.3 e251a9bd5 Add back code to send an alert on request failure. 656021c20 Fix typo. bff23e3eb Updated the rule IDs documentation (reserved ranges). 96edb02fe Updated documentation to specify libxml is no longer optional. 881e8e66c Update LICENSE removing part that is not the licence (but can cause confusion). 7fbf664ec Added cygwin to list of compilers that do not support hidden visibility attribute. 8cd8f42d2 Clarified which variables are URL-decoded and which aren't. f19622b04 Clarified that we are a GPLv2-only project. 129a5ab25 Reserved a rule ID range for ScallyWack. 698955aae Update changes to reflect the 2.2 -> 2.5 change. 8dea31635 Update @within docs according to Ofer's comments. See #134. 19887f9cc Added @within string comparison operator with support for macro expansion. See #134. b58efb346 Update CHANGES. Reversion from 2.2. to 2.5. Update @pmFromFile to base relative filenames off of rule file path. de739c60c Updated documentation for RESPONSE_CONTENT_TYPE and RESPONSE_CONTENT_LENGTH. 8de8e44e0 Removed RESPONSE_CONTENT_ENCODING, which never worked as intended. 5cb4823c4 Documented that we do not support atomic updates of persistent variables at this time. 1c639cf7d Added two payload examples for XPath expression examples. efe52d4e7 Initialize rules tmp pool properly. Update to latest core rules. a4835b73f Fix bad merge of mem pool fix from trunk. Update to latest core rules. 6569c444d Make rules/README UNIX style EOL. Merge another branch/2.1.x change. d55e023bf Revert msr_log as macro (still work-in-progress) 81d0f84ad Update copyright text to Breach Security, Inc. Merge in changes from branches/2.1.x c39723c3a Document SecPdfProtectMethod. 74738b29b Added new directive (SecPdfProtectMethod) to enable the user to choose between using token redirection (falling back on forced download in some cases) and forced download (in all cases). 8b843127b Revert incorrect change to GET/HEAD detection code. This will teach me to always compile before I commit. c7f5dc335 Configure PDF protection by token redirection to only work on GET and HEAD requests. If we attempted to work on other request methods we would probably break something as there is no way to preserve request bodies. The default was previously been to work on all requests. This behavious can still be changed using the SecPdfProtectInterceptGETOnly directive but I am going to leave it undocumented. eec279c8d Cleanup code. 6350e2bad Do not log alert message for subrequests. See #124. Cleanup CHANGES. 23bd6b433 Do not pause if we are not the main request. See #124. 46d7a5ec6 Move transformation cache rec def re.h from modsecurity.h 71eb6e17a Added XPath references. dd6755985 Move the transformation cache recort into re.h. See #14. 11456dd87 Use pmFromFile instead of pmfile and p=phrase instead of parallel in docs. See #16. e5c00d156 Added rule file/line to audit log messages. See #49. f1607d007 Cleanup message output. See #16. 86f648d26 Remove extraneous debug log message. 84c0ca303 Fixed patch for subrequests to be more complete. See #124. e887faac2 Add @pm/@pmfile operators (parallel patch). See #16. f53c4241f Add entry to CHANGES. db04c6442 Cleanup af6160b9c Fixed problem with subrequests not being intercepted. See #124. c594c205c Fix new string operators to all resolve macros. Rename startsWith operator in code to match docs. See #54. 6cc0173cf Add caching for transformations. See #14. 61238ca22 Argh! That last one was not meant to be checked in - reverting 281. e11ff8542 Fixed log_escape_raw when length was <= 0 220abd344 Quiet uninitialized warning. a1a0c24b8 Do not compile on Solaris with visibility attributes. 3fbf2b93c Modify docs for t:urlDecodeUni. (See #122) a627e96c7 Lessen "capture" debug log messages. eaa8e444d Fixed decoding full-width unicode in t:urlDecodeUni for ASCII range 0xFF01-0xFF5E. Probably need more work/testing. (See #122) 97a1718d3 Only calculate debug data when we are debugging. NOTE: Last commit message was wrong. e03ea11f9 Only calculate debug data when we are debugging. b60f20697 Remove use of GNU extention strnlen(). Fix CHANGES. a68eb0488 Add geo lookup support. See #22. d8abb48ad Fixed a problem with content injection that resulted in content being injected twice. 2733cc739 Do not try to intercept a request after a failed rule. (See #53) dfde8169e Documented the PDF XSS protection functionality. It's not much but it will do for now. f1d4e0e2f Documented RESPONSE_CONTENT_LENGTH and RESPONSE_CONTENT_TYPE. d8418c3aa Documented SecContentInjection, append, and prepend. c0c5d8d89 Removed extraneous symbols from dso via DSOLOCAL. fca9eabaf Merged the PDF XSS protection functionality into ModSecurity. c559f3ee2 Change @eq to @streq. See #54. 2aa6e6160 Exported API for registering custom variables. See #120. Simple example in api/mod_var_remote_host_port.c b47059a5b Remove docs for HTTP_* vars. See #23. cd62f2002 Add docs for new transformations and operators. See #54, #55 and #117. 0c234c115 Cleanup debug log output: add rev to 'Invoking rule' line, remove clearing mem pool line. fa13b02f7 Updated the CHANGES file with the RESPONSE_* variable changes. e0a860292 Added experiemental support for content injection. 20c0b11dd Added experimental RESPONSE_CONTENT_LENGTH, RESPONSE_CONTENT_TYPE. 3661a294a Added experimental RESPONSE_CONTENT_ENCODING. 3f7fc7c75 Added string comparison operators: @contains, @is, @beginsWith and @endsWith with support for macro expansion. See #54. 0a1610f85 More debug log enhancements - quote values to easier see whitespace. a3c3f25ae Fix macro expansion. See #118. Fix some debug log output to escape NULs properly in preparation for #54. Up version to prepare for 2.2.0 pre-releases. b93eef9db Added t:length to transform a value to its character length. See #55. 5482606c3 Added t:trimLeft, t:trimRight, t:trim to remove whitespace from a value on the left, right or both. (see trac #117) d9a26780a Add SecAuditLog2 directive (trac #102) e556a914f Remove tabs f2c96bae2 I added notes about accessing response headers in phase:3 and phase:5. e72540b0a I added the XML and HTML files for the Migration Matrix doc. 82fdc7cf3 Format CHANGES to add space before '*' 51a5418b4 Update changes to reflect merges into 2.1.x branch eab433187 Add PCRE_DOLLAR_ENDONLY to doc 00dcb2714 Add the PCRE_DOLLAR_ENDONLY option when compiling regular expression for the @rx operator and variables. (trac #57) a93c77e9a Updated line/num/id debug output with a format that is easier to parse. (trac #47) 9e669fcc7 Better CHANGES entry. (trac #43) 383119a14 Really set PCRE_DOTALL option when compiling the regular expression for the @rx operator as the docs state. (trac #51) f6de76b05 Removed CGI style HTTP_* variables in favor of REQUEST_HEADERS:Header-Name. (trac #23) 485c664a4 Enhance debug log output for capturing to detect all regex/capture mismatches (trac #21). 891859f9c Revert back to using captured regex execution as it seems to be more effecient as the ovector can be used for working space even if it is not used for captures. Warn when captures are used in the regex, but "capture" not specified. 59928bfe6 This was not meant to be checked in yet (trac #42) 4676132ed Add the file/line to the rule so we can use it in the debug log and eventually in the alerts. 58afede3f Do not log 'allow' action as intercepted in the debug log. d1ada359d Optimize regex execution to not capture unless 'capture' action used. 09b704f11 Recycle the mptmp pool (trac #43). 8876a03ab Recycle the mptmp pool (trac #43). f508c0a33 Fix a compile warning. 473a471bb Oops, forgot my parens. bce096216 Fixed collection variable name printing in debug log (trac #45) ab55a8716 Fix potential memory corruption in msre_create_var_ex allocating per-request data out of global pool. 8898759c4 Add back the check for overflow on length 9b56d6314 More generic Makefile 4370819f7 Fixed potential DIV0 when a collection var was fetched in the same second as creation 4e02be621 Fixed parsing of ASCIIZ for application/x-www-form-urlencoded forms cf024ded0 Fix segfault when logging NULL text during request reading errors and upcoming fix for sending alerts on such errors. ebdd0400d Generate an alerts for error log entries for requests we did not process *if* it has a UNIQUE_ID available. 8aeff06fc Fixed faulty REQUEST_FILENAME. f4fb4ed4f Updates to quiet some compiler warnings. 79d232ccf Fixed some casting issues for compiling on NetWare (Guenter Knauf). 3e95d3c34 Changed version number to 2.1.0. 98188bd9b Document was not valid DocBook. Fixed. 6ebecdb3e Small fixes. f9999c440 Downgraded 'Connection reset by peer' from ERROR to NOTICE, as it has nothing to do with us. b57a1f024 Fixed an invalid conversion specifier. 6c5d19ed8 Removed the (harmless) message mentioning LAST_UPDATE_TIME missing. 8eb0aa7e4 Updated fix message. f807697e3 SecRuleRemoveById was unable to remove a phase 4 rule. 08c231a6b Fix some spelling, grammer and formatting issues. c48277409 Branched 2.1.0-rc7 3f80fdac3 Import ModSecurity 2.1.0-rc7 REVERT: |
||
|---|---|---|
| .. | ||
| action.h | ||