Rainer Gerhards
65f24e82a0
fixed file permissions
2008-04-07 11:23:06 +02:00
Rainer Gerhards
e946e122d0
implemented module unload handling (required a number of interface changes)
2008-03-11 16:43:13 +00:00
Rainer Gerhards
4db62823e7
renamed library module file names to lm*, so that they match the overall
...
scheme (like im* and om*)
2008-03-07 17:26:58 +00:00
Rainer Gerhards
d471e71ada
fixed potential infinite loop condition when module load failed on startup
2008-03-07 16:34:51 +00:00
Rainer Gerhards
549c0cccd4
extracted regexp functionality to its own dynamically loadable module
2008-03-07 16:10:58 +00:00
Rainer Gerhards
b845513270
- wrote doc on how to use the expression engine
...
- changed ABNF to fully support old property names
- added case-insensitive comparison operations
2008-02-28 10:40:34 +00:00
Rainer Gerhards
0a698ab893
implemented STARTSWITH vm instruction
2008-02-26 10:07:49 +00:00
Rainer Gerhards
50ddd3fd7d
added string concatenation operator & to RainerScript
2008-02-25 15:23:57 +00:00
Rainer Gerhards
965c09147c
- added some thoughts on RainerScript
...
- worked a bit on conversion functions
2008-02-24 17:53:16 +00:00
Rainer Gerhards
79ca6100e6
worked a bit on var_t data type conversion
2008-02-22 18:13:01 +00:00
Rainer Gerhards
013073f1a6
changed rsCStrObj name to cstr_t, which is more inline with the rest of
...
rsyslog (now) and also much easier to type
2008-02-21 07:00:29 +00:00
Rainer Gerhards
c6bebca3c7
changed rsCStrDestruct() to use the new interface conventions
2008-02-20 14:02:33 +00:00
Rainer Gerhards
cd2b24dfc4
- added doc on how expressions will work
...
- cleaned up the stringbuf Construct interface
- did some cleanup on stringbuf calls - we now have much better interfaces
and macros
2008-02-19 10:30:42 +00:00
Rainer Gerhards
4e535179ed
somewhat improved performance of rsCStr obj
2008-02-12 10:55:57 +00:00
Rainer Gerhards
a2ae345e18
fixed a bug in stringbuf.c related to STRINGBUF_TRIM_ALLOCSIZE, which
...
wasn't supposed to be used with rsyslog. Put a warning message up that
tells this feature is not tested and probably not worth the effort.
2008-02-12 09:00:45 +00:00
Rainer Gerhards
5c686c8adc
redesigned queue to utilize helper classes for threading support. This is
...
finally in a running state for regular (non disk-assisted) queues, with
a minor nit at shutdown. So I can finally commit the work again to
CVS...
2008-01-24 17:55:09 +00:00
Rainer Gerhards
cfbb74e7a5
implemented disk queue as far as I could without an object de-serializer
2008-01-07 09:51:55 +00:00
Rainer Gerhards
c8b946aa94
performance-tuned stringbuf class
2008-01-07 08:38:14 +00:00
Rainer Gerhards
b083f69942
worked a bit on object serialization
2008-01-06 12:12:57 +00:00
Rainer Gerhards
004229dda6
changed license to GPLv3 (for what is to become rsyslog v3)
2007-12-14 11:21:57 +00:00
Rainer Gerhards
c351fdf539
removed some compiler warnings in regard to signed / unsigned comparison
2007-09-18 13:17:51 +00:00
Rainer Gerhards
e114e0d7e5
- removed compiler warnings in non-debug mode
...
- fixed a bug that caused the CStr class to not honor the parameter to
return NULL on empty string - causes a mem leak and can create
favourable environment for other bugs (as it leads to empty hostnames)
2007-09-11 15:39:00 +00:00
Rainer Gerhards
82aeadce54
- changed part of the CStr interface so that better error tracking is
...
provided and the calling sequence is more intuitive (there were invalid
calls based on a too-weired interface)
- (hopefully) fixed some remaining bugs rooted in wrong use of the CStr
class. These could lead to program abort.
2007-09-05 15:59:47 +00:00
Rainer Gerhards
372de71a1f
changed some calles to CStr class to their "safe" counterpart - they could
...
case program aborts if the object in question was an empty string
2007-09-04 16:30:32 +00:00
Rainer Gerhards
8f236abd49
fixed a memory leak in config file parsing thanks to varmojfekoj for the
...
patch
2007-07-23 13:07:30 +00:00
Rainer Gerhards
4a963e5f1f
code cleanup (removed compiler warnings
2007-07-18 15:16:15 +00:00
Rainer Gerhards
5e649ae5d0
cosmetic: unsigned char changed to uchar
2007-07-16 07:00:28 +00:00
Rainer Gerhards
6d9e5d4e27
integrated patch by Michel Samia to provide regex support for the filter
...
engine - many thanks!
2007-07-16 06:26:39 +00:00
Rainer Gerhards
3f08e1f726
moving towards autotools build system - config.h include forgotten & now
...
fixed
2007-07-11 10:53:58 +00:00
Rainer Gerhards
489a51be23
applied patch from Bartosz Kuzma to compile cleanly under NetBSD; changed a
...
number of char to unsigned char
2007-07-03 16:32:27 +00:00
Rainer Gerhards
53c1a7305e
added support for dynamic file names in selector lines. Can now be created
...
with templates.
2007-07-03 12:39:13 +00:00
Rainer Gerhards
bc6d3e81e8
made "!progname" fully BSD-compliant; added property "programname"
2005-10-19 12:23:42 +00:00
Rainer Gerhards
8dc836cf04
fixing a bug with the "startswith" comparison mode; more work on BSD-style
...
host blocks
2005-10-19 11:33:57 +00:00
Rainer Gerhards
33232dc70b
added support for BSD-style host blocks
2005-10-19 09:37:43 +00:00
Rainer Gerhards
2c7187de39
begin implementing BSD-style program blocks
2005-10-18 16:10:18 +00:00
Rainer Gerhards
d78b0ebd52
begin implementing RFC 3195 support
2005-10-06 10:08:45 +00:00
Rainer Gerhards
7fd25c3318
added the "startwith" property-filter comparison operation
2005-09-26 13:56:21 +00:00
Rainer Gerhards
58d50e9445
added isequal comparison operation; ability to negat comparison operations
...
fixed some bugs
2005-09-26 13:14:03 +00:00
Rainer Gerhards
f75772231a
security hardening of the new "call script" action
2005-09-22 16:08:16 +00:00
Rainer Gerhards
6c2956163d
added capability to filter on any property in selector lines
2005-09-19 15:52:43 +00:00
Rainer Gerhards
3e8ba29e5c
added parsing of property-filter (but not complete property selector line
...
yet)
2005-09-19 10:29:24 +00:00
Rainer Gerhards
e34ca1e7d9
on the way to adding property-based filters - right before changing
...
cfline()
2005-09-15 15:05:11 +00:00
Rainer Gerhards
caf76db7c0
prepared for new parse object; now removed allmost all liblogging borrowed
...
code
2005-09-15 10:33:47 +00:00
Rainer Gerhards
9a39532d95
initial implementation of the counted string class completed (but so far
...
only a very feature-less class). code compiles again.
2005-09-09 12:52:23 +00:00
Rainer Gerhards
602fb17d33
begin adding counted string class - does NOT compile yet!
2005-09-07 16:04:24 +00:00
Rainer Gerhards
8febc25442
fixed a minor bug in usage()
2005-09-07 12:12:39 +00:00
Rainer Gerhards
e4e8ca9234
removed DOS CRLFs from stringbuf.c
2005-09-07 10:04:09 +00:00
Rainer Gerhards
ec78980cb0
removed some #ifdef's BSD because we can do the same on RedHat, too...
2005-04-21 10:33:17 +00:00
Rainer Gerhards
bc5c4c1a38
FreeBSD port
2005-04-21 10:24:32 +00:00
Rainer Gerhards
7ac6b3d6d0
memory leak fixed
2005-02-22 16:24:49 +00:00