summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-09-021-5/+5
| | | | | | | | | | | | | | | | Conflicts: ChangeLog 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 'v3-stable' into betaRainer Gerhards2008-07-251-2/+2
| | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
* | Merge branch 'beta'Rainer Gerhards2008-07-181-0/+26
|\|
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-07-181-0/+26
| | | | | | | | | | | | | | Conflicts: doc/property_replacer.html tools/syslogd.c
* | 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 (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)
* disabled in-depth GnuTLS debugging aidRainer Gerhards2008-06-231-0/+2
| | | | | | | This is a debug aid, only. Note that it may reveal sensitive information, so it should never be active in production code. Currently, this is a compile-time switch and requires code changes to (de)activate.
* bugfix: some error states were swappedRainer Gerhards2008-06-202-6/+29
| | | | | | | | ... in gnutls code, resulting in some hard too understand error messages. Also genereally improved certificate error messages a bit. Also, added GnuTLS debugging support.
* begun step-by-step guide for TLS protected syslogRainer Gerhards2008-06-182-2/+2
|
* begun building a testbenchRainer Gerhards2008-06-135-2/+1303
|
* Fix linker flags for librsyslog and rsyslogdMichael Biebl2008-06-111-1/+1
| | | | | | | | | | Use $(dl_libs) and $(rt_libs) instead of -ldl and -lrt. This ensures that rsyslog can be successfully built on *BSD. Don't like rsyslogd against $(dl_libs) and $(rt_libs) anymore. This functionality is now in librsyslog. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* fixed syntax error (typo in var name) and cleaupRainer Gerhards2008-06-102-8/+4
|
* somewhat improved plain tcp syslog reliabilityRainer Gerhards2008-06-095-1/+54
| | | | | | ...by doing a connection check before sending. Credits to Martin Schuette for providing the idea. Details are available at http://blog.gerhards.net/2008/06/reliable-plain-tcp-syslog-once-again.html
* fixed a bug with the new property replacer optionRainer Gerhards2008-06-071-1/+1
| | | | | there was a copy&paste error in the timereported property - thanks to Elizabeth for reporting it
* added new property replacer option "time-subseconds"Rainer Gerhards2008-06-064-1/+70
| | | | enables to query just the subsecond part of a high-precision timestamp
* preparing 3.19.6v3.19.6Rainer Gerhards2008-06-061-1/+1
|
* enhanced property replacer to support multiple regex matchesRainer Gerhards2008-06-041-5/+28
|
* bugfix: off-by-one bug during certificate checkRainer Gerhards2008-06-041-2/+4
|
* bugfix: part of permittedPeer structure was not correctly initializedRainer Gerhards2008-06-031-2/+1
| | | | thanks to varmojfekoj for spotting this
* capability for replacement text in no match regex case addedRainer Gerhards2008-05-301-13/+18
| | | | | | implemented in property replacer: if a regular expression does not match, it can now either return "**NO MATCH** (default, as before), a blank property or the full original property text
* enhanced property replacer's regex to support submatchesRainer Gerhards2008-05-291-7/+21
| | | | | | | - enabled Posix ERE expressions inside the property replacer (previously BRE was permitted only) - provided ability to specify that a regular expression submatch shall be used inside the property replacer
* Merge branch 'ietf-tls'Rainer Gerhards2008-05-277-57/+1088
|\