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
fd8f26f763
Adds all auditlog related directives to the configuration parser
...
Added the support for the following configuration directives:
- SecAuditLogDirMode
- SecAuditLogStorageDir
- SecAuditEngine
- SecAuditLogFileMode
- SecAuditLog2
- SecAuditLogParts
- SecAuditLog
- SecAuditLogRelevantStatus
- SecAuditLogType
2015-07-10 18:37:42 -03:00
Felipe Zimmerle
fc622c27df
Checks if an assay is relevant to be saved as an auditlog
2015-07-08 18:28:05 -03:00
Felipe Zimmerle
0beae17b4f
Adds 'http_returned_code' property to Assay class
...
To be used by the auditlogs
2015-07-08 18:28:05 -03:00
Felipe Zimmerle
885fe14f30
Adds AuditLogWriter{Serial,Parallel} classes
...
Furhter those classes will be used to persist (or send) the auditlogs.
2015-07-08 18:28:00 -03:00
Felipe Zimmerle
e44d6e280d
Adds actions 'auditlog' and 'noauditlog'
2015-07-08 18:06:46 -03:00
Felipe Zimmerle
71eb27bbe9
Adds a new constructor to Action it now receives kind as parameter
...
The property kind is mandatory to be specified by actions who extends the class
Action. The new constructor make simpler the implementation of new actions.
2015-07-08 18:06:35 -03:00
Felipe Zimmerle
616a2ae6de
Adds AuditLog class
...
The properties related to the Audit Log were saved into the classes
Rules and Dirver, now all those properties will be saved into the
AuditLog class.
2015-07-08 18:05:09 -03:00
Felipe Zimmerle
7ea9ff8836
Code cosmetic: Having the code following our coding style
...
This commit also update some methods parameters to const.
2015-07-08 17:33:29 -03:00
Andrew Hutchings
64a34584cd
Build system fixes
...
1. Fix the build order so "make -j4" works
2. Remove binaries from git tree
3. Add .gitignore file
2015-07-06 15:53:44 -03:00
Felipe Zimmerle
b9507e3969
Decreases the bison requirement from 3.0.4 to 3.0.2
...
Version 3.0.2 seems to be the default package on Ubuntu.
Reported by Andrei Belov - @defanator.
2015-06-30 10:18:06 -03:00
Felipe Zimmerle
721f951154
Adds transformation functions stub
...
Added stub for all transformations functions supported on
ModSecurity 2.9
2015-06-26 17:34:39 -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