summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd
AgeCommit message (Collapse)Author
2007-01-03Support for continuous reading of syslog memory buffers.Marco Pfatschbacher
Works like ``tail -f'' on a log file. OK markus@, djm@
2006-09-17check that stdio file descriptors are actually closed before clobberingDamien Miller
them, following an identical change in openssh
2006-07-09Use sigaction() instead of signal() in the parent and use theTodd C. Miller
SA_NOCLDSTOP flag for the SIGCHLD handler so the kernel does not notify us when the child has been stopped, only when it exits. Fixes a problem where if you suspended the child process the parent would exit. OK otto@
2006-06-22CAVEATSRay Lai
syslogd does not create files, it only logs to existing ones. From millert@: http://marc.theaimsgroup.com/?m=106329875409953 ``Good idea'' millert@, ``fine by me too'' jmc@
2006-02-18- mention ftp facility keyword.Niall O'Higgins
ok jmc@
2005-12-02unlink() pid file on exit. ok deraadt@Moritz Jodeit
2005-09-21rearrange sanity checks to eliminate signed arithmatic, from stevesk@Damien Miller
2005-09-16reorder tests for improved sanity, from stevesk@Damien Miller
2005-09-16unneeded headers, from stevesk@Damien Miller
2005-06-10If any of fds 0-2 are not open, dup them to our /dev/null fd.Todd C. Miller
Prevents the socket from being closed in this case. OK deraadt@
2005-06-06memory leak on SIGHUP for memory buffer logs, based on fix by Stephen Marley;Damien Miller
ok avsm@
2005-06-06fix fd leak on SIGHUP after config change, spotted by Stephen Marley; ok avsm@Damien Miller
2005-05-23noo need for endpwent() here at all, ok theoHenning Brauer
2005-05-03setres[ug]id; ok deraadt@Damien Miller
2005-04-21avoid looping on failed tty or /dev/console writes and just drop the messageDamien Miller
noticed by newell AT cei.net; ok avsm@ deraadt@
2005-03-12shutdown the inetd socket for reading if secure; ok deraadtMarkus Friedl
2004-12-22avoid a null dereference when using membufs.Dan Harnett
ok otto@ millert@
2004-12-21silently ignore some cases when sendto(2) fails rather than disablingDan Harnett
logging to a remote host. Similar patch sent by Marc Huber <Marc.Huber@web.de> in PR4044. ok deraadt@ henning@ millert@
2004-12-20Fix one case of broken duplicate supression, which happens if two linesOtto Moerbeek
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@
2004-12-02group paragraphs more logically;Jason McIntyre
suggested by michael knudsen;
2004-11-11strchr("whatever", 0) returns non NULL. From Patrick Latifi.Otto Moerbeek
ok deraadt@ millert@
2004-09-14portable code should not use that gcc __func__ specific junk when it is not ↵Theo de Raadt
needed
2004-09-14size_t vs ssize_t confusionTheo de Raadt
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-08-13extra check for no message case; ok markus, deraadt, hshoexer, henningDamien Miller
2004-07-09ansiTheo de Raadt
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