summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | 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
| * | | | | | | | removed compile time fixed message size limit (was 2K)Rainer Gerhards2008-09-023-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The limit can now be set via $MaxMessageSize global config directive (finally gotten rid of MAXLINE ;))
| * | | | | | | | some very minor cleanupRainer Gerhards2008-08-121-1/+0
| | | | | | | | |
| * | | | | | | | added testbed for config errors and fixed a bugRainer Gerhards2008-07-292-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - bugfix: no error was reported if the target of a $IncludeConfig could not be accessed. - added testbed for common config errors
| * | | | | | | | enhanced configuration file error reporting and verificationRainer Gerhards2008-07-293-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - enhanced config file checking - no active actions are detected - added -N rsyslogd command line option for a config validation run (which does not execute actual syslogd code and does not interfere with a running instance) - somewhat improved emergency configuration. It is now also selected if the config contains no active actions - rsyslogd error messages are now reported to stderr by default. can be turned off by the new "$ErrorMessagesToStderr off" directive Thanks to HKS for suggesting these new features.
| * | | | | | | | Merge branch 'beta'Rainer Gerhards2008-07-251-2/+2
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'beta'Rainer Gerhards2008-07-181-0/+26
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge branch 'tests'Rainer Gerhards2008-07-156-5/+117
| |\ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | changed RainerScript testbench to a full-blow test suiteRainer Gerhards2008-07-072-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it now works based on test case files, which enable to quickly generate test cases.
| | * | | | | | | | | | added capability to create a printable string of a vmprgRainer Gerhards2008-07-076-5/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed so that we can create simple testbenches which will check the result of a test (a generated program) via a simple strcmp.
* | | | | | | | | | | | bugfix: double-free in pctp netstream drivervarmojfekoj2008-10-281-2/+11
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | | | | | | | | 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
* | | | | | | | | | increased maximum size of a configuration statement to 4K (was 1K)Rainer Gerhards2008-10-161-3/+3
| |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | Merge branch 'v3-stable' into betaRainer Gerhards2008-10-091-1/+1
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | bugfix: subseconds where not correctly extracted from a timestampRainer Gerhards2008-10-021-1/+1
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | if that timestamp did not contain any subsecond information (the resulting string was garbagge but should have been "0", what it now is).
* | | | | | | Merge branch 'v3-stable' into betaRainer Gerhards2008-10-021-3/+24
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/net.c
* | | | | | fixed duplicate error numberRainer Gerhards2008-09-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This probably happened during a branch merge and was not detected. Fixed now, should not haved any harm.
* | | | | | Merge branch 'v3-stable' into betaRainer Gerhards2008-09-123-5/+22
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/datetime.h runtime/rsyslog.h
* | | | | Merge branch 'v3-stable' into betaRainer Gerhards2008-09-021-5/+5
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
* | | | Merge branch 'v3-stable' into betaRainer Gerhards2008-07-251-2/+2
| |_|/ |/| | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
* | | Merge branch 'v3-stable' into betaRainer Gerhards2008-07-181-0/+26
|/ / | | | | | | | | | | | | Conflicts: doc/property_replacer.html tools/syslogd.c
* | bugfix (cosmetical): authorization was not checked when gtls handshake ↵varmojfekoj2008-07-151-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | completed immediately. While this sounds scary, the situation can not happen in practice. We use non-blocking IO only for server-based gtls session setup. As TLS requires the exchange of multiple frames before the handshake completes, it simply is impossible to do this in one step. However, it is useful to have the code path correct even for this case - otherwise, we may run into problems if the code is changed some time later (e.g. to use blocking sockets). Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | bugfix: priority was incorrectly calculated on FreeBSD 7Rainer Gerhards2008-07-141-6/+10
| | | | | | | | | | | | because the LOG_MAKEPRI() C macro has a different meaning there (it is just a simple addition of faciltity and severity). I have changed this to use own, consistent, code for PRI calculation.
* | cleanup of debugging messages (removed no longer needed ones)Rainer Gerhards2008-07-142-5/+0
| |
* | Merge branch 'beta' - important mutex bugfixRainer Gerhards2008-07-141-2/+29
| | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/Makefile.am doc/manual.html
* | bugfix: bad memory leak in disk-based queue modesRainer Gerhards2008-07-091-21/+8
| |
* | Merge branch 'beta'Rainer Gerhards2008-07-071-1/+1
|/
* bugfix: machine certificate was required for client even in TLS anon modeRainer Gerhards2008-07-024-18/+25
| | | | | | Reference: http://bugzilla.adiscon.com/show_bug.cgi?id=85 The fix also slightly improves performance by not storing certificates in client sessions when there is no need to do so.
* Merge branch 'beta'Rainer Gerhards2008-07-012-10/+7
| | | | | | | | | | | | | | | Conflicts: ChangeLog conf.c doc/Makefile.am doc/manual.html omfwd.c plugins/omgssapi/omgssapi.c This was a bit hard to merge; if there are problems, they may be in the area of the new "comment in action line" code that came from the beta.
* added (internal) error codes to error messagesRainer Gerhards2008-06-2711-106/+123
| | | | | Also added redirector to web description of error codes closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
* reduced number of compile warnings in -pedantic gcc modeRainer Gerhards2008-06-2714-57/+53
|
* misc small changes: corrected version, removed some debug output,Rainer Gerhards2008-06-271-2/+1
| | | | | | ..., restructured makefile, added some troubleshooting to test case (program rscript-parse.c has problem due to different structure alignment, where I do not yet know the reason)
* bugfix: gtls always read only 8 bytes per recv callRainer Gerhards2008-06-251-1/+1
|
* fixed invalid state checking inside gtls retry handlerRainer Gerhards2008-06-251-1/+1
|
* gnu error status must be set after retry operationRainer Gerhards2008-06-241-0/+2
| | | | ... otherwise, we check an invalid error state.
* bugfix: gtls und ptcp netstream driver communicated invalid iRetRainer Gerhards2008-06-242-3/+12
| | | | This was introduced due to recent interface change.
* improved gtls error reportingRainer Gerhards2008-06-241-1/+3
|
* added support for EGAIN while trying to receive data on gTLS sessionRainer Gerhards2008-06-244-19/+127
| | | | | | | | | This maps to bugzilla bug 83: http://bugzilla.adiscon.com/show_bug.cgi?id=83 This is the first test version, posted to user for repro of the problem. It contains code to handle the case, HOWEVER, I have not been able to test it in a scenario where a retry actually happens while receiving (I dont't get this in my environment). So I assume it is buggy and will probably not work.
* disabled compile warnings caused by third-party librariesRainer Gerhards2008-06-234-0/+12
|
* changed Rcv-Interface in tcpsrv subsystemRainer Gerhards2008-06-233-4/+14
| | | | | | It is now iRet based. This enables us to communicate more in-depth information to the upper peers. This is needed to handle the EGAIN case on rcv (not yet implemented)