summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd
AgeCommit message (Collapse)Author
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
2002-11-21Add -n option to print message source addresses numerically rather thanChad Loder
symbolically. This saves address->name lookups, which is nice on log servers without a DNS cache. millert@, jakob@ ok
2002-09-06use more socklen_t; pvalchevTheo de Raadt
2002-08-08Pass correct buffer length to snprintf on error condition; ericj@, fgsch@ ok.Aaron Campbell
2002-07-24Sanity check snprintf() return values before using them. It is legal forTodd C. Miller
snprintf(3) to return -1.
2002-07-20ansiTheo de Raadt
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-05Double socket receive buffer size; deraadt@ OKTodd C. Miller
2002-05-26pid_t cleanupTheo de Raadt
2002-05-25fix usage; from Sam Smith <S@mSmith.net>.Federico G. Schwindt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-02KNF, and remove unneccessary signal blocking and errno saving, since not ↵Theo de Raadt
signal handlers anymore; millert ok
2001-11-17use volatile sig_atomic_t where possible; simply volatile i other placesTheo de Raadt
2001-11-17missing prototype (getmsgbufsize).Markus Friedl
2001-11-17reread config from main loop instead of signal hander; ok deraadt@Markus Friedl
2001-11-16no need for setjmp.hTheo de Raadt
2001-08-03Open files with O_NONBLOCK but turn off non-blocking mode forTodd C. Miller
non-ttys. If write(2) returns EAGAIN just ignore the error and move on. This prevents a locked terminal from causing syslogd grief. If we ever want to support logging to a fifo this will probably have to be revisited.