1917 Commits

Author SHA1 Message Date
Marc Stern
e9bf697c00
Merge branch 'SpiderLabs:v2/master' into v2/master 2023-09-18 15:27:46 +02:00
Martin Vierula
0dbdc2b3d0
Check return code of apr_procattr_io_set() 2023-09-11 08:07:49 -07:00
martinhsv
a8b7b26983
Merge pull request #2958 from marcstern/v2/mst/rc_check
Check return code of apr_procattr_io_set()
2023-09-11 11:01:10 -04:00
Marc Stern
1cdc554d87
Merge pull request #57 from SpiderLabs/v2/master
Merge pull request #2912 from martinhsv/v2/master
2023-08-24 11:27:00 +02:00
Marc Stern
7575eae3f5 Check return code of apr_procattr_io_set() 2023-08-14 16:57:21 +02:00
Marc Stern
b3b33c9ff1 Revert "Centralized function compatible with Linux & Windows (also with mpm-itk & mod_ruid2) to get username"
This reverts commit c7b28f0e13fa18d8503877e026744f76607cfbae.
2023-08-11 17:19:08 +02:00
Marc Stern
c7b28f0e13 Centralized function compatible with Linux & Windows (also with mpm-itk & mod_ruid2) to get username 2023-08-11 17:17:59 +02:00
martinhsv
11f85b82e1
Merge pull request #2912 from martinhsv/v2/master
Do not escape special chars in regex pattern with macro
2023-07-27 09:37:35 -04:00
Martin Vierula
2105ed0639 Do not escape special chars in regex pattern with macro 2023-07-27 06:21:45 -07:00
Martin Vierula
fb1abae980
Add CHANGES entry for previous merger 2023-03-20 10:49:44 -07:00
martinhsv
0e1df01b21
Merge pull request #2883 from Polynomial-C/v2_avoid_bashisms
build: Avoid bashisms
2023-03-20 08:26:29 -07:00
Lars Wendler
4b9edaddfc build: Avoid bashisms
otherwise configure fails to find pcre2 when /bin/sh does not point to bash:

  configure: using pcre v8.45
  ./configure: 16601: test: xno: unexpected operator
  ./configure: 16601: test: xno: unexpected operator
  checking for libpcre2 config script... no
  configure: *** pcre2 library not found.
  configure: error: pcre2 library is required

Signed-off-by: Lars Wendler <polynomial-c@gmx.de>
2023-03-14 11:36:22 +01:00
Martin Vierula
916bded590
CHANGES: Preparing for next version 2023-01-19 12:20:13 -08:00
Martin Vierula
053965529c
Version 2.9.7 v2.9.7 2023-01-04 13:15:13 -08:00
martinhsv
9640b5408a
Merge pull request #2857 from martinhsv/v2/master
Fix: FILES_TMP_CONTENT may sometimes lack complete content
2023-01-04 11:37:17 -08:00
Martin Vierula
4324f0ac59
Fix: FILES_TMP_CONTENT may sometimes lack complete content 2023-01-04 11:34:11 -08:00
Martin Vierula
afb48b2c97
Adjust one automated test 2023-01-04 08:00:49 -08:00
Martin Vierula
8b3b7a0e23
Add ostensibly unnecessary null check 2023-01-04 06:56:54 -08:00
Martin Vierula
8038a529c0
Copyright line updates 2022-12-21 07:07:14 -08:00
Martin Vierula
1cba2d4758
PCRE2 fix: correct length arg in calls to match functions 2022-12-16 08:37:56 -08:00
martinhsv
9d4b426b22
Merge pull request #2844 from martinhsv/v2/master
Support configurable limit on number of arguments processed
2022-12-14 11:12:57 -08:00
Martin Vierula
0981b325a7
Support configurable limit on number of arguments processed 2022-12-14 07:01:23 -08:00
Martin Vierula
ac52086b44
Distinguish PCRE vs. PCRE2 in startup version message 2022-12-12 02:41:16 -08:00
Martin Vierula
583b465fdb
Silence compiler warning about discarded const 2022-12-12 02:26:13 -08:00
martinhsv
76ce55a675
Merge pull request #2840 from martinhsv/v2/master
Support for JIT option for PCRE2
2022-12-08 05:49:31 -08:00
Martin Vierula
a17cbc8f5e
Support for JIT option for PCRE2 2022-12-07 07:47:42 -08:00
Martin Vierula
bc8c37070a
Add CHANGES entry for previous PR 2022-11-23 14:28:00 -08:00
martinhsv
8f04f44b09
Merge pull request #2046 from arminabf/segfault-with-assigned-user
segfault with assigned user id on OpenShift
2022-11-23 14:20:25 -08:00
martinhsv
31c3b4e8fe
Merge pull request #2834 from martinhsv/v2/master
Fix: handle error with SecConnReadStateLimit configuration
2022-11-20 11:42:09 -08:00
Martin Vierula
f7fa00aadf
Fix: handle error with SecConnReadStateLimit configuration 2022-11-20 10:39:04 -08:00
martinhsv
2a42b08814
Merge pull request #2833 from martinhsv/v2/master
Only check for pcre2 install if required
2022-11-16 15:27:58 -05:00
Martin Vierula
f9bb518be5 Only check for pcre2 install if required 2022-11-16 11:35:10 -08:00
Martin Vierula
c291a8c9fb
Add CHANGES entry for last PR 2022-11-15 14:22:03 -08:00
martinhsv
012693d197
Merge pull request #2832 from erkia/fix/add-aplog-use-module-2
Move APLOG_USE_MODULE out of modsecurity.h
2022-11-15 17:06:02 -05:00
Erki Aring
b5130acb45 Move APLOG_USE_MODULE out of modsecurity.h 2022-11-15 17:31:18 +02:00
Martin Vierula
3bd5836fef
Add CHANGES entry for previous PR 2022-11-14 11:48:21 -08:00
martinhsv
c2b47ea1bb
Merge pull request #2781 from erkia/fix/add-aplog-use-module
Fix logging for Apache 2.4 (again)
2022-11-14 14:26:54 -05:00
Martin Vierula
e0ef146870
Add CHANGES entry for previous PR 2022-11-11 14:00:20 -08:00
martinhsv
701365f8f1
Merge pull request #2818 from hughmcmaster/libxml2-mods2
Use pkg-config to find libxml2, falling back to xml2-config if necessary
2022-11-11 16:52:01 -05:00
martinhsv
73f3921230
Merge pull request #2827 from martinhsv/v2/master
Support for PCRE2 in mlogc
2022-11-08 16:27:59 -05:00
Martin Vierula
9c8f8f03d7
Support for PCRE2 in mlogc 2022-11-08 13:04:27 -08:00
Martin Vierula
8fc0b519b7
Support for PCRE2 2022-11-08 08:06:39 -08:00
Hugh McMaster
baa38ddbaf build/find_xml.m4: Check for libxml2 via pkg-config then xml2-config
Debian is taking steps to remove xml2-config in favour of pkg-config.
This means ModSecurity will build without libxml2 support by default
on Debian, Ubuntu and other distributions tracking Debian packages.

This patch modifies build/find_xml.m4 to check for libxml2 via
pkg-config, falling back to xml2-config if necessary.
2022-10-16 18:46:26 +11:00
Martin Vierula
849cd7e848
CHANGES: Preparing for next version 2022-10-14 08:56:01 -07:00
Martin Vierula
dfba4fd24a
Version 2.9.6 v2.9.6 2022-09-07 13:36:13 -07:00
martinhsv
f034a34164
Merge pull request #2799 from martinhsv/v2/master
Adjust parser activation rules in modsecurity.conf-recommended
2022-09-07 15:01:53 -04:00
Martin Vierula
bb372850ac
Adjust parser activation rules in modsecurity.conf-recommended 2022-09-07 11:43:54 -07:00
martinhsv
51a30d7b40
Merge pull request #2797 from martinhsv/v2/master
Multipart parsing fixes and new MULTIPART_PART_HEADERS collection
2022-09-07 14:22:54 -04:00
Martin Vierula
7a489bd07c
Multipart parsing fixes and new MULTIPART_PART_HEADERS collection 2022-09-07 11:09:47 -07:00
martinhsv
e0ff7ed945
Merge pull request #2794 from martinhsv/v2/master
Limit rsub null termination to where necessary
2022-09-06 08:32:00 -04:00