| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
display more/less than the default of 10. ok mpf@ jmc@
|
| |
|
|
|
|
|
| |
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|
| |
|
|
| |
have averted the bug found in pr 5938
|
| |
|
|
|
|
|
| |
drop messages rather than to kill and restart it.
Also log this error, but limited at a 2 minute rate.
Discussed with henning.
OK henning@
|
| |
|
|
|
|
| |
tested by deraadt@ on a gcc2 arch
looks ok ray@ ok deraadt@
|
| |
|
|
|
| |
errors from setsockopt(2) in function double_rbuf().
ok markus@ mpf@
|
| |
|
|
|
| |
- reserve a poll descriptor entry for INET6 (not used yet)
ok henning
|
| |
|
|
|
| |
logs in response to a HUP signal, as long as /etc/syslog.conf remains
unchanged. ok mpf@
|
| |
|
|
|
|
|
| |
handlers. This prevents a race where syslogd could die
on SIGPIPE at startup. Also distinguish between start and restart.
OK henning@
|
| |
|
|
|
|
|
|
|
|
| |
if the target is like "| /path/to/program", syslogd forks and execs program
and sends the selected log messages to program's stdin.
uses a socketpair, grows the receive buffer on the reader side and has the
socket nonblocking on syslog'd side to prevent syslogd blocking.
I'm using that here to feed logsurfer from ports for automated log analysis,
werks beautifully.
lots of input & help mpf, ok mpf djm "no objections" millert
|
| |
|
|
|
| |
Works like ``tail -f'' on a log file.
OK markus@, djm@
|
| |
|
|
| |
them, following an identical change in openssh
|
| |
|
|
| |
Prevents the socket from being closed in this case. OK deraadt@
|
| |
|
|
| |
ok avsm@
|
| |
|
|
| |
noticed by newell AT cei.net; ok avsm@ deraadt@
|
| | |
|
| |
|
|
| |
ok otto@ millert@
|
| |
|
|
|
|
|
|
| |
logging to a remote host.
Similar patch sent by Marc Huber <Marc.Huber@web.de> in PR4044.
ok deraadt@ henning@ millert@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
in syslog.conf contain the same target file, and log entries
matching both the first and second line get written.
This changes behaviour: e.g. previously repeating a line caused a log
entry to be written twice, but not any more. Also, if a later line with
the same target has a different priority for a facility, the last one will
be used.
Noted by camield@; help from millert@.
ok camield@ millert@ hshoexer@ deraadt@
|
| |
|
|
| |
ok deraadt@ millert@
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
ok henning@ anil@
|
| |
|
|
|
|
|
|
| |
starting with one to indicate whether the memory ringbuffers have overflowed;
idea & ok markus@
NB if you are using memory buffered logging make sure you update both syslogd
and syslogc _and_ restart syslogd because the protocol has changed
|
| |
|
|
|
|
| |
be logged by the subsequent block, aborting evaluation when matching.
Useful to log some daemons to dedicated files only (not polluting standard
files with their messages). ok beck@, henning@, millert@
|
| | |
|
| |
|
|
| |
ssurdock AT engineered-net.com; ok deraadt@
|
| |
|
|
| |
are already in use. Found by mpech@, OK deraadt@
|
| |
|
|
| |
log; spotted by mpech@
|
| | |
|
| | |
|
| |
|
|
| |
sync usage();
|
| | |
|
| |
|
|
|
| |
extracted using a small client. Useful for diskless systems.
much feedback from deraadt@, canacar@, jmc@, jakob@ ; ok deraadt@
|
| | |
|
| |
|
|
| |
ok deraadt@
|
| | |
|
| |
|
|
| |
OK deraadt@ and avsm@
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
to user _syslogd and chroots itself, while the privileged parent grants it
access to open logfiles and other calls it needs.
The only difference from existing behaviour is that if syslog.conf changes
and syslogd receives a HUP, it will re-exec itself and have two new PIDs.
A HUP with an unchanged config will make syslogd reopen logfiles as before.
Lots of help and code from deraadt@ , and advice from millert@
Various versions tested by todd, cloder, mpech, markus, tdeval and others
|
| |
|
|
| |
error out instead if its too long. deraadt@ ok
|
| |
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|
| |
|
|
| |
to commit on an empty stomach.
|
| |
|
|
| |
to be NUL-terminated. Fixes a bug introduced in rev 1.37; noticed by deraadt@
|
| |
|
|
| |
was LOG_UUCP due to a bug); Javier Kohen
|
| | |
|
| |
|
|
|
|
|
| |
symbolically. This saves address->name lookups, which is nice on log
servers without a DNS cache.
millert@, jakob@ ok
|
| | |
|
| | |
|
| |
|
|
| |
snprintf(3) to return -1.
|