summaryrefslogtreecommitdiffstats
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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.
* 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>
* bugfix: remove PRI part from kernel message if it is presentRainer Gerhards2008-07-181-0/+1
|
* bugfix: mark messages were not correctly written to text log filesRainer Gerhards2008-07-151-0/+2
| | | | | | | the markmessageinterval was not correctly propagated to all places where it was needed. This resulted in rsyslog using the default (20 minutes) in some code pathes, what looked to the user like mark messages were never written.
* bugfix: comments after actions were not properly treated.Rainer Gerhards2008-06-251-14/+7
| | | | | For some actions (e.g. forwarding(, this could also lead to invalid configuration.
* changed default for i$KlogSymbolLookup to "off"Rainer Gerhards2008-06-122-3/+2
|
* bugfix: imklog went into an endless loop if a PRI value was insideRainer Gerhards2008-05-211-1/+1
| | | | | | a kernel log message This is an unusual case under Linux, and a frequent one under BSD
* Merge branch 'v3-stable' into betaRainer Gerhards2008-05-162-5/+5
|\
| * fixed potential segfault due to invalid call to cfsyslinevarmojfekoj2008-05-142-5/+5
| | | | | | | | | | | | thanks to varmojfekoj for the patch Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * fixed a bug in imklog which lead to startup problemsRainer Gerhards2008-05-021-1/+0
| | | | | | | | | | ... (including segfault) on some platforms under some circumsances. Thanks to Vieri for reporting this bug and helping to troubleshoot it.
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-04-111-22/+31
| |\ | | | | | | | | | | | | | | | Conflicts: configure.ac
* | | restored debug outputRainer Gerhards2008-05-022-17/+17
| | |
* | | bugfix: segfault in imklogRainer Gerhards2008-04-301-1/+0
| | | | | | | | | | | | | | | A symbol file was closed when it couldn't opened. That lead to a NULL pointer being passed to fclose()
* | | uncommented dbgprintf's as I think these may be the trouble sourceRainer Gerhards2008-04-293-22/+21
| | | | | | | | | | | | this callback is somewhat unportable in combination with dlopen()
* | | perparing for klog debugRainer Gerhards2008-04-282-33/+32
| | | | | | | | | | | | ... and some cleanup
* | | final work for release of v3.17.1v3.17.1Rainer Gerhards2008-04-151-1/+1
| | |
* | | Merge branch 'bsd-port'Rainer Gerhards2008-04-158-589/+929
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog plugins/imklog/imklog.c
| * | | fix compiler warning on char/ucharRainer Gerhards2008-04-141-3/+3
| | | |
| * | | cleanup of imklog + addtl. config directivesRainer Gerhards2008-04-146-83/+108
| | | | | | | | | | | | | | | | | | | | | | | | - implemented $KLogInternalMsgFacility config directive - implemented $KLogPermitNonKernelFacility config directive - modified internal interfaces
| * | | provided ability to discard non-kernel messages present in the kernel msg bufferRainer Gerhards2008-04-142-37/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This obviously happens on BSD (<118> markers seen). We now have the ability to allow or prevent it, with the default being not permitted. Should not at all affect other drivers, but it is implemented on a common code basis, not on the driver layer.
| * | | implemented high precision timestamps for the kernel log.Rainer Gerhards2008-04-122-42/+38
| | | | | | | | | | | | | | | | | | | | Thanks to Michael Biebl for pointing out that the kernel log did not have them.
| * | | removed trailing whitespaceRainer Gerhards2008-04-101-1/+1
| | | |
| * | | Add ENABLE_IMKLOG_LINUXMichael Biebl2008-04-101-2/+3
| | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | | Add missing includeMichael Biebl2008-04-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | bsd.c uses strchr, strlen and memmove, so include string.h Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | | implemented klog driver for BSDRainer Gerhards2008-04-094-51/+68
| | | |
| * | | fixed build system for BSDRainer Gerhards2008-04-091-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | It's a hack, but at least it works now - on BSD. Will check later if it is fine on Linux, too. Any better method of doing things is happily accepted ;)
| * | | updated build system to detect correct klog driverRainer Gerhards2008-04-091-1/+10
| | | |
| * | | pulled FreeBSD's klog functionality as a baseRainer Gerhards2008-04-091-0/+151
| | | |
| * | | changed imklog to a driver interfaceRainer Gerhards2008-04-085-482/+599
| | | | | | | | | | | | | | | | | | | | | | | | imklog now uses os-specific drivers. The initial "set" contains the linux driver. This is a prequisite for BSD klog, which can now be implemented on that driver interface.
* | | | some cleanupRainer Gerhards2008-04-113-3/+3
| | | |
* | | | removed dependency on MAXHOSTNAMELEN as much as it made sense.Rainer Gerhards2008-04-102-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GNU/Hurd does not define it (because it has no limit), and we have taken care for cases where it is undefined now. However, some very few places remain where IMHO it currently is not worth fixing the code. If it is not defined, we have used a generous value of 1K, which is above IETF RFC's on hostname length at all. The memory consumption is no issue, as there are only a handful of this buffers allocated *per run* -- that's also the main reason why we consider it not worth to be fixed any further.
* | | | Merge branch 'v3-stable' into MAXHOSTNAMELENRainer Gerhards2008-04-101-22/+31
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | Conflicts: configure.ac
| * | bugfix: omsnmp had a too-small sized buffer for hostname+port.Rainer Gerhards2008-04-101-22/+31
| | | | | | | | | | | | | | | This could not lead to a segfault, as snprintf() was used, but could cause some trouble with extensively long hostnames.
* | | Merge branch 'beta'Rainer Gerhards2008-04-085-161/+87
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: syslogd.c
| * | Merge branch 'v3-stable' into betaRainer Gerhards2008-04-085-161/+87
| |\|
| | * cleanup and bugfix in imklogRainer Gerhards2008-04-085-161/+87
| | | | | | | | | | | | | | | | | | | | | - some cleanup in imklog - bugfix: potential segfault in imklog when kernel is compiled without /proc/kallsyms and the file System.map is missing. Thanks to Andrea Morandi for pointing it out and suggesting a fix.
* | | Merge branch 'beta'Rainer Gerhards2008-04-083-452/+345
|\| |
| * | Merge branch 'v3-stable' into betaRainer Gerhards2008-04-083-452/+345
| |\|
| | * bugfix: imklog did not work well with kernel 2.6+.Rainer Gerhards2008-04-083-452/+345
| | | | | | | | | | | | | | | | | | Thanks to Peter Vrabec for patching it based on the development in sysklogd - and thanks to the sysklogd project for upgrading klogd to support the new functionality.
* | | Merge branch 'beta'Rainer Gerhards2008-04-081-0/+3
|\| |
| * | Merge branch 'v3-stable' into betaRainer Gerhards2008-04-081-0/+3
| |\|
| | * bugfix: omsnmp did not deref errmsg object on exit (no bad effects caused)Rainer Gerhards2008-04-081-0/+3
| | |
| * | added librelp check via PKG_CHECK thanks to Michael Biebl's patchRainer Gerhards2008-04-022-4/+4
| |/
* | finalized mail output supportRainer Gerhards2008-04-081-6/+30
| |
* | finishing core ommail pluginRainer Gerhards2008-04-081-20/+85
| |
* | clean implementation of smtp protcol and rsyslog retriesRainer Gerhards2008-04-081-28/+66
| |
* | smtp response codes are now correctly checkedRainer Gerhards2008-04-071-61/+47
| |
* | got a bit closer to real SMTP ;)Rainer Gerhards2008-04-041-13/+135
| |