summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v3-stable' into betaRainer Gerhards2009-04-027-9/+109
|\ | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * preparing for 3.20.5 releasev3.20.5Rainer Gerhards2009-04-021-0/+8
| |
| * Merge branch 'dapatch' into v3-stableRainer Gerhards2009-04-025-6/+98
| |\
| | * bugfix: potential abort with DA queue after high watermark is reachedRainer Gerhards2009-03-255-6/+98
| | | | | | | | | | | | | | | | | | There exists a race condition that can lead to a segfault. Thanks go to vbernetr, who performed the analysis and provided patch, which I only tweaked a very little bit.
| * | fixed bugs in RainerScriptvarmojfekoj2009-03-162-3/+3
| |/ | | | | | | | | | | | | | | - when converting a number and a string to a common type, both were actually converted to the other variable's type. - the value of rsCStrConvertToNumber() was miscalculated. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | 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.
* | added info if atomic ops are available to rsyslogd -v outputRainer Gerhards2009-01-301-0/+7
| |
* | 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 '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
* | 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
* | 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
| * Merge branch 'beta'Rainer Gerhards2008-10-211-13/+32
| |\
| * | added capability to support multiple module search pathes.Marius Tomaschewski2008-10-202-35/+77
| | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | Merge branch 'beta'Rainer Gerhards2008-10-161-3/+3
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * \ \ Merge branch 'beta'Rainer Gerhards2008-10-091-1/+1
| |\ \ \
| * \ \ \ Merge branch 'beta'Rainer Gerhards2008-10-021-1/+1
| |\ \ \ \
| * | | | | consolidated time calls during msg object creationRainer Gerhards2008-10-021-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...this improves performance and consistency and also fixes a bug where subsecond time properties generated by imfile, imklog and internal messages could be slightly inconsistent.
| * | | | | fixed git merge bug (duplicate code could not be detected)Rainer Gerhards2008-10-021-19/+0
| | | | | |
| * | | | | Merge branch 'master' into helgrindRainer Gerhards2008-10-021-0/+21
| |\ \ \ \ \
| | * \ \ \ \ Merge branch 'beta'Rainer Gerhards2008-10-021-3/+24
| | |\ \ \ \ \
| * | | | | | | removed no longer needed mutex callsRainer Gerhards2008-10-021-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | problem source is that getnameinfo() is not cancel-safe, not that it is not thread-safe. It is now guarded against cancellation.
| * | | | | | | bugfix: segfault when main queue was in direct modeRainer Gerhards2008-10-011-1/+1
| | | | | | | |
| * | | | | | | prevent getnameinfo() from being cancelledRainer Gerhards2008-09-301-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... but removed the mutex, as the problem seems to be in cancel processing, so the mutex is no longer necessary
| * | | | | | | improved threadingRainer Gerhards2008-09-305-13/+35
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - changed sequence when awakening thread - removed no longer needed condition variable - EXPERIMENTALLY added mutex guarding to hostname lookups this is to be removed if it does not have any verifyable useful effect
| * | | | | | some more threading cleanupRainer Gerhards2008-09-262-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - removed newly-introduced potential deadlock in debug system - removed unnecessary pthread_cond_signal - a bit general cleanup
| * | | | | | fixed potential race condition on HUP and terminationRainer Gerhards2008-09-261-0/+2
| | | | | | |
| * | | | | | cleaned up internal debug system code and made it behave better in regard to ↵Rainer Gerhards2008-09-261-129/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | multi-threading
| * | | | | | atomic memory access calls re-enabled in msg.cRainer Gerhards2008-09-231-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | destructor not yet permitted because verification is missing that a atomic opration is sufficient for the job required
| * | | | | | bugfix: proper synchronization on message destructionRainer Gerhards2008-09-192-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code was potentially race, at least on systems where a memory barrier was needed. Fix not fully tested yet.
| * | | | | | bugfix: potential race condition when adding messages to queueRainer Gerhards2008-09-183-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was a wrong order of mutex lock operations. It is hard to believe that really caused problems, but in theory it could and with threading we often see that theory becomes practice if something is only used long enough on a fast enough machine with enough CPUs ;)
| * | | | | | re-enabled gcc builtin atomic operations and added a proper ./configure checkRainer Gerhards2008-09-181-9/+9
| | | | | | |
| * | | | | | ignoring an (acceptable) race in debug systemRainer Gerhards2008-09-181-0/+16
| | | | | | |
| * | | | | | performance optimization: unnecessary time() calls during message parsing ↵Rainer Gerhards2008-09-163-112/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | removed thanks to David Lang for his excellent performance analysis
| * | | | | | Merge branch 'beta'Rainer Gerhards2008-09-123-6/+23
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h tools/syslogd.c
| * | | | | | | added properties "inputname" and "$myhostname"Rainer Gerhards2008-09-103-2/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added message property "inputname", which contains the name of the input (module) that generated it. Presence is depending on suport in each input module (else it is blank). - added system property "$myhostname", which contains the name of the local host as it knows itself.
| * | | | | | | added new capability to property replacer.Zhuang Yuyao2008-09-101-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Multiple immediately successive field delimiters are treated as a single one. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | | | | | | Merge branch 'beta'Rainer Gerhards2008-09-021-5/+5
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c configure.ac doc/manual.html