Andrei Belov
|
8285a97460
|
Fix memory leak in Collections
This closes #1729.
|
2018-04-05 09:48:51 -03:00 |
|
Hegedüs Ervin
|
8d61a3df90
|
Fix LMDB compile error
|
2018-02-28 08:52:40 -03:00 |
|
Felipe Zimmerle
|
eeec7efb68
|
Renames collection::Variable to VariableValue
|
2018-02-20 13:40:01 -03:00 |
|
Felipe Zimmerle
|
de7c5c89bb
|
Using shared var for variables names
|
2018-02-20 13:40:01 -03:00 |
|
Felipe Zimmerle
|
6f7fdd9493
|
Using direct variable access instead m_collections
|
2018-02-20 13:40:01 -03:00 |
|
Felipe Zimmerle
|
082a3e3287
|
Adds support to SecWebAppID
|
2017-11-08 09:33:14 -03:00 |
|
Felipe Zimmerle
|
2a5085255e
|
Using multiple threads in reading logs via rule message example
|
2017-06-03 16:40:47 -03:00 |
|
Felipe Zimmerle
|
8fbb9e8128
|
Using pthreads to avoid concurrent access to the collection
|
2017-06-03 16:07:35 -03:00 |
|
Felipe Zimmerle
|
36ab4b952f
|
Fix lmdb compilation issue
|
2017-03-06 15:02:00 -03:00 |
|
Felipe Zimmerle
|
e95efa05cc
|
Fix assorted memory and static analysis errors
|
2017-03-06 15:02:00 -03:00 |
|
Felipe Zimmerle
|
f2d149fc5f
|
Extends the direct access model to other collections
|
2017-03-06 15:02:00 -03:00 |
|
Felipe Zimmerle
|
59114dd598
|
Refactoring on the operators parsers (2/2)
This is the first step towards remove the memory leaks in the parser
|
2017-03-06 15:01:50 -03:00 |
|
Felipe Zimmerle
|
e181cb7e0a
|
Fix lmdb collections backend
|
2016-12-30 16:43:56 -03:00 |
|
Felipe Zimmerle
|
a7f465cf3a
|
Avoids string copy by working with pointers while resolving variables
|
2016-12-28 20:00:14 -03:00 |
|
Felipe Zimmerle
|
168fa22e19
|
Collections cleanup: removes resolveFirstCopy method
|
2016-12-28 19:56:27 -03:00 |
|
Felipe Zimmerle
|
6fff8c954a
|
Performance improvement: makes the collections lookup faster
|
2016-12-28 19:55:35 -03:00 |
|
Felipe Zimmerle
|
2244e874e2
|
Moves static methods from class String to the namespace string
|
2016-11-04 16:00:44 -03:00 |
|
Felipe Zimmerle
|
62a0cb468b
|
Renames utils/msc_string.[h|cc] to utils/string.[h|cc]
|
2016-11-04 16:00:42 -03:00 |
|
Felipe Zimmerle
|
4ced1d18e0
|
Using full path in the header inclusion
|
2016-11-04 14:45:01 -03:00 |
|
Felipe Zimmerle
|
507ec44cc2
|
Refactoring on `utils.cc' and adjacents
Completely removed the `utils.cc' by moving residual functions into
sub-classes of `utils/'
|
2016-11-03 20:26:27 -03:00 |
|
Felipe Zimmerle
|
73c4d69174
|
Moves string related functions from utils' to utils/string'
|
2016-11-03 10:47:22 -03:00 |
|
Robert Paprocki
|
049f1abb62
|
Fix compilation error
lmdb.cc fails to compile following commit c680ddf.
|
2016-10-07 19:07:14 -03:00 |
|
Felipe Zimmerle
|
ecd3fd0dc1
|
build: avoids compilation problems due to non existence of the lmdb.h
Based on: 56abe98cb8c791812d46c0902b4e742c8c39620e by @phantom-az
|
2016-09-22 10:28:45 -03:00 |
|
Felipe Zimmerle
|
a1a1c71d6b
|
Makes LMDB support optional
|
2016-09-13 09:51:03 -03:00 |
|
Felipe Zimmerle
|
f723870f18
|
Fix case sensitive variable resolution in in memory backend
Variables are case insensitive
|
2016-07-22 13:34:57 -03:00 |
|
Felipe Zimmerle
|
5d64f73817
|
Makes RULE collection to be resolved inside a macro expansion
|
2016-07-21 13:09:22 -03:00 |
|
Felipe Zimmerle
|
4cf6c714ac
|
Cosmetics: Fix coding style
|
2016-07-12 21:59:17 -03:00 |
|
Felipe Zimmerle
|
4078677b7f
|
Cosmetic changes: applies changes suggested by static analysis
|
2016-07-12 00:46:12 -03:00 |
|
Felipe Zimmerle
|
3f38b56682
|
Renames testdb' to modsec-shared-collections'
|
2016-07-11 14:00:33 -03:00 |
|
Felipe Zimmerle
|
ad481be09e
|
lmdb backend: Adds support to select variables using regex
|
2016-07-11 11:00:06 -03:00 |
|
Felipe Zimmerle
|
de8245d8f9
|
in-memory backend: Adds support to select variables using regex
|
2016-07-11 10:59:43 -03:00 |
|
Felipe Zimmerle
|
833089eb70
|
Adds method resolveFirstCopy to collections
Using the copy whenever it is necessary to avoid memory leak.
|
2016-07-08 10:22:37 -03:00 |
|
Felipe Zimmerle
|
6e4226ee4d
|
Adds support to global collections shared among different process
There is a memory leak in the variable resolution that should be
contained by an internal change in the way that the variables
are resolved.
|
2016-07-07 23:03:47 -03:00 |
|
Felipe Zimmerle
|
5daf4873b5
|
build: Searching for LMDB during the configuration phase
|
2016-07-05 11:56:19 -03:00 |
|
Felipe Zimmerle
|
e231503bc9
|
Simplifies the collection interface
|
2016-07-05 09:48:58 -03:00 |
|
Felipe Zimmerle
|
2477470607
|
Adds support to the resource collection
|
2016-06-24 15:17:29 -03:00 |
|
Felipe Zimmerle
|
9919026620
|
Fixes regarding memory management
Fixes assorted issues identified by valgrind.
|
2016-06-16 00:03:57 -03:00 |
|
Felipe Zimmerle
|
758ecb5d6d
|
Adds support to USER collection, setuid action and USERID variable
More details on: #1026, #1024, #1048
|
2016-05-09 20:27:08 -03:00 |
|
Felipe Zimmerle
|
a2a47798e9
|
Adds support to the collection SESSION and setsid action
|
2016-05-06 14:38:04 -03:00 |
|
Felipe Zimmerle
|
3062ff2aa5
|
Using Collection instead of GlobalCollection
Both has the same methods and characteristics except for the fact that
one is global and the other not. That can be handled by the backend.
|
2016-05-04 22:42:24 -03:00 |
|
Felipe Zimmerle
|
64c4f23a4e
|
Collection class was changed to be a simple interface
InMomoryPerProcess class was added to be used where the old Collection
was used.
|
2016-05-04 22:42:17 -03:00 |
|
Felipe Zimmerle
|
5643d2fa28
|
Warming up to the remote collections support
Huge refactoring to have the code in shape to later support the
remote collections with different backends.
|
2016-05-03 17:39:49 -03:00 |
|