summaryrefslogtreecommitdiffstats
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* moved bParseHostname and bIsParsed to msgFlagsRainer Gerhards2008-10-094-6/+8
| | | | | | This enables us to use more efficient calling conventions and also helps us keep the on-disk structure of a msg object more consistent in future releases.
* restoring msg parsing for imudpRainer Gerhards2008-10-091-0/+1
| | | | | | I tried to work too quick this morning. A side-effect of an earlier change was that no UDP messages were parsed, which lead to their loss, because no PRI was set in this case.
* reordered imudp processing.Rainer Gerhards2008-10-081-6/+21
| | | | | | Message parsing is now done as part of main message queue worker processing (was part of the input thread) This should also improve performance, as potentially more work is done in parallel.
* restructured imudp receive loopRainer Gerhards2008-10-081-60/+85
| | | | | | | | cleaned up previous code and redid it in a way that makes it much easier to extend it also added a new macro DBGPRINTF which is a performance-optimzed version of dbgprintf
* "output" timestamp now taken from mesg's time generatedRainer Gerhards2008-10-073-4/+6
| | | | | | | This enhances performance and, as some have pointed out, is probably also more consistent with what users expect how the various output-timestamp related function should work. This commit needs some more testing.
* simple (yet efficient) name caching added to imudpRainer Gerhards2008-10-071-2/+18
|
* added $UDPServerTimeRequery optionRainer Gerhards2008-10-063-5/+19
| | | | | | | ...which enables to work with less acurate timestamps in favor of performance. This enables querying of the time only every n-th time if imudp is running in the tight receive loop (aka receiving messsages at a high rate)
* Merge branch 'master' into perfRainer Gerhards2008-10-063-3/+0
|\ | | | | | | | | | | Conflicts: ChangeLog
| * consolidated time calls during msg object creationRainer Gerhards2008-10-023-3/+0
| | | | | | | | | | | | ...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.
* | performance-optimized imudpRainer Gerhards2008-10-021-32/+44
| |
* | some code cleanupRainer Gerhards2008-10-021-50/+48
|/ | | | removed code not actually needed in imupd
* Merge branch 'beta'Rainer Gerhards2008-09-221-2/+6
|\
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-09-221-2/+6
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | * bugfix: imudp input module could cause segfault on HUPRainer Gerhards2008-09-221-2/+6
| | | | | | | | | | | | | | | It did not properly de-init a variable acting as a linked list head. That resulted in trying to access freed memory blocks after the HUP.
* | | performance optimization: unnecessary time() calls during message parsing ↵Rainer Gerhards2008-09-162-4/+4
| | | | | | | | | | | | | | | | | | removed thanks to David Lang for his excellent performance analysis
* | | added properties "inputname" and "$myhostname"Rainer Gerhards2008-09-105-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | | removed compile time fixed message size limit (was 2K)Rainer Gerhards2008-09-027-21/+81
| | | | | | | | | | | | | | | The limit can now be set via $MaxMessageSize global config directive (finally gotten rid of MAXLINE ;))
* | | Merge branch 'beta'Rainer Gerhards2008-08-151-3/+15
|\| | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | Merge branch 'v3-stable' into betaRainer Gerhards2008-08-151-3/+15
| |\| | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/rsyslog_ng_comparison.html
| | * fixed cross-platform compile problem introduced with recent changeRainer Gerhards2008-08-151-6/+13
| | | | | | | | | | | | ...which fixed the imfile segfault issue.
| | * bugfix: imfile could cause a segfault upon rsyslogd HUP and terminationRainer Gerhards2008-08-141-2/+7
| | | | | | | | | | | | | | | Thanks to lperr for an excellent bug report that helped detect this problem.
* | | Merge branch 'beta'Rainer Gerhards2008-08-131-3/+21
|\| | | | | | | | | | | | | | | | | Conflicts: plugins/imuxsock/imuxsock.c
| * | Merge branch 'v3-stable' into betaRainer Gerhards2008-08-132-4/+22
| |\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imuxsock/imuxsock.c
| | * disabled flow control for imuxsockRainer Gerhards2008-08-131-1/+1
| | | | | | | | | | | | | | | | | | It could cause system hangs under some circumstances. The devel (3.21.3 and above) will re-enable it and provide enhanced configurability to overcome the problems if they occur.
| | * enhanced ommysql to support custom port to connect to serverRainer Gerhards2008-08-121-3/+21
| | | | | | | | | | | | | | | | | | Port can be set via new $ActionOmmysqlServerPort config directive Note: this was a very minor change and thus deemed appropriate to be done in the stable release.
* | | added ability to specify flow control mode for imuxsockRainer Gerhards2008-08-081-3/+21
| | |
* | | bugfix: IPv6 addresses could not be specified in forwarding actionsRainer Gerhards2008-08-051-0/+5
| | | | | | | | | | | | | | | | | | New syntax @[addr]:port introduced to enable that. Root problem was IPv6 addresses contain colons. Also somewhat enhanced debugging messages.
* | | enhanced ommail to support multiple email recipients.Rainer Gerhards2008-08-041-18/+93
| | | | | | | | | | | | | | | | | | | | | This is done by specifying $ActionMailTo multiple times. Note that this introduces a small incompatibility to previous config file syntax: the recipient list is now reset for each action (we honestly believe that will not cause any problem - apologies if it does).
* | | added $InputUnixListenSocketHostName config directiveRainer Gerhards2008-08-011-11/+30
| | | | | | | | | | | | | | | | | | It permits to override the hostname being used on a local unix socket. This is useful for differentiating "hosts" running in several jails. Feature was suggested by David Darville, thanks for the suggestion.
* | | begun implementing a diagnostic plugin (not yet completed)Rainer Gerhards2008-07-282-0/+203
|/ /
* | Merge branch 'v3-stable' into betaRainer Gerhards2008-07-251-1/+1
|\| | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * Update man pages, fix a small typoMichael Biebl2008-07-211-1/+1
| | | | | | | | | | | | | | - Update the version number and date in the man pages - s/imklogd/imklog/ Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | Merge branch 'v3-stable' into betaRainer Gerhards2008-07-181-0/+1
|\| | | | | | | | | | | | | Conflicts: doc/property_replacer.html tools/syslogd.c
| * bugfix: remove PRI part from kernel message if it is presentRainer Gerhards2008-07-181-0/+1
| |
* | Merge branch 'master' into betaRainer Gerhards2008-07-1551-255/+446
|\ \ | |/ |/|
| * cleanup of debugging messages (removed no longer needed ones)Rainer Gerhards2008-07-141-1/+0
| |
| * some more changes to cater for new LogError() interfaceRainer Gerhards2008-07-013-16/+16
| |
| * Merge branch 'beta'Rainer Gerhards2008-07-011-3/+5
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | applied ErrLog interface change to ommailRainer Gerhards2008-07-011-2/+2
| | |
| * | added (internal) error codes to error messagesRainer Gerhards2008-06-2710-40/+41
| | | | | | | | | | | | | | | Also added redirector to web description of error codes closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
| * | bugfix: gtls und ptcp netstream driver communicated invalid iRetRainer Gerhards2008-06-241-1/+1
| | | | | | | | | | | | This was introduced due to recent interface change.
| * | disabled compile warnings caused by third-party librariesRainer Gerhards2008-06-231-0/+6
| | |
| * | changed Rcv-Interface in tcpsrv subsystemRainer Gerhards2008-06-232-27/+32
| | | | | | | | | | | | | | | | | | 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)
| * | Merge branch 'beta'Rainer Gerhards2008-06-122-3/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imklog/linux.c
| * | | Remove .cvsignore files, add .gitignore.Michael Biebl2008-06-1114-84/+0
| | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | | bugfix: removed some memory leaks in TLS codeRainer Gerhards2008-06-041-0/+1
| | | |
| * | | Merge branch 'beta'Rainer Gerhards2008-05-211-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | | first implementation of TLS server client authentication checkRainer Gerhards2008-05-191-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | added fromhost-ip properties and some bugfixesRainer Gerhards2008-05-165-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| * | | | fixed potential segfault due to invalid call to cfsyslinevarmojfekoj2008-05-143-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | thanks to varmojfekoj for the patch Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>