26 Commits

Author SHA1 Message Date
Ervin Hegedus
d7b38f034e
Refactor code and build system to use libpcre2 as the default 2025-05-15 21:13:52 +02:00
Martin Vierula
9c8f8f03d7
Support for PCRE2 in mlogc 2022-11-08 13:04:27 -08:00
Martin Vierula
f71498ceff
mlogc log-line parsing fails due to enhanced timestamp 2022-05-27 11:05:37 -07:00
Ishwor Gurung
bd7ee39d2e Allow user to choose between TLS versions(TLSProtocol option introduced). 2016-01-06 15:00:08 -03:00
Elia Pinto
b3ce3da2fc mlogc-batch-load.pl.in: fix searching SecAuditLogStorageDir files with Apache 2.4
Setting SecAuditLogType concurrent the files created by modsecurity in the directory SecAuditLogStorageDir
are of the type

%Y%m%d-%H%M%S-UNIQUE_ID

where UNIQUE_ID is produced by the module mod_unique_id. In apache 2.2
UNIQUE_ID was 24 characters long while in apache 2.4 is 27 characters long,
as a result of the new version of mod_unique_id. This patch extends
the regular expression for searching these  log files for apache 2.4 and apache 2.2,
and also with future releases, at least with regard to the length of UNIQUE_ID

Signed-off-by: Elia Pinto <elia.pinto@gmail.com>
2016-01-04 14:57:43 -03:00
Felipe Zimmerle
6c0cdab35a IIS: Changes Curl version and removes OpenSSL dependency
As the this new Curl version supports well the Windows certificate storage,
removing the dependency on the OpenSSL. Also changing the build scripts to work
accordingly. As the cmake build of Curl is said to broken abandoning it in
favor of the nmake files. Thanks to Gregg Smith and Steffen.
2014-12-11 14:47:59 -08:00
Felipe Zimmerle
9f005c3ded mlgoc: Adds option to enable or disable the SSL checks
Added the configuration option `InsecureNoCheckCert' to the mlogc
configuration file. This option allow to establish connections ignoring
SSL checks.
2014-11-14 17:27:37 -08:00
Felipe Zimmerle
2615a5dfc8 mlogc: Checks if curl supports CURL_SSLVERSION_TLSv1_2 before use it
Seems like curl versions older than 7.34.0 does not have support for
`CURL_SSLVERSION_TLSv1_2'. In this cases, using CURL_SSLVERSION_TLSv1
which was added at version 7.9.2. ModSecurity demands a curl version
newer than 7.15.1.
2014-11-14 11:53:39 -08:00
Felipe Zimmerle
54bf71f8bd mlogc: Changes the default SSL algo to TLS 1.2
As reported by Josh Amishav-Zlatin, mlogc was making usage of SSLv3 instead of
TLS 1.2. Servers should not answer SSLv3 after poodle.
2014-11-14 11:53:39 -08:00
Felipe Zimmerle
1cde4d2dd9 Organizes all Makefile.am
Now using one file per line (sorted). This is the better way
to handle it, since it reduces the possibility of merge conflicts.
2013-12-13 09:44:51 -08:00
Felipe \\\"Zimmerle\\\" Costa
9b7663fa79 iis: Fix mlogc build on windows
The libcurl path was not pointing to the correct directory
2013-11-06 07:04:24 -06:00
Breno Silva
aa18ec7f45 Updated copyright dates 2013-04-19 03:20:46 -04:00
gregwroblewski
e4d2dabe08 Improved IIS build process and more fixes to handle Apache 2.4. 2012-09-02 07:28:07 +00:00
gregwroblewski
092559a585 Added missing functions to make non-Apache versions compile with Apache 2.4. 2012-08-29 23:53:23 +00:00
brenosilva
c19269dc4b Update mlogc code 2012-05-16 18:51:36 +00:00
brenosilva
25d1816c23 MODSEC-282 2012-01-02 16:28:46 +00:00
brenosilva
f3f7d64888 Delete useless files 2011-04-19 18:47:49 +00:00
brenosilva
4aba02a102 rbl improvements 2011-03-31 17:24:31 +00:00
brenosilva
104f0de46e New License 2011-03-30 14:12:44 +00:00
brenosilva
e267c6ffe2 MODSEC-204 2011-02-28 14:22:39 +00:00
brenosilva
549f059480 move 2.5.13 into trunk 2010-12-08 18:58:18 +00:00
b1v1r
3a10f9fb8d Fix autoconf header and include path so trunk builds. 2010-08-31 18:35:55 +00:00
b1v1r
b186e73490 Add some missing files. 2010-07-13 17:03:25 +00:00
b1v1r
8553cab4a7 Moved api examples to "ext" dir and hooked them into autotools for building with "--enable-extentions".
Upgraded to autoconf 2.65.
2010-05-05 23:00:48 +00:00
b1v1r
cea87f4085 Fixed test/test-gregression build targets. 2010-04-27 09:33:56 +00:00
b1v1r
eb6b9274af Redo build system to properly use autotools and avoid compilation with apxs util. 2010-04-25 23:24:09 +00:00