Joey Schulze
29fe6a66e0
Spelling fix
2007-05-21 16:27:39 +00:00
Joey Schulze
c226c50cee
Escape hyphens
2007-05-21 16:26:40 +00:00
Joey Schulze
62ec1253ee
Only play with the network when the syslog port can be determined.
...
Ignore networking otherwise, but continue working. (Debian Bug#226611)
2007-05-21 11:00:35 +00:00
Joey Schulze
05e52e218e
Spelling improvements
2007-05-20 18:21:15 +00:00
Joey Schulze
2375c34594
Phrasing improvements
2007-05-20 17:45:59 +00:00
Joey Schulze
715b7b0598
Phrasing correction
2007-05-20 17:41:01 +00:00
Joey Schulze
55ce3c64b5
Phrasing correction
2007-05-20 17:40:35 +00:00
Joey Schulze
e87bb7fdf8
Adjusted the date
2006-12-03 12:21:37 +00:00
Joey Schulze
6006a07c2f
Adjusted the date
2006-12-03 12:15:21 +00:00
Joey Schulze
16b9d8fb94
Explanation added by Eric Tucker
2006-11-30 07:59:45 +00:00
Joey Schulze
9612909f62
Corrected typo in syslog.conf(5)
2006-09-28 18:43:36 +00:00
Joey Schulze
2f3e9ca690
Properly use format strings
2006-09-18 09:56:13 +00:00
Joey Schulze
f96fd5e6d5
Added a description of system log level and link to sysctl(8)
2006-05-25 08:11:49 +00:00
Joey Schulze
ed788aeeff
Reset the 'restart' flag immediately after entering the restart code,
...
so that subsequent SIGHUPs are able to set it again and cause a new
restart. This fixes a race condition when somebody sends tons of HUP
signals.
2006-05-25 07:49:54 +00:00
Joey Schulze
5851fc026b
Removed asm/atomic.h since it is not needed anymore.
2006-05-25 07:15:57 +00:00
Joey Schulze
408be5b725
More LFS options as comments
2006-05-25 07:12:44 +00:00
Joey Schulze
facf7ff5bb
Applied adjusted patch by Miquel van Smoorenburg to fix spurious
...
hanging syslogd in connection with futex and NPTL introduced in recent
glibc versions and Linux 2.6 (details: http://bugs.debian.org/301511 )
2005-05-25 18:08:30 +00:00
Joey Schulze
c9deb8536c
Added the date
2005-03-11 16:12:09 +00:00
Joey Schulze
813ca0f416
Added a note to sysctl(8) for setting the console level
2005-03-11 16:11:26 +00:00
Joey Schulze
6504bca3ee
Updated changes file
2005-01-15 19:14:21 +00:00
Joey Schulze
affedf39aa
Applied patch by Dirk Mueller <mueller@kde.org> to prevent syslogd
...
from crashing when the log file can't grow anymore (e.g. with 2GB
without LargeFileSupport)
2005-01-15 19:13:08 +00:00
Joey Schulze
4d8248ba3e
Remove trailing newline from forwarded messages. This would be turned
...
into a whitespace by the receiving syslogd and doesn't seem to be
required anyway.
2004-11-07 12:52:30 +00:00
Joey Schulze
4c09ec0516
Discard any timestamp information found in received syslog messages.
...
This will affect local messages sent from a different timezone. Also
removed code due to the changed semantics. This was inspired by
Anders Henke from Schlund + Partner AG.
2004-11-07 11:38:44 +00:00
Joey Schulze
b2e84809dc
Colin Phipps <cph@cph.demon.co.uk>: Don't block on the network socket,
...
in case a packet gets lost between select and recv. (Debian Bug#275578)
2004-11-02 19:30:30 +00:00
Joey Schulze
bd22a26134
Removed atomic_t in the usecount field of the module struct for
...
compatibility reasons, since atomic_t is not defined in <asm/atomic.h>
on all architectures.
2004-07-27 11:36:10 +00:00
Joey Schulze
1836e84e94
Ulf Härnhammar <Ulf.Harnhammar.9485@student.uu.se>
...
Added boundary check for fscanf() in InitKsyms() and CheckMapVersion()
to prevent an unintended crash when reading an incorrect System.map.
Hello,
I have discovered a potential crash bug in sysklogd. The klogd daemon
doesn't handle really malformed System.map files very well. It has
two fscanf() calls with "%s"format strings that stores to char
sym[512] arrays. This causes a crash if the string field in the
file is longer than that.
Despite being a buffer overflow, this is not a security problem, as
only root can change the System.map file. Nevertheless, I think it
is worth fixing, as the Right Thing for a program should be not to
assume anything about its input and to handle various problems well.
2004-07-16 06:48:27 +00:00
Joey Schulze
3bd7b6cfb1
Documentation improvement
2004-07-09 17:33:32 +00:00
Joey Schulze
7740dfd410
Documentation improvements by Greg Trounson <gregt@maths.otago.ac.nz>
2004-07-09 17:22:29 +00:00
Joey Schulze
a09b9865cc
Adjust the size of a variable to prevent a buffer overflow
...
should _PATH_DEV ever contain something different than "/dev/".
2004-05-04 14:52:56 +00:00
Joey Schulze
4205dbebda
Minor corrections
2004-05-04 14:50:18 +00:00
Joey Schulze
3ee89e2c0b
Patch: sysklogd-1.4.1-owl-longjmp.diff from Openwall
...
From: Solar Designer <solar@openwall.com>
1. Ensures that "len" is not placed in a register and as such can't be
clobbered by longjmp(). With the particular code, it does not really
matter whether it is clobbered or not, but this avoids the gcc warning.
2. Makes endtty() the signal handler only after the variable that
function uses is initialized. In the original code, the signal
handler was setup too early and if there would be SIGALRM before
control reaches setjmp(), syslogd would segfault (if not worse).
Basically, this is a minor correctness patch.
2004-05-04 14:49:23 +00:00
Joey Schulze
dcef709022
Patch by Dmitry V. Levin <ldv@altlinux.org>
...
Close file descriptor in FindSymbolFile() in order not to leak file
descriptors.
2004-04-29 16:10:10 +00:00
Joey Schulze
ce4a02cbe7
Prevent potential buffer overflow in reading messages from the
...
kernel log rinbuffer.
2004-04-29 13:29:03 +00:00
Joey Schulze
14fb61b562
Distinguish between MAN_OWNER and MAN_GROUP, introduce MAN_PERMS and
...
also $(prefix) for convenience
2004-04-29 11:04:03 +00:00
Joey Schulze
e9c3de7bfd
From Openwalls: needs to be a USER_PROCESS
2004-04-29 10:58:40 +00:00
Joey Schulze
669d9991b7
Applied Openwall paranoia patches to improve crunch_list().
2004-04-29 10:39:55 +00:00
Joey Schulze
d7a30653a9
Adjusted the symbol size since on non-32bit architectures a long may
...
be longer than 4 bytes
2004-04-29 10:11:03 +00:00
Joey Schulze
e5a3bfae19
Added Steve
2004-04-17 16:07:21 +00:00
Joey Schulze
2961c7b794
Patch by Steve Grubb <linux_4ever@yahoo.com> to correct memory calculation
2004-04-17 16:06:16 +00:00
Joey Schulze
962c1cdd2e
Added a private module.h with extracted data from Linux 2.2 to replace
...
<linux/module.h> which creates a number parse errors.
2004-03-31 15:47:08 +00:00
Joey Schulze
a4f715ed8c
Updated the changelog file to reflect most recent changes
2003-09-29 17:47:51 +00:00
Joey Schulze
ae499acae2
Moved the installation of the signal handler up a little bit so it
...
guaranteed to be available when the child is forked, hence, fixing a
race condition. This used to create problems with UML and fast
machines. Thanks to Jon Burgess <Jon_Burgess@eur.3com.com>
2003-09-28 10:26:22 +00:00
Joey Schulze
deeeb65d2b
Improved documentation
2003-09-28 02:51:38 +00:00
Joey Schulze
071356e5d6
Whoops, looks like O_TRUNC was missing when opening the file,
...
increasing the chance of left-overs from older pid contents in the
file.
2003-09-28 02:38:18 +00:00
Joey Schulze
0f9873bed4
On heavily loaded systems, some which are probably receiving a lot of
...
syslog traffic through the network, there's a (not well researched)
problem with receiving messages on the syslog UDP port. For some
reason recvfrom() results in EAGAIN. See
http://bugs.debian.org/188194 and
http://www.ussg.iu.edu/hypermail/linux/kernel/0209.1/0218.html
2003-09-27 23:29:02 +00:00
Joey Schulze
5c817e1d38
There's a problem with including kernel-space header files on the
...
little endian MIPS architecture. According to Ryan Murray this should
help and also work on all architectures.
2003-09-27 22:05:39 +00:00
Joey Schulze
293bb81f22
Added information about large file support
2003-09-04 13:22:23 +00:00
Joey Schulze
795245bfaa
Improved patch by Michael Pomraning <mjp@securepipe.com> to reconnect
...
klogd to the logger after it went away, so messages won't get lost if
the logger is already around by trying to reopen the socket in time.
2003-08-27 15:56:01 +00:00
Joey Schulze
d672afd83d
Applied patch by Michael Pomraning <mjp@securepipe.com> to reconnect
...
klogd to the logger after it went away.
2003-08-27 15:55:04 +00:00
Joey Schulze
1ff125949b
Hopefully this version is easier to understand for non-english speakers.
2003-05-22 19:31:20 +00:00