summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd
AgeCommit message (Expand)Author
2015-01-20Document how to send syslog messages over TCP or TLS.Alexander Bluhm
2015-01-19Replace HOST_NAME_MAX+1 with NI_MAXHOST when the hostname is usedAlexander Bluhm
2015-01-18Implement sending syslog messages over TLS.Alexander Bluhm
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2015-01-15When the connection to a TCP syslog server fails or the TCP connectionAlexander Bluhm
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-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