summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Separate macro file for atomic operationsMichael Biebl2009-02-242-46/+54
| | | | | | To unclutter configure.ac and to make it easier re-usable, move the check for atomic operations into a separate m4 macro file and call the macro RS_ATOMIC_OPERATIONS (RS for RSyslog)
* Split the m4 macros into a separate directoryMichael Biebl2009-02-243-0/+4
|
* Use pkg-config for GnuTLS configure checkMichael Biebl2009-02-241-22/+2
| | | | | | Use PKG_CHECK_MODULES instead of libgnutls-config to get the compilation flags (vastly simpler). Set minimum version to 2.4.2, as that is the oldest version I could test with.
* Call PKG_PROG_PKG_CONFIG m4 macro unconditionally.Michael Biebl2009-02-241-0/+2
| | | | | | | As all the calls to PKG_CHECK_MODULES are conditional, it can happen that PKG_PROG_PKG_CONFIG is not called (i.e. if you not use --enable-relp). So we enforce a check for pkg-config by adding it to the global checks.
* make all cflags and libs variables uppercaseMichael Biebl2009-02-2424-80/+80
| | | | | | 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.
* prepared for 3.21.10 releasev3.21.10Rainer Gerhards2009-02-023-3/+3
|
* added info if atomic ops are available to rsyslogd -v outputRainer Gerhards2009-01-302-0/+12
|
* Merge branch 'v3-stable' into beta, conclude fix for raceRainer Gerhards2009-01-304-3/+13
|\ | | | | | | | | | | Conflicts: ChangeLog runtime/msg.c
| * finished adding race condition fix (mostly done by merge)Rainer Gerhards2009-01-301-0/+3
| |
| * Merge branch 'debian_lenny' into v3-stableRainer Gerhards2009-01-301-12/+7
| |\
| | * fixed copy&paste errorRainer Gerhards2009-01-281-3/+3
| | | | | | | | | | | | | | | ... one should at least compile before comitting - sorry, been so eager to push that out.
| | * bugfix: proper message locking on message destructRainer Gerhards2009-01-271-12/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It looks like a race was introduced by not locking the message mutex in msgDestruct(). In theory, I thought, the decrement should be atomic, but the whole operation may be reordered. Also it has potential for task switches. If so, that would lead to a too-early destruction and thus a potential double free - exactly what we have seen from time to time. So I think this fix addresses the issue. I have also removed anything that looks like atomic operations are supported in this version - they are not. This was very late added, found to be non-portable and pulled from that release.
| * | bugfix: invalid mutex access in msg.cRainer Gerhards2009-01-304-3/+10
| | |
* | | bugfix: inconsistent use of mutex/atomic operations could cause segfaultRainer Gerhards2009-01-303-7/+11
| | | | | | | | | | | | | | | details are too many, for full analysis see blog post at: http://blog.gerhards.net/2009/01/rsyslog-data-race-analysis.html
* | | Merge branch 'v3-stable' into betaRainer Gerhards2009-01-274-29/+80
|\| | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | prepared for 3.20.3 releasev3.20.3Rainer Gerhards2009-01-193-2/+4
| | |
| * | Merge branch 'debian_lenny' into v3-stableRainer Gerhards2009-01-122-0/+38
| |\| | | | | | | | | | | | | Conflicts: ChangeLog
| | * fixed a potential segfault condition with $AllowedSender directiveRainer Gerhards2009-01-122-0/+33
| | | | | | | | | | | | | | | | | | On HUP, the root pointers were not properly cleaned up. Thanks to Michael Biebel, olgoat, and Juha Koho for reporting and analyzing the bug.
| * | Merge branch 'debian_lenny' into v3-stableRainer Gerhards2008-12-183-29/+38
| |\|
| | * Merge branch 'v2-stable' into debian_lennyRainer Gerhards2008-12-183-22/+33
| | |\
| | | * bugfix: "$CreateDirs off" also disabled file creationRainer Gerhards2008-12-182-20/+27
| | | | | | | | | | | | | | | | | | | | Thanks to William Tisater for analyzing this bug and providing a patch. The actual code change is heavily based on William's patch.
| | * | doc bugfix: some spelling errors in man pages correctedGeoff Simmons2008-12-182-9/+11
| | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | bugfix: the string "Do Die" was accidently emited upon exit in non-debug modevarmojfekoj2009-01-152-2/+6
| | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | some legacy options were not correctly processedvarmojfekoj2008-12-102-3/+8
| | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | Merge branch 'v3-stable' into betaRainer Gerhards2008-12-102-3/+15
|\| | | | | | | | | | | | | | | | | | | Conflicts: tools/syslogd.c
| * | | Merge branch 'debian_lenny' into v3-stableRainer Gerhards2008-12-102-3/+14
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html net.h plugins/imtcp/imtcp.c plugins/imudp/imudp.c runtime/net.c runtime/rsyslog.h tcps_sess.c tcpsrv.c
| | * | some legacy options were not correctly processedvarmojfekoj2008-12-102-3/+6
| | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| | * | backport of $AllowedSender security fixv3.18.6Rainer Gerhards2008-12-0811-54/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - security bugfix: $AllowedSender was not honored, all senders were permitted instead (see http://www.rsyslog.com/Article322.phtml) (backport from v3-stable, v3.20.9) - minor bugfix: dual close() call on tcp session closure
| * | | doc bugfix: v3-compatiblity document had typo in config directiveRainer Gerhards2008-12-052-3/+5
| | | | | | | | | | | | | | | | thanks to Andrej for reporting this
* | | | Merge branch 'v3-stable' into betav3.21.9Rainer Gerhards2008-12-044-5/+38
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imudp/imudp.c
| * | | security fix: imudp emitted a message when a non-permitted sender...v3.20.2Rainer Gerhards2008-12-044-5/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...tried to send a message to it. This behaviour is operator-configurable. If enabled, a message was emitted each time. That way an attacker could effectively fill the disk via this facility. The message is now emitted only once in a minute (this currently is a hard-coded limit, if someone comes up with a good reason to make it configurable, we will probably do that).
* | | | prep for 3.21.8 release, added security advisory urlv3.21.8Rainer Gerhards2008-12-041-1/+1
| | | |
* | | | Merge branch 'v3-stable' into betaRainer Gerhards2008-12-0412-15/+112
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | added proper release datev3.20.1Rainer Gerhards2008-12-041-1/+1
| | | |
| * | | bugfix: memory leaks in gtls netstream driverRainer Gerhards2008-12-033-1/+17
| | | |
| * | | bugfix: memory leak if sender was not permittedRainer Gerhards2008-12-031-6/+10
| | | |
| * | | 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-013-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-296-4/+63
| | | |
* | | | clarified inclusion of security fix in ChangeLogRainer Gerhards2008-11-291-0/+2
| | | | | | | | | | | | | | | | | | | | This was imported from v3-stable, but it is important enough to justify a duplicate entry in ChangeLog.
* | | | Merge branch 'v3-stable' into betaRainer Gerhards2008-11-298-46/+66
|\| | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| * | | minor cleanupRainer Gerhards2008-11-292-1/+2
| | | |
| * | | security bugfix: $AllowedSender was not honored,Rainer Gerhards2008-11-297-43/+64
| | | | | | | | | | | | | | | | ...all senders were permitted instead
| * | | doc bugfix: propertiey-based filter modes had inconsistencyRainer Gerhards2008-11-211-3/+1
| | | |
* | | | bugfix: imklog did not compile on freeBSDRainer Gerhards2008-11-244-3/+18
| | | |
* | | | Merge branch 'v3-stable' into betaRainer Gerhards2008-11-182-2/+6
|\| | |
| * | | Merge branch 'v2-stable' into v3-stableRainer Gerhards2008-11-182-2/+6
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | Conflicts: ChangeLog
| | * | bugfix: removed memory leak in ompgsqlKen2008-11-182-2/+6
| | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | preparing for 3.12.7 releasev3.21.7Rainer Gerhards2008-11-111-0/+4
| | | |
* | | | Merge branch 'v3-stable' into betaRainer Gerhards2008-11-117-8/+118
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog doc/manual.html