| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Well, actually this and a lot of related things. I improved the
testbench so that the new capabilities are automatically tested and
also did some general cleanup. The current multiple tcp listener
solution will probably receive some further cleanup, too, but looks
quite OK so far. I also reviewed the way tcpsrv et all work, in
preparation of using this code for imdiag. I need to document the
findings, especially as the code is rather complicated "thanks" to
the combination of plain tcp and gssapi transport modes.
|
|
|
|
|
|
| |
removed some warning in imklog compilation, but may not have
solved a lurking issue (but placed comment so that we know if
something surfaces)
|
|
|
|
|
|
|
|
| |
to make sure only the minimum number of file handles is left open
during a exec call. This is not a 100% solution, as there are also
some fopen() calls and, more importantly, file descriptors opened
by libraries. But it is better than nothing (and it was quick, at
least until we run into platform hell, what we will for sure ;)).
|
|
|
|
|
|
| |
pkg-config uses uppercase for its _CFLAGS and _LIBS variable names.
So we follow suit and convert all _cflags and _libs variables to
uppercase for more consistency.
|
| |
|
|
|
|
|
|
| |
...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.
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
| |
The limit can now be set via $MaxMessageSize global config
directive (finally gotten rid of MAXLINE ;))
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
ChangeLog
configure.ac
doc/manual.html
|
| |
| |
| |
| |
| |
| |
| | |
- Update the version number and date in the man pages
- s/imklogd/imklog/
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
doc/property_replacer.html
tools/syslogd.c
|
| | |
|
|\|
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
ChangeLog
configure.ac
doc/manual.html
plugins/imklog/linux.c
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
|
|\|
| |
| |
| |
| |
| | |
Conflicts:
ChangeLog
|
| |
| |
| |
| |
| |
| | |
a kernel log message
This is an unusual case under Linux, and a frequent one under BSD
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
plugins/imklog/linux.c
runtime/cfsysline.c
runtime/ctok.c
runtime/linkedlist.c
runtime/sysvar.c
|
| | |
|
| |
| |
| |
| |
| | |
A symbol file was closed when it couldn't opened. That lead to a
NULL pointer being passed to fclose()
|
| |
| |
| |
| | |
this callback is somewhat unportable in combination with dlopen()
|
| |
| |
| |
| | |
... and some cleanup
|
| |
| |
| |
| | |
including some cleanups
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- added the ability to specify an error log function for the
runtime
- removed dependency of core runtime on dirty.h
Note that it is "better" modularity, not perfect. There is still
work to do, but I think we can for the time being proceed with
other things.
|
| | |
|
|\ \ |
|
| |/
| |
| |
| |
| | |
but need changes in liblogging to complete this
work - does not compile yet
|
| |
| |
| |
| |
| | |
reduced dependencies, moved non-runtime files to its own directory except
for some whom's status is unclear
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
| |
- implemented $KLogInternalMsgFacility config directive
- implemented $KLogPermitNonKernelFacility config directive
- modified internal interfaces
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Thanks to Michael Biebl for pointing out that the kernel log did
not have them.
|
| |
|
|
|
|
| |
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
|
|
|
|
|
|
| |
bsd.c uses strchr, strlen and memmove, so include string.h
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
|
| |
|
|
|
|
|
|
| |
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 ;)
|
| |
|
| |
|
|
|
|
|
|
| |
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 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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
varmojfekoj for the patch
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
made this mode the default; this was needed, as some programs (e.g.
sshd) log with inconsistent timezone information, what messes up the
local logs (which by default don't even contain time zone information).
This seems to be consistent with what sysklogd did for the past four
years. Alternate behaviour may be desirable if gateway-like processes
send messages via the local log slot - in this case, it can be enabled
via the $InputUnixListenSocketIgnoreMsgTimestamp and
$SystemLogSocketIgnoreMsgTimestamp config directives
|
| |
|