Rainer Gerhards
d9b0c77d3e
some more cleanup
...
reduced dependencies, moved non-runtime files to its own directory except
for some whom's status is unclear
2008-04-16 15:27:53 +02:00
Rainer Gerhards
91661455eb
provided ability to initialize the runtime
2008-04-16 12:48:20 +02:00
Rainer Gerhards
71dea8c86f
cleanup: removed no longer needed files
2008-04-16 11:45:34 +02:00
Rainer Gerhards
75f3cb34e6
moved net module to runtime
...
after careful analysis, I concluded that it is OK to
place the current net.c/.h code under LGPL. Individual
contributor agreement is given and no sysklogd code
remains (see net.c for details).
2008-04-16 11:36:22 +02:00
Rainer Gerhards
8f8f65abb6
moved files to the runtime
...
there are still some files left which could go into the
runtime, but I think we will delete most of them once we
are done with the full modularization.
2008-04-16 10:26:54 +02:00
Rainer Gerhards
3af28bbd2d
moved runtime files into their own directory
2008-04-16 08:56:48 +02:00
Rainer Gerhards
d7f33053da
made everything compile with the new runtime subdirectory
2008-04-16 08:42:00 +02:00
Michael Biebl
3285f43910
made runtime include directory available to rest of rsyslog
...
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-04-16 08:33:12 +02:00
Rainer Gerhards
4226f0dd48
begin building runtime convenience library (does not build!)
2008-04-15 16:28:44 +02:00
Rainer Gerhards
0e83bd69fc
final work for release of v3.17.1
v3.17.1
2008-04-15 15:19:53 +02:00
Rainer Gerhards
e82c6eec6f
Merge branch 'bsd-port'
...
Conflicts:
ChangeLog
plugins/imklog/imklog.c
2008-04-15 14:37:09 +02:00
Rainer Gerhards
61ba5ff595
Merge branch 'beta'
...
Conflicts:
ChangeLog
configure.ac
doc/ommail.html
queue.c
2008-04-15 11:07:59 +02:00
Rainer Gerhards
b7fec51ba7
Merge branch 'v3-stable' into beta
...
Conflicts:
ChangeLog
doc/manual.html
2008-04-15 11:03:07 +02:00
Rainer Gerhards
f4b26f77ab
changed some files to grant LGPLv3 extended persmissions on top of GPLv3
...
this also is the first sign of something that will evolve into a
well-defined "rsyslog runtime library"
2008-04-15 10:42:14 +02:00
Rainer Gerhards
b9198d2512
improved doc for imklog
2008-04-15 09:08:46 +02:00
Rainer Gerhards
318be337dd
fix compiler warning on char/uchar
2008-04-14 13:35:19 +02:00
Rainer Gerhards
f8dff16a4a
cleanup of imklog + addtl. config directives
...
- implemented $KLogInternalMsgFacility config directive
- implemented $KLogPermitNonKernelFacility config directive
- modified internal interfaces
2008-04-14 14:44:32 +02:00
Rainer Gerhards
3669057997
provided ability to discard non-kernel messages present in the kernel msg buffer
...
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.
2008-04-14 12:10:00 +02:00
Rainer Gerhards
af26ba5816
fixed typo
2008-04-14 08:20:49 +02:00
Rainer Gerhards
9030b96c7b
implemented high precision timestamps for the kernel log.
...
Thanks to Michael Biebl for pointing out that the kernel log did
not have them.
2008-04-12 16:55:04 +02:00
Rainer Gerhards
63d4de81ec
enhanced legacy syslog parser to handle slightly malformed messages
...
Those with a space in front of the timestamp - at least HP procurve is
known to do that and I won't outrule that others also do it. The
change looks quite unintrusive and so we added it to the parser.
2008-04-11 20:21:02 +02:00
Rainer Gerhards
890f782323
some cleanup
2008-04-11 17:33:13 +02:00
Peter Vrabec
07c0fcdfc8
added gssapi overview/howto thanks to Peter Vrabec
...
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-04-11 16:02:04 +02:00
Rainer Gerhards
2b51fcab7b
applied patch from Tiziano Müller to remove some compiler warnings
2008-04-11 15:08:09 +02:00
Rainer Gerhards
bcd2661167
bumped version number
2008-04-11 11:15:21 +02:00
Rainer Gerhards
aeed303e2b
preparing for 3.15.1
v3.15.1
2008-04-11 11:12:05 +02:00
Rainer Gerhards
44de250eca
Merge branch 'v3-stable' into beta
...
Conflicts:
configure.ac
2008-04-11 10:50:47 +02:00
Rainer Gerhards
8fae8b6d86
Merge branch 'v2-stable' into v3-stable
...
Conflicts:
doc/Makefile.am
doc/manual.html
2008-04-11 10:49:02 +02:00
Rainer Gerhards
d041cdd050
removed trailing whitespace
2008-04-10 12:16:05 +02:00
Michael Biebl
f786054cdc
Add ENABLE_IMKLOG_LINUX
...
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-04-10 12:13:21 +02:00
Michael Biebl
afb66b5c6d
Rename ENABLE_IMKLOGD to ENABLE_IMKLOG
...
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-04-10 12:13:11 +02:00
Michael Biebl
cac432e7cb
Add missing include
...
bsd.c uses strchr, strlen and memmove, so include string.h
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2008-04-10 12:13:05 +02:00
Rainer Gerhards
a7860f4dab
removed dependency on MAXHOSTNAMELEN as much as it made sense.
...
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.
2008-04-10 09:31:35 +02:00
Rainer Gerhards
3d87bbfa9c
Merge branch 'v3-stable' into MAXHOSTNAMELEN
...
Conflicts:
configure.ac
2008-04-10 08:45:07 +02:00
Rainer Gerhards
3a0060c6eb
bugfix: omsnmp had a too-small sized buffer for hostname+port.
...
This could not lead to a segfault, as snprintf() was used, but could cause
some trouble with extensively long hostnames.
2008-04-10 08:43:53 +02:00
Rainer Gerhards
4339d44b29
project status is now a web-exclusive
...
... and no longer part of the tarball. This solves a couple
of update issues when new versions inside the other branches
are released. It is still kept in git, so that we have a record
of it. To make sure which version the documentation is, the
version info has been moved to the main manual page.
2008-04-10 08:13:54 +02:00
Rainer Gerhards
9584c81df3
added ommail.html - I forgot to add this file...
2008-04-10 08:06:48 +02:00
Rainer Gerhards
38f875c582
Merge branch 'beta'
2008-04-09 18:10:56 +02:00
Rainer Gerhards
0f3dbecb86
Merge branch 'v3-stable' into beta
...
Conflicts:
modules.c
2008-04-09 18:10:39 +02:00
Rainer Gerhards
79e5decff2
updated status after 3.14.2 release
2008-04-09 17:56:51 +02:00
Rainer Gerhards
3853f06d94
finalized 3.14.2 release
v3.14.2
2008-04-09 17:45:43 +02:00
Rainer Gerhards
a6bc115d50
fixed klog platform selection on linux
2008-04-09 16:28:31 +02:00
Rainer Gerhards
1544eb7433
improved detection of modules being loaded more than once
...
thanks to varmojfekoj for the patch
2008-04-09 12:54:21 +02:00
Rainer Gerhards
0b447f310a
implemented klog driver for BSD
2008-04-09 09:06:40 +02:00
Rainer Gerhards
b0a4df43e4
fixed build system for BSD
...
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 ;)
2008-04-09 09:00:13 +02:00
Rainer Gerhards
c565a7e847
updated build system to detect correct klog driver
2008-04-09 12:46:57 +02:00
Rainer Gerhards
d15985bc40
pulled FreeBSD's klog functionality as a base
2008-04-09 12:36:09 +02:00
Rainer Gerhards
838072a22f
changed imklog to a driver interface
...
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.
2008-04-08 23:34:14 +02:00
Rainer Gerhards
a61f8543ff
our BSD define conflicted with a BSD system define
...
renamed to OS_BSD
2008-04-09 08:11:22 +02:00
Rainer Gerhards
7451f8e283
typo fix (but an *interesting* typo) ;)
2008-04-08 18:47:43 +02:00