summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd/syslogd.c
AgeCommit message (Expand)Author
2015-01-08Use the field f_file also for the forwarding file descriptor. RemoveAlexander Bluhm
2015-01-02Use SIMPLEQ for syslogd filed list instead of manual list operations.Alexander Bluhm
2015-01-02When syslogd was sending via TCP, there was file descriptor leakAlexander Bluhm
2014-12-31Implement sending syslog messages over TCP streams.Alexander Bluhm
2014-12-10If default file descriptors (0, 1, 2) have to be assigned to /dev/null,Tobias Stoeckmann
2014-12-10File descriptors are of type int, not short. While at it, adjust remainingTobias Stoeckmann
2014-12-07Fix regression for priority "none" (spotted by doug) of last commit by notTobias Stoeckmann
2014-12-06Verify that facility and priority numbers are in valid ranges.Tobias Stoeckmann
2014-12-03Fix off by one in check for socket path too long. From Nicolas Bedos.Todd C. Miller
2014-11-26Prefer setvbuf() to setlinebuf() for portability; ok deraadt@Todd C. Miller
2014-11-01Replace the combination of strlen(), calloc(), strlen(), strlcpy()Alexander Bluhm
2014-10-06As libevent provides safe signal callbacks instead of signal handlers,Alexander Bluhm
2014-10-05Switch syslogd from using poll(2) to libevent.Alexander Bluhm
2014-10-03Cleanup the reporting socket code in syslogd.Alexander Bluhm
2014-10-01Map out-of-range facility values to LOG_USER to avoid array over-read.Philip Guenther
2014-09-27Also in debug mode, close nullfd when it is not needed anymore.Alexander Bluhm
2014-09-10Remove redundant null check and rename vars consistently in syslogdDoug Hogan
2014-09-08Fix a syslogd regression when specifying all 20 additional log pathsDoug Hogan
2014-09-04Move the handlers for the poll events into separate functions. TheyAlexander Bluhm
2014-08-31The reapchild() signal handler collects all children. This can beAlexander Bluhm
2014-08-31Do not call free() on an array in the data section. FortunatelyAlexander Bluhm
2014-08-25Allow to restrict syslogd to a protocol family with -4 and -6 commandAlexander Bluhm
2014-08-25Fix the gcc compiler warnings "comparison between signed andAlexander Bluhm
2014-08-22Instead of getting a nasty error message from privsepAlexander Bluhm
2014-08-21Send and receive UDP syslog packets on the IPv6 socket.Alexander Bluhm
2014-08-21Parse loghost in a separate function. Allow [] around hostname,Alexander Bluhm
2014-08-20Replace gethostbyaddr(3) with getnameinfo(3). Remove the sigprocmask()Alexander Bluhm
2014-08-20Rename priv_gethostserv() to priv_getaddrinfo() as this is what theAlexander Bluhm
2014-08-19Fix trailing white spaces.Alexander Bluhm
2014-07-14Create a socketpair() and tie one end to /dev/klog using ioctl LIOCSFD.Theo de Raadt
2014-02-04Remote logging could get stuck after a "network is unreachable"Alexander Bluhm
2013-11-24more unsigned char casts for ctypeTheo de Raadt
2013-10-09Trim leading white space from the message before trying to extractTodd C. Miller
2013-04-16remove casts to time_t * which are not neededTheo de Raadt
2013-03-11handle ECONNABORTED errors from accept(). In many code blocks they can beTheo de Raadt
2013-02-10-h includes RFC 3164 style hostnames when forwarding;Markus Friedl
2011-07-12Allow syslogc -n XX to display less than the whole file, and -n XX -f toStuart Henderson
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-09-29initialize both sides of the lockpipe (only used in debug mode) to -1 toTheo de Raadt
2008-04-21If a |program is too slow to process the input,Marco Pfatschbacher
2007-10-17remove "unused variable" warningsCharles Longeau
2007-09-07Initialize length variable slen properly to avoid possible EINVALAlexander Bluhm
2007-05-02- use getaddrinfo() instead of gethostbyname/getservbynameJason Wright
2007-03-30Preserve the contents of the memory buffers when syslogd reinitializesCan Erkin Acar
2007-02-21Create "syslogd: restart" message after the setup of signalMarco Pfatschbacher
2007-02-20implement logging to other program's stdin.Henning Brauer
2007-01-03Support for continuous reading of syslog memory buffers.Marco Pfatschbacher
2006-09-17check that stdio file descriptors are actually closed before clobberingDamien Miller
2005-06-10If any of fds 0-2 are not open, dup them to our /dev/null fd.Todd C. Miller
2005-06-06memory leak on SIGHUP for memory buffer logs, based on fix by Stephen Marley;Damien Miller