summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* improved testing supportRainer Gerhards2009-03-191-1/+1
| | | | | | | | | | | | | worked on ways to provide a better test suite: - added -T rsyslogd command line option, enables to specify a directory where to chroot() into on startup. This is NOT a security feature but introduced to support testing. Thus, -T does not make sure chroot() is used in a secure way. (may be removed later) - added omstdout module for testing purposes. Spits out all messages to stdout - no config option, no other features - modified $ModLoad statement so that for modules whom's name starts with a dot, no path is prepended (this enables relative-pathes and should not break any valid current config)
* bugfix: removed (newly introduced) memory leaksRainer Gerhards2009-03-132-6/+3
|
* better readability for compiled VMPrg outputRainer Gerhards2009-03-122-24/+29
|
* initial implementation of RainerScript functions & strlen()Rainer Gerhards2009-03-107-10/+142
| | | | | | | | | | - implemented function support in RainerScript. That means the engine parses and compile functions, as well as executes a few build-in ones. Dynamic loading and registration of functions is not yet supported - but we now have a good foundation to do that later on. NOTE: nested function calls are not yet supported due to a design issue with the function call VM instruction set design. - implemented the strlen() RainerScript function
* fixed a platform issue the prevented building on solarisRainer Gerhards2009-03-061-0/+5
|
* integrated various patches for solarisRainer Gerhards2009-03-059-238/+262
| | | | | | | | | Unfortunatley, I do not have the full list of contributors available. The patch set was compiled by Ben Taylor, and I made some further changes to adopt it to the news rsyslog branch. Others provided much of the base work, but I can not find the names of the original authors. If you happen to be one of them, please let me know so that I can give proper credits.
* fixed newly introduced memory leakRainer Gerhards2009-03-041-1/+4
| | | | (bug created 30 minutes ago or so)
* some optimization on regex codeRainer Gerhards2009-03-041-26/+1
| | | | also some commented-out leftover removed
* added ERE support in filter conditionsRainer Gerhards2009-03-043-11/+37
| | | | new comparison operation "ereregex"
* Merge branch 'beta'Rainer Gerhards2009-02-241-9/+9
|\ | | | | | | | | | | | | | | Conflicts: ChangeLog Makefile.am configure.ac doc/manual.html
| * make all cflags and libs variables uppercaseMichael Biebl2009-02-241-9/+9
| | | | | | | | | | | | pkg-config uses uppercase for its _CFLAGS and _LIBS variable names. So we follow suit and convert all _cflags and _libs variables to uppercase for more consistency.
* | Merge branch 'beta'Rainer Gerhards2009-01-301-0/+7
|\|
| * added info if atomic ops are available to rsyslogd -v outputRainer Gerhards2009-01-301-0/+7
| |
* | Merge branch 'beta'Rainer Gerhards2009-01-301-0/+2
|\|
| * Merge branch 'v3-stable' into beta, conclude fix for raceRainer Gerhards2009-01-302-2/+6
| |\ | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/msg.c
| | * Merge branch 'debian_lenny' into v3-stableRainer Gerhards2009-01-301-12/+7
| | |
| | * bugfix: invalid mutex access in msg.cRainer Gerhards2009-01-302-2/+6
| | |
| * | bugfix: inconsistent use of mutex/atomic operations could cause segfaultRainer Gerhards2009-01-302-7/+8
| | | | | | | | | | | | | | | details are too many, for full analysis see blog post at: http://blog.gerhards.net/2009/01/rsyslog-data-race-analysis.html
* | | Merge branch 'drd-testing'Rainer Gerhards2009-01-292-2/+8
|\ \ \
| * | | bugfix: unitialized mutex was used in msg.c:getPRIRainer Gerhards2009-01-262-2/+8
| | | | | | | | | | | | | | | | | | | | This was subtle, because getPRI is called as part of the debugging code (always executed) in syslogd.c:logmsg.
* | | | fixed atomic operationsRainer Gerhards2009-01-292-7/+6
| | | |
* | | | Merge branch 'beta'Rainer Gerhards2009-01-271-0/+29
|\ \ \ \ | |/ / / |/| / / | |/ / | | | Conflicts: tools/omfile.c
| * | Merge branch 'v3-stable' into betaRainer Gerhards2009-01-271-0/+29
| |\| | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | * Merge branch 'debian_lenny' into v3-stableRainer Gerhards2009-01-121-0/+29
| | | | | | | | | | | | | | | Conflicts: ChangeLog
* | | bufgix: $PreserveFQDN was not properly handled for locally emitted messagesRainer Gerhards2008-12-202-1/+27
| | |
* | | resolved compile problem, e.g. on FreeBSDRainer Gerhards2008-12-082-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | I commented out some debug code that is only useful in some testing scenarios and re-enabled the old code. This solved a FreeBSD compile issue. Also, I fixed some other syntax error, which somehow went into the tree (I am still puzzled about that, especially as some have already and successfully build from that tree... anyhow ;)).
* | | added $PreserveFQDN config file directiveRainer Gerhards2008-12-084-3/+12
| | | | | | | | | | | | Enables to use FQDNs in sender names where the legacy default
* | | fixed some compiler warningsRainer Gerhards2008-12-051-0/+1
| | |
* | | Merge branch 'beta'Rainer Gerhards2008-12-0410-26/+142
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html doc/rsyslog_conf.html plugins/imudp/imudp.c runtime/rsyslog.h
| * | Merge branch 'v3-stable' into betaRainer Gerhards2008-12-048-3/+88
| |\| | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | * bugfix: memory leaks in gtls netstream driverRainer Gerhards2008-12-032-1/+11
| | |
| | * minor: net.c did not compile if GSSAPI support was disabledRainer Gerhards2008-12-031-0/+2
| | |
| | * added interface function to nsd_gtls needed for ACL controlRainer Gerhards2008-12-011-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | The legacy ACL system needs access to the remote sockaddr_storage data structure. This has been implemented for the ptcp driver and now follows for gtls. See recent commits for reason. We also moved up the version numbers in preparation of the release.
| | * bugfix: $AllowedSender handled invalidly for plain TCP transportRainer Gerhards2008-11-295-2/+60
| | |
| * | Merge branch 'v3-stable' into betaRainer Gerhards2008-11-293-23/+54
| |\| | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| | * security bugfix: $AllowedSender was not honored,Rainer Gerhards2008-11-293-23/+54
| | | | | | | | | | | | ...all senders were permitted instead
* | | some cleanup (forgotten...)Rainer Gerhards2008-12-031-4/+1
| | |
* | | bugfix: code did not compile without zlibRainer Gerhards2008-12-031-1/+5
| | |
* | | enhanced legacy syslog parser to detect year if part of the timestampv4.1.0Rainer Gerhards2008-11-181-0/+19
| | | | | | | | | | | | The format is based on what Cisco devices seem to emit.
* | | Merge branch 'beta'Rainer Gerhards2008-11-182-3/+20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html doc/property_replacer.html
| * | Merge branch 'v3-stable' into betaRainer Gerhards2008-11-111-1/+9
| |\| | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog doc/manual.html
| | * enhance: regex nomatch option "ZERO" has been addedRainer Gerhards2008-11-111-0/+2
| | | | | | | | | | | | | | | | | | This allows to return the string 0 if a regular expression is not found. This is probably useful for storing numerical values into database columns.
| | * improved debug output for regular expressions inside property replacerRainer Gerhards2008-11-111-1/+7
| | | | | | | | | | | | | | | | | | RE's seem to be a big trouble spot and I would like to have more information inside the debug log. So I decided to add some additional debug strings permanently.
| * | Merge branch 'master' into betaRainer Gerhards2008-11-1126-327/+622
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | bugfix: double-free in pctp netstream drivervarmojfekoj2008-10-281-2/+11
| | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | added configuration directive "HUPisRestart"Rainer Gerhards2008-10-235-2/+41
| | | | | | | | | | | | | | | ...which enables to configure HUP to be either a full restart or "just" a leightweight way to close open files
* | | added a setting "$OptimizeForUniprocessor"Rainer Gerhards2008-10-228-3/+42
| | | | | | | | | | | | | | | | | | ...to enable users to turn off pthread_yield calls which are counter-productive on multiprocessor machines (but have been shown to be useful on uniprocessors)
* | | Merge branch 'master' into nextmasterRainer Gerhards2008-10-223-38/+80
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Conflicts: ChangeLog configure.ac
| * | Merge branch 'beta'Rainer Gerhards2008-10-211-13/+32
| |\|
| | * bugfix: (potentially big) memory leak on HUPRainer Gerhards2008-10-211-13/+32
| | | | | | | | | | | | | | | | | | - if queues could not be drained before timeout - thanks to David Lang for pointing this out - added link to german-language forum to doc set