Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-06-10 | If 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-06 | memory leak on SIGHUP for memory buffer logs, based on fix by Stephen Marley; | Damien Miller | |
ok avsm@ | |||
2005-04-21 | avoid looping on failed tty or /dev/console writes and just drop the message | Damien Miller | |
noticed by newell AT cei.net; ok avsm@ deraadt@ | |||
2005-03-12 | shutdown the inetd socket for reading if secure; ok deraadt | Markus Friedl | |
2004-12-22 | avoid a null dereference when using membufs. | Dan Harnett | |
ok otto@ millert@ | |||
2004-12-21 | silently ignore some cases when sendto(2) fails rather than disabling | Dan Harnett | |
logging to a remote host. Similar patch sent by Marc Huber <Marc.Huber@web.de> in PR4044. ok deraadt@ henning@ millert@ | |||
2004-12-20 | Fix one case of broken duplicate supression, which happens if two lines | Otto 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-11-11 | strchr("whatever", 0) returns non NULL. From Patrick Latifi. | Otto Moerbeek | |
ok deraadt@ millert@ | |||
2004-09-14 | size_t vs ssize_t confusion | Theo de Raadt | |
2004-09-14 | ARGSUSED before signal handler with unused signo | Theo de Raadt | |
2004-07-03 | -Wall,-Wshadow cleanup with avsm@; ok henning@ krw@ | Damien Miller | |
2004-07-03 | support @hostname:port syntax in syslog.conf, prompted by msf@ at c2k4; | Damien Miller | |
ok henning@ anil@ | |||
2004-06-25 | extend 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-03 | allow '!!prog', where the second '!' means messages from prog should only | Daniel 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-03 | Interpret !* correcly. ok dhartmei@ | Otto Moerbeek | |
2004-05-25 | include hostname in memory buffered logs, spotted by | Damien Miller | |
ssurdock AT engineered-net.com; ok deraadt@ | |||
2004-04-15 | Prevent another instance of syslogd from unlinking log sockets that | Todd C. Miller | |
are already in use. Found by mpech@, OK deraadt@ | |||
2004-04-13 | fix null pointer dereference when trying to read+clear non-existent memory | Damien Miller | |
log; spotted by mpech@ | |||
2004-01-19 | Check malloc() return value. Pointed out by mpech@. Ok mpech@, deraadt@ | Todd C. Miller | |
2004-01-13 | buffer size should be unsigned, report mpech@; ok deraadt@ | Damien Miller | |
2004-01-05 | sort options and SYNOPSIS; | Jason McIntyre | |
sync usage(); | |||
2004-01-04 | spacing | Theo de Raadt | |
2004-01-04 | Buffered logging for syslogd. Logs may be stored in memory buffers and | Damien Miller | |
extracted using a small client. Useful for diskless systems. much feedback from deraadt@, canacar@, jmc@, jakob@ ; ok deraadt@ | |||
2003-12-29 | spacing | Theo de Raadt | |
2003-12-29 | convert from select() to poll() for main event loop; tested millert@, deraadt@ | Damien Miller | |
ok deraadt@ | |||
2003-09-19 | whack getopt ? matching; jeffi@rcn.com | Theo de Raadt | |
2003-08-18 | Call tzset() to stash the current timezone before we chroot. | Todd C. Miller | |
OK deraadt@ and avsm@ | |||
2003-07-31 | Privilege separated syslog daemon. The child listening to log requests drops | Anil 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-08 | dont silently truncate a domain socket specified via the -p argument; | Anil Madhavapeddy | |
error out instead if its too long. deraadt@ ok | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-05-17 | Fix typo in last commit, spotted by Brian Poole. That'll teach me | Todd C. Miller | |
to commit on an empty stomach. | |||
2003-05-17 | Cannot use strlcpy() for strings in struct utmp since they are not guaranteed | Todd C. Miller | |
to be NUL-terminated. Fixes a bug introduced in rev 1.37; noticed by deraadt@ | |||
2003-03-21 | Fix default facility when none is specified (should be LOG_USER, | Todd C. Miller | |
was LOG_UUCP due to a bug); Javier Kohen | |||
2002-12-22 | fix cutnpaste; from hunter@comsys.com.ua | Michael Shalayeff | |
2002-11-21 | Add -n option to print message source addresses numerically rather than | Chad Loder | |
symbolically. This saves address->name lookups, which is nice on log servers without a DNS cache. millert@, jakob@ ok | |||
2002-09-06 | use more socklen_t; pvalchev | Theo de Raadt | |
2002-08-08 | Pass correct buffer length to snprintf on error condition; ericj@, fgsch@ ok. | Aaron Campbell | |
2002-07-24 | Sanity check snprintf() return values before using them. It is legal for | Todd C. Miller | |
snprintf(3) to return -1. | |||
2002-07-20 | ansi | Theo de Raadt | |
2002-06-14 | spelling; from Brian Poole <raj@cerias.purdue.edu> | Todd T. Fries | |
2002-06-05 | Double socket receive buffer size; deraadt@ OK | Todd C. Miller | |
2002-05-26 | pid_t cleanup | Theo de Raadt | |
2002-05-25 | fix usage; from Sam Smith <S@mSmith.net>. | Federico G. Schwindt | |
2002-02-16 | Part 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-02 | KNF, and remove unneccessary signal blocking and errno saving, since not ↵ | Theo de Raadt | |
signal handlers anymore; millert ok | |||
2001-11-17 | use volatile sig_atomic_t where possible; simply volatile i other places | Theo de Raadt | |
2001-11-17 | missing prototype (getmsgbufsize). | Markus Friedl | |
2001-11-17 | reread config from main loop instead of signal hander; ok deraadt@ | Markus Friedl | |
2001-11-16 | no need for setjmp.h | Theo de Raadt | |
2001-08-03 | Open files with O_NONBLOCK but turn off non-blocking mode for | Todd 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. |