summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd
AgeCommit message (Expand)Author
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-25Document the IPv4/IPv6 command line switches and protocol loghostAlexander Bluhm
2014-08-25Call check_tty_name() and check_log_name() with the string size andAlexander 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-21Document square brackets for IPv6 addresses. From FreeBSD.Alexander 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-20Add missing OpenBSD RCS id.Alexander Bluhm
2014-08-20Rename priv_gethostserv() to priv_getaddrinfo() as this is what theAlexander Bluhm
2014-08-19The _exit codes in syslogd privsep.c were the wrong way around.Alexander Bluhm
2014-08-19Replace manually written function names with __func__.Alexander Bluhm
2014-08-19Fix trailing white spaces.Alexander Bluhm
2014-07-23document that sendsyslog saves the dayTheo de Raadt
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
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2014-01-20Obvious .Xr fixes, found while testing mandocdb(8).Ingo Schwarze
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-08-19put do { } while (0) around the dprintf macro to make it less scaryDavid Gwynne
2013-07-201. there's no "selectors function"Matthias Kilian
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
2012-04-04Return an error much earlier if recvmsg failsTheo de Raadt
2011-07-12Allow syslogc -n XX to display less than the whole file, and -n XX -f toStuart Henderson
2010-04-30shuffle some things around to deal with incomplete typesJonathan Gray
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-10-22write UNIX-domain in a more consistent way; while here, replace aIgor Sobrado
2009-10-22use the UNIX-related macros (.At and .Ux) where appropriate.Igor Sobrado
2008-11-23Remove some whitespace.Brad Smith
2008-09-29initialize both sides of the lockpipe (only used in debug mode) to -1 toTheo de Raadt
2008-09-29do not close a random file descriptor in debug mode, PR 5938 from mickeyTheo de Raadt
2008-04-21If a |program is too slow to process the input,Marco Pfatschbacher
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forTheo de Raadt
2008-03-16avoid errno trashing, ok mpf henningTheo de Raadt