2258 Commits

Author SHA1 Message Date
Ervin Hegedus
5c79cb0d84
Merge pull request #3066 from owasp-modsecurity/revert-2946-v2/mst/issue610
Revert "Fix for https://github.com/SpiderLabs/ModSecurity/issues/610"
2024-02-07 23:06:51 +01:00
Ervin Hegedus
b034f5ad98
Revert "Fix for https://github.com/SpiderLabs/ModSecurity/issues/610" 2024-02-07 23:06:42 +01:00
Ervin Hegedus
f2de5788a2
Merge pull request #3065 from owasp-modsecurity/revert-3003-v2/mst/empty_action
Revert "Ignore (consistently) empty actions"
2024-02-07 23:06:26 +01:00
Ervin Hegedus
d778fbf8b7
Revert "Ignore (consistently) empty actions" 2024-02-07 23:06:16 +01:00
Ervin Hegedus
821ec3e1bb
Merge pull request #3064 from owasp-modsecurity/revert-3012-v2/mst/except_noid
Revert "ctl:ruleRemoveByTag isn't executed if no rule id is present in the rule"
2024-02-07 23:05:37 +01:00
Ervin Hegedus
43cb827084
Revert "ctl:ruleRemoveByTag isn't executed if no rule id is present in the rule" 2024-02-07 23:05:28 +01:00
Ervin Hegedus
b8be144bbe
Merge pull request #3063 from owasp-modsecurity/revert-2997-v2/mst/target_log
Revert "Add context info to error message"
2024-02-07 23:04:59 +01:00
Ervin Hegedus
c3688dd8c4
Revert "Add context info to error message" 2024-02-07 23:04:47 +01:00
Ervin Hegedus
17d205feb2
Merge pull request #3062 from owasp-modsecurity/revert-3050-v2/mst/log_coll_key4
Revert "Detailed error message when writing collections"
2024-02-07 23:04:26 +01:00
Ervin Hegedus
e834d7751e
Revert "Detailed error message when writing collections" 2024-02-07 23:04:14 +01:00
Ervin Hegedus
5e19d37bd5
Merge pull request #3061 from owasp-modsecurity/revert-2992-v2/mst/expand_macros_optim
Revert "Avoid some useless code and memory allocation in case no macro is present"
2024-02-07 23:03:58 +01:00
Ervin Hegedus
aa6aa77ba9
Revert "Avoid some useless code and memory allocation in case no macro is present" 2024-02-07 23:03:48 +01:00
Ervin Hegedus
35044f11c5
Merge pull request #3060 from owasp-modsecurity/revert-3004-v2/mst/optim4
Revert "Optimization: Avoid last loop and storing an empty value in case nothing after last %{..} macro"
2024-02-07 23:03:34 +01:00
Ervin Hegedus
eaa7ca7044
Revert "Optimization: Avoid last loop and storing an empty value in case nothing after last %{..} macro" 2024-02-07 23:03:23 +01:00
Ervin Hegedus
23a54ea20b
Merge pull request #3059 from owasp-modsecurity/revert-3004-v2/mst/optim4
Revert "Optimization: Avoid last loop and storing an empty value in case nothing after last %{..} macro"
2024-02-07 23:02:49 +01:00
Ervin Hegedus
dd552d2434
Revert "Optimization: Avoid last loop and storing an empty value in case nothing after last %{..} macro" 2024-02-07 23:02:37 +01:00
Ervin Hegedus
2fe4c599bf
Merge pull request #3058 from owasp-modsecurity/revert-2994-v2/mst/phase_validate
Revert "Implement msre_action_phase_validate()"
2024-02-07 23:02:20 +01:00
Ervin Hegedus
dfce12b992
Revert "Implement msre_action_phase_validate()" 2024-02-07 23:02:10 +01:00
Ervin Hegedus
909d4d15ce
Merge pull request #3057 from owasp-modsecurity/revert-2931-leancz-patch-1-pcre2-windows
Revert "Adding PCRE2 support for windows build in Makefile.win"
2024-02-07 23:01:16 +01:00
Ervin Hegedus
b124641a98
Revert "Adding PCRE2 support for windows build in Makefile.win" 2024-02-07 23:01:07 +01:00
Ervin Hegedus
7b031b6ce5
Merge pull request #3056 from owasp-modsecurity/revert-3050-v2/mst/log_coll_key4
Revert "Detailed error message when writing collections"
2024-02-07 22:40:54 +01:00
Ervin Hegedus
4b936128c3
Revert "Detailed error message when writing collections" 2024-02-07 22:40:39 +01:00
Ervin Hegedus
bdae95a93e
Merge pull request #3055 from owasp-modsecurity/revert-3051-v2/mst/cmdline-semicol
Revert "; incorrectly replaced by space in cmdline"
2024-02-07 22:40:15 +01:00
Ervin Hegedus
d1d7aa945b
Revert "; incorrectly replaced by space in cmdline" 2024-02-07 22:37:16 +01:00
Marc Stern
07f4076f46 Check for NULL pointers 2024-02-07 12:04:50 +01:00
Marc Stern
e406bcadcd Fixed compilation issue (variable scope definition) 2024-02-06 09:54:07 +01:00
Marc Stern
0cd8b15c5a Fixed variable definition scope (compile error) 2024-02-05 10:36:04 +01:00
Marc Stern
864f54c643 Updated CHANGES 2024-02-02 13:05:10 +01:00
Marc Stern
d686d1344d
Merge pull request #2931 from leancz/leancz-patch-1-pcre2-windows
Adding PCRE2 support for windows build in Makefile.win
2024-02-01 12:24:47 +01:00
Marc Stern
f7e83691b3
Merge pull request #3051 from marcstern/v2/mst/cmdline-semicol
; incorrectly replaced by space in cmdline
2024-02-01 12:19:04 +01:00
Marc Stern
47e28af184 ; incorrectly replaced by space in cmdline 2024-02-01 12:18:08 +01:00
Marc Stern
dc0afb2d41
Merge pull request #2994 from marcstern/v2/mst/phase_validate
Implement msre_action_phase_validate()
2024-02-01 12:03:16 +01:00
Marc Stern
374608fc04
Merge pull request #3004 from marcstern/v2/mst/optim4
Optimization: Avoid last loop and storing an empty value in case nothing after last %{..} macro
2024-02-01 12:01:58 +01:00
Marc Stern
8556d3370f
Merge pull request #2992 from marcstern/v2/mst/expand_macros_optim
Avoid some useless code and memory allocation in case no macro is present
2024-02-01 11:57:17 +01:00
Marc Stern
1eea78d9de
Merge pull request #3050 from marcstern/v2/mst/log_coll_key4
Detailed error message when writing collections
2024-02-01 11:52:15 +01:00
Marc Stern
35e97b5145 When there's a problem writing a collection key (it's too big for instance), we have no info on the involved key.
This adds the key name in the log (and its size, as this is the problem most of the time).
2024-02-01 11:48:21 +01:00
Marc Stern
569abcd64c Merge branch 'v2/master' of https://github.com/marcstern/ModSecurity into v2/master 2024-02-01 11:43:53 +01:00
Marc Stern
17b76b9fa9
Merge pull request #2997 from marcstern/v2/mst/target_log
Add context info to error message
2024-02-01 11:20:43 +01:00
Marc Stern
710cc994b9
Merge pull request #3012 from marcstern/v2/mst/except_noid
ctl:ruleRemoveByTag isn't executed if no rule id is present in the rule
2024-02-01 11:18:54 +01:00
Marc Stern
aac0bee2ea
Merge pull request #3003 from marcstern/v2/mst/empty_action
Ignore (consistently) empty actions
2024-02-01 11:18:27 +01:00
Marc Stern
64b883bd82
Merge pull request #2946 from marcstern/v2/mst/issue610
Fix for https://github.com/SpiderLabs/ModSecurity/issues/610
2024-02-01 11:10:27 +01:00
Marc Stern
ac04a4483e
Merge pull request #2953 from marcstern/v2/mst/optim1
remove useless apr_pstrdup()
2024-02-01 11:09:31 +01:00
Marc Stern
26d2b0d069
Merge pull request #2954 from marcstern/v2/mst/optim2
remove useless memset
2024-02-01 11:08:09 +01:00
Marc Stern
c2e20f6501
Merge pull request #2956 from marcstern/v2/mst/username
Centralized function to get user name
Remark: only differences in persist_dbm.c are the calls to the centralized function, even if github cannot display individual diffs
2024-02-01 11:03:48 +01:00
Marc Stern
85492324ad
Merge pull request #2957 from marcstern/v2/mst/yajl_compat
Compatibility with libyajl decoding the buffer inline
2024-02-01 10:54:38 +01:00
Marc Stern
b354c71403
Merge pull request #2960 from marcstern/v2/mst/mem_leak1
Fixed 2 memory leaks
2024-02-01 10:53:58 +01:00
Marc Stern
8f3ef37ed8
Merge pull request #2963 from marcstern/v2/mst/debug_conf
Fix for DEBUG_CONF compile flag
2024-02-01 10:53:09 +01:00
Marc Stern
7dae977e88
Merge pull request #2969 from marcstern/v2/mst/optim3
Double memory allocation
2024-02-01 10:52:08 +01:00
Marc Stern
c62e3a4ffc
Merge pull request #2987 from marcstern/v2/mst/jit_not_init
'jit' variable not initialized when WITH_PCRE2 is defined
2024-02-01 10:51:09 +01:00
Marc Stern
b0e5892ff6
Merge pull request #3040 from airween/v2/remoterulestls
Set the minimum security protocol version for SecRemoteRules
2024-01-30 11:15:51 +01:00