David Carlier
560f81200f
Adding DragonFlyBSD support.
2020-12-10 09:51:03 -03:00
Frank Vanbever
e9bcaf441d
test for uClinux in configure script
...
Signed-off-by: Frank Vanbever <frank.vanbever@essensium.com>
2020-02-04 11:04:31 -03:00
Frank Vanbever
fe84d2bae6
Fail when CANONICAL_HOST cannot be determined
...
When the CANONICAL_HOST is unknown the configure script exits
with exit code 0 even though no makefile was produced.
Signed-off-by: Frank Vanbever <frank.vanbever@essensium.com>
2020-02-04 11:04:31 -03:00
chuckwolber
8af8cad907
Use of AC_CHECK_FILE prevents cross compilation.
...
The use of AC_CHECK_FILE causes the following error when cross compiling:
configure: error: cannot check for file existence when cross compiling
The solution is to check for the file directly instead of using a macro.
Resolves : #1983
2018-12-17 10:19:55 -03:00
Felipe Zimmerle
6cbcdd024f
Fix libInjection version on configure summary
2018-11-01 22:15:23 -03:00
Victor Hora
dce2fed310
Add exception to linker as OpenBSD doesn't like static
2018-09-11 20:45:58 -03:00
Felipe Zimmerle
ae38c23bbe
Adjustments on top of #1790
2018-06-12 21:51:23 -03:00
Guillaume Quintard
544fb50c1a
Add basic pkg-config info
2018-06-12 19:52:37 -03:00
Felipe Zimmerle
2e87c4e751
Fix version number on libtool
2018-04-03 01:51:46 -03:00
Felipe Zimmerle
df169ea108
Adds support for libMaxMind
2018-03-22 19:11:42 -03:00
Ervin Hegedüs
9dff36f598
Added some cosmetics to autoconf related code
2018-02-23 18:37:21 -03:00
Felipe Zimmerle
1189e9b0ef
Adds support to LUA in configure scripts
2017-10-31 09:59:12 -03:00
Felipe Zimmerle
7622866f97
Adds support for @fuzzyHash
...
Issue #997
2017-10-26 17:44:17 -03:00
Felipe Zimmerle
7d786b3350
Makes pm mutex optional via configuration flag
2017-09-26 16:33:31 +00:00
Felipe Zimmerle
224f6ef260
Fix configuration schema on the configure summary
2017-08-27 22:06:20 -03:00
Felipe Zimmerle
20134ef242
Fix examples/using_bodies_in_chunks compilation
2017-06-10 20:40:12 -03:00
Felipe Zimmerle
e2af60e765
Expands log_cb to share ruleMessage structure instead text
...
Text version still available and it is the default options
2017-03-06 15:02:04 -03:00
Felipe Zimmerle
9ea5b475b2
Fix missing initialization on rules-check utility
2017-03-06 15:02:04 -03:00
Felipe Zimmerle
6d61bd6b57
Adds rules-check utility
2017-03-06 15:02:04 -03:00
Felipe Zimmerle
027d50b76b
Adds first version of `processContentOffset'
...
This commit also includes an example application on how to use the
`processContentOffset' method.
2017-03-06 15:02:02 -03:00
Felipe Zimmerle
1e8b374117
Removes the depency on bison/flex if it is not a parser build
2017-03-06 15:01:52 -03:00
Felipe Zimmerle
3eccfaf1f6
Disables parser generation on all builds
...
The parser generation is now an configure option
2017-03-06 15:01:52 -03:00
Felipe Zimmerle
3ab5c8057d
Updates the fuzzer sub-project
2016-11-11 13:05:40 -03:00
Felipe Zimmerle
ee996a8373
Adds configure option to [disa|ena]ble the library examples
2016-11-11 09:39:26 -03:00
Andrei Belov
ee9f3ebc59
configure: conditional creation of Makefiles in test subdir.
2016-07-11 11:08:41 -03:00
Felipe Zimmerle
20689145dd
Renames examples/multithread_c to multiprocess_c
2016-07-07 10:31:35 -03:00
Felipe Zimmerle
5daf4873b5
build: Searching for LMDB during the configuration phase
2016-07-05 11:56:19 -03:00
Felipe Zimmerle
8cdb138076
Adds support to make check-valgrind
...
make check-valgrind is useful to identify any memory related issue.
2016-06-14 14:05:28 -03:00
Felipe Zimmerle
f0155e3f32
Adds support to make check
...
The regression and unit tests are now integrated with `make check`.
It is possible to use make check -jN to have multiple tests running
in parallel.
2016-06-14 09:47:41 -03:00
Felipe Zimmerle
ff165a4035
Adds support to the multithread example
2016-04-26 17:55:05 -03:00
Felipe Zimmerle
c2d9a153cb
Adds support to afl fuzzer in the build system
2015-12-23 00:27:30 -03:00
Felipe Zimmerle
0694cd30ca
Adds support to libxml2 detection on the build system
2015-12-10 11:17:07 -03:00
Felipe Zimmerle
80b82d3707
Adds the Global LDADD option and fed according to the platform
2015-12-01 17:34:18 -03:00
Felipe Zimmerle
854ca4c1cd
Removes libinjection sources from the main project and add it as subfolder
...
That way we can control the CFLAGS that will be sent to libinjection.
Avoiding, for instance, the utilization of c++11 on libinjection c code.
2015-12-01 11:21:28 -03:00
Felipe Zimmerle
a69e49a1b0
Makes DebugLogs optional by compilation flag
2015-11-26 17:11:40 -03:00
Felipe Zimmerle
fbf8ea74f3
Makes YAJL dependency to be optional
2015-11-24 16:03:33 -03:00
Felipe Zimmerle
cf4377df70
Makes libCurl optional during configure
2015-11-24 15:06:34 -03:00
Felipe Zimmerle
d8793e444f
Prints rules language tests version on the configure summary
2015-11-24 13:33:45 -03:00
Felipe Zimmerle
43c9b92163
Adds information about libInjection version at configure summary
2015-11-24 10:42:02 -03:00
Felipe Zimmerle
8c0e96f311
Prints a fancy summary after the configure script
2015-11-20 13:40:02 -03:00
Felipe Zimmerle
b0089cfde9
Adds MODSEC_NO_LOGS option to be part of the configure
2015-10-15 15:47:52 -03:00
Felipe Zimmerle
e94226f1d8
Fix some build issues
...
Optional dependencies were temporarily marked as mandatory, in order
to sort any build problem, later it will be marked as optional again.
2015-08-25 00:25:33 -03:00
Felipe Zimmerle
17f88f5821
Using libpcre instead of c++11 regex
2015-08-03 13:45:09 -03:00
Felipe Zimmerle
76b34af357
Adds support to load remote rules
2015-07-23 14:40:56 -03:00
Felipe Zimmerle
e189055ec3
Adds support to GeoIP operator and variables.
2015-07-20 21:05:14 -03:00
Felipe Zimmerle
8dab5ac30c
Adds whoAmI method to ModSecurity class
...
The method returns information about the ModSecurity's version and the platform
that it was compiled. Further it will be used by the audit logs and by the
connectors. msc_who_am_i was added accordingly, to the C api.
2015-07-10 18:37:48 -03:00
Felipe Zimmerle
2109910848
Adds support to the server ID generation
...
The server ID is a sha-1 identifier generated from the mac address of the first
ethernet device plus the server name. The process is the same used by
ModSecurity 2.9
2015-07-10 18:37:48 -03:00
Felipe Zimmerle
95cb4c56ab
Very first commit: libmodsecurity
...
Check the README.md file for further information about the libmodsecurity.
2015-06-26 14:35:15 -03:00
Felipe Zimmerle
33cbe0452a
Opens space for libmodsecurity
...
Deletes all files in the repository does not seems to be a good idea.
The better approach will be to create a new repository. On other hand
we don't want this to be detached from this main repository. We can
push this to other repository if necessary.
2015-06-26 14:00:07 -03:00
Felipe Zimmerle
0d2d01ba2c
Disables mlogc compilation with Curl was not found
...
This commit automatic disables Curl compilation if Curl development files were
not found on build machine.
2014-12-11 14:47:55 -08:00