summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* cleaned up internal debug system code and made it behave better in regard to ↵Rainer Gerhards2008-09-261-2/+8
| | | | multi-threading
* bugfix: potential race condition when adding messages to queueRainer Gerhards2008-09-181-4/+3
| | | | | | | 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 ;)
* consolidated time() calls in rule engineRainer Gerhards2008-09-161-3/+0
| | | | | | | ... but did not manage to avoid doing at least one call. So this change introduced performance benefit only in a few non-common situations. Anyhow, it hopefully levels ground for better things to come.
* fixing previous patch, time() call was accidently left inRainer Gerhards2008-09-161-2/+2
| | | | | in one case, which was not on the focus of the initial testing cases.
* performance optimization: unnecessary time() calls during message parsing ↵Rainer Gerhards2008-09-161-24/+28
| | | | | | removed thanks to David Lang for his excellent performance analysis
* Merge branch 'beta'Rainer Gerhards2008-09-121-5/+10
|\ | | | | | | | | | | | | Conflicts: runtime/rsyslog.h tools/syslogd.c
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-09-121-6/+11
| | | | | | | | | | | | | | Conflicts: runtime/datetime.h runtime/rsyslog.h
* | added properties "inputname" and "$myhostname"Rainer Gerhards2008-09-101-4/+19
| | | | | | | | | | | | | | | | - 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.
* | Merge branch 'beta'Rainer Gerhards2008-09-021-1/+49
|\| | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c configure.ac doc/manual.html
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-09-021-1/+49
| | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
* | removed compile time fixed message size limit (was 2K)Rainer Gerhards2008-09-022-44/+48
| | | | | | | | | | The limit can now be set via $MaxMessageSize global config directive (finally gotten rid of MAXLINE ;))
* | Merge branch 'beta'Rainer Gerhards2008-08-131-1/+1
|\| | | | | | | | | | | Conflicts: plugins/imuxsock/imuxsock.c
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-08-131-1/+1
| | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imuxsock/imuxsock.c
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-08-071-2/+12
| | | | | | | | | | | | Conflicts: omfwd.c
* | some very minor cleanupRainer Gerhards2008-08-121-1/+0
| |
* | bugfix: IPv6 addresses could not be specified in forwarding actionsRainer Gerhards2008-08-051-2/+17
| | | | | | | | | | | | New syntax @[addr]:port introduced to enable that. Root problem was IPv6 addresses contain colons. Also somewhat enhanced debugging messages.
* | fixed some minor nits in preperation for 3.21.1Rainer Gerhards2008-07-291-1/+16
| |
* | added testbed for config errors and fixed a bugRainer Gerhards2008-07-291-7/+13
| | | | | | | | | | | | - 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-99/+191
| | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | begun implementing a diagnostic plugin (not yet completed)Rainer Gerhards2008-07-282-0/+2
| |
* | Merge branch 'beta'Rainer Gerhards2008-07-252-3/+3
|\|
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-07-252-3/+3
| | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
* | Merge branch 'beta'Rainer Gerhards2008-07-182-10/+10
|\|
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-07-182-10/+10
| | | | | | | | | | | | | | Conflicts: doc/property_replacer.html tools/syslogd.c
* | added a samll diagnostic tool to obtain result of gethostname() APIRainer Gerhards2008-07-162-1/+51
|/
* Merge branch 'master' into betaRainer Gerhards2008-07-151-2/+2
|
* bugfix: UDP syslog forwarding did not work on all platformsRainer Gerhards2008-07-141-3/+6
| | | | | | the ai_socktype was incorrectly set to 1. On some platforms, this lead to failing name resolution (e.g. FreeBSD 7). Thanks to HKS for reporting the bug.
* cleanup of debugging messages (removed no longer needed ones)Rainer Gerhards2008-07-141-6/+0
|
* temporary: some debug instrumentation to help find a segfault on freebsdRainer Gerhards2008-07-111-0/+6
|
* minor: enhanced debug output (PRI now included)Rainer Gerhards2008-07-091-1/+1
|
* rewriten omusrmsg to no longer fork() a new process for sending messagesRainer Gerhards2008-07-041-107/+81
| | | | | this caused some problems with the threading model, e.g. zombies. Also, it was far less optimal than it is now.
* bugfix: machine certificate was required for client even in TLS anon modeRainer Gerhards2008-07-021-1/+0
| | | | | | 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-011-15/+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-274-38/+49
| | | | | Also added redirector to web description of error codes closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
* begun building a testbenchRainer Gerhards2008-06-131-16/+1
|
* 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-101-1/+1
|
* made rsyslog tickless in the (usual and default) case that repeatedRainer Gerhards2008-06-091-9/+17
| | | | | | message reduction is turned off. More info: http://blog.gerhards.net/2008/06/coding-to-save-environment.html
* somewhat improved plain tcp syslog reliabilityRainer Gerhards2008-06-091-1/+6
| | | | | | ...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
* bugfix: removed some memory leaks in TLS codeRainer Gerhards2008-06-041-7/+21
|
* Merge branch 'ietf-tls'Rainer Gerhards2008-05-271-23/+15
|\
| * changed config directive name to reflect different useRainer Gerhards2008-05-221-23/+15
| | | | | | | | | | | | $ActionSendStreamDriverCertFingerprint is now $ActionSendStreamDriverPermittedPeer and can be used both for fingerprint and name authentication (similar to the input side)
* | Merge branch 'ietf-tls'Rainer Gerhards2008-05-211-18/+77
|\| | | | | | | | | | | Conflicts: ChangeLog
| * first implementation of TLS server client authentication checkRainer Gerhards2008-05-191-15/+35
| | | | | | | | | | | | | | The TLS server now checks the client fingerprint. This works, but is highly experimental. Needs to be refined for practice. Also: - implemented permittedPeers helper construct to store names - changed omfwd implementation to use new permittedPeers
| * regained netstream driver genericity; improved driversRainer Gerhards2008-05-171-3/+9
| | | | | | | | | | | | | | | | | | - made action logic pass optional auth params only if they are actually configured - added new authMode and Fingerprint methods to ptcp netstream driver (keeping them once again generic) - added diagnostics messages when invalid auth modes were configured
| * added first rough ability to authenticate the server against its certificateRainer Gerhards2008-05-161-18/+51
| | | | | | | | | | | | | | | | | | | | This is very experimental and needs some more work. It probably even segfaults - but the base code is there and running. The rest is refinement. While working on this, I did these two bugfixes: - bugfix: small mem leak in omfwd on exit (strmdriver name was not freed) - bugfix: $ActionSendStreamDriver had no effect
* | bugfix: default syslog port was no longer used if none was configured.varmojfekoj2008-05-211-1/+1
|/ | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* added fromhost-ip properties and some bugfixesRainer Gerhards2008-05-161-6/+19
| | | | | | | | | | - bugfix: TCP input modules did incorrectly set fromhost property (always blank) - bugfix: imklog did not set fromhost property - added "fromhost-ip" property - added "RSYSLOG_DebugFormat" canned template - bugfix: hostname and fromhost were swapped when a persisted message (in queued mode) was read in
* added a bit of doc (at least something...)Rainer Gerhards2008-05-082-0/+7
|
* added tool to show fingerprintsRainer Gerhards2008-05-081-0/+2
| | | | | this is required for IETF I-D syslog-transport-tls-12. This is a very rough first prototype