summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd
AgeCommit message (Collapse)Author
2004-07-03-Wall,-Wshadow cleanup with avsm@; ok henning@ krw@Damien Miller
2004-07-03support @hostname:port syntax in syslog.conf, prompted by msf@ at c2k4;Damien Miller
ok henning@ anil@
2004-06-25extend memory buffer control protocol to support transmission of flags,Damien Miller
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
2004-06-07clarify how tags are parsed;Jason McIntyre
help from, tweaks, and ok's: dhartmei@ otto@ millert@
2004-06-03allow '!!prog', where the second '!' means messages from prog should onlyDaniel Hartmeier
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@
2004-06-03Interpret !* correcly. ok dhartmei@Otto Moerbeek
2004-05-25include hostname in memory buffered logs, spotted byDamien Miller
ssurdock AT engineered-net.com; ok deraadt@
2004-04-15Prevent another instance of syslogd from unlinking log sockets thatTodd C. Miller
are already in use. Found by mpech@, OK deraadt@
2004-04-13fix null pointer dereference when trying to read+clear non-existent memoryDamien Miller
log; spotted by mpech@
2004-04-09Also pass SIGINT and SIGQUIT to child, noticed by mpech@Can Erkin Acar
ok avsm@
2004-04-02Do not bother closing an fd when we know it has failed.Anil Madhavapeddy
Based on diff from Moritz Jodeit <moritz at jodeit.org>
2004-03-16typos from Andrey Matveev;Jason McIntyre
2004-03-14Check return code of chdir() after chroot(); noted by Joris Vink, slight modOtto Moerbeek
from avsm@. ok avsm@ hshoexer@ henning@
2004-03-06cleanup, mostly signal handlingOtto Moerbeek
ok henning@ millert@ avsm@
2004-02-26cure my spelingAnil Madhavapeddy
2004-02-26staring->starting in commentAnil Madhavapeddy
2004-01-19Check malloc() return value. Pointed out by mpech@. Ok mpech@, deraadt@Todd C. Miller
2004-01-13buffer size should be unsigned, report mpech@; ok deraadt@Damien Miller
2004-01-05sort options and SYNOPSIS;Jason McIntyre
sync usage();
2004-01-05clarify description of colon `action';Jason McIntyre
ok djm@
2004-01-04spacingTheo de Raadt
2004-01-04Buffered logging for syslogd. Logs may be stored in memory buffers andDamien Miller
extracted using a small client. Useful for diskless systems. much feedback from deraadt@, canacar@, jmc@, jakob@ ; ok deraadt@
2003-12-29delintTheo de Raadt
2003-12-29spacingTheo de Raadt
2003-12-29convert from select() to poll() for main event loop; tested millert@, deraadt@Damien Miller
ok deraadt@
2003-10-26correct bad dprintf, from Moritz Jodeit <moritz at jodeit.org>Anil Madhavapeddy
2003-10-24fix an occasional hang noticed by mpech@ when a SIGHUPCan Erkin Acar
is received after the configuration is modified. tested by mpech@, ok avsm@
2003-10-22setgroups; avsm okTheo de Raadt
2003-10-01use the same amount of indent for the action fields in the example conf;Jason McIntyre
2003-09-24cleanup privsep communications between child/parent with a lot moreAnil Madhavapeddy
paranoia. noticed by aaron@, feedback from drahn@ cloder@ millert@
2003-09-19whack getopt ? matching; jeffi@rcn.comTheo de Raadt
2003-08-27correct error message (wall -> syslogd)Anil Madhavapeddy
2003-08-18Call tzset() to stash the current timezone before we chroot.Todd C. Miller
OK deraadt@ and avsm@
2003-08-15remove extra \n in {warn,err}{,x} callsTheo de Raadt
2003-08-01clean up debug output some, and correct an incorrect error check inAnil Madhavapeddy
priv_gethostbyaddr()
2003-07-31delintTheo de Raadt
2003-07-31knfAnil Madhavapeddy
2003-07-31Privilege separated syslog daemon. The child listening to log requests dropsAnil Madhavapeddy
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
2003-07-08dont silently truncate a domain socket specified via the -p argument;Anil Madhavapeddy
error out instead if its too long. deraadt@ ok
2003-06-26correct an example, and fix BUGS;Jason McIntyre
ok millert@
2003-06-12- section reorderJason McIntyre
- macro fixes - kill whitespace at EOL - new sentence, new line
2003-06-04fix some more UCB term 3Theo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-17Fix typo in last commit, spotted by Brian Poole. That'll teach meTodd C. Miller
to commit on an empty stomach.
2003-05-17Cannot use strlcpy() for strings in struct utmp since they are not guaranteedTodd C. Miller
to be NUL-terminated. Fixes a bug introduced in rev 1.37; noticed by deraadt@
2003-05-08.Xr newsyslogTodd C. Miller
2003-03-21Fix default facility when none is specified (should be LOG_USER,Todd C. Miller
was LOG_UUCP due to a bug); Javier Kohen
2003-02-14typos;Jason McIntyre
tftpd(8): tweak and ok millert@ tokenadm(8): tweak and ok millert@
2003-01-23typos;Jason McIntyre
ok millert@
2002-12-22fix cutnpaste; from hunter@comsys.com.uaMichael Shalayeff