summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd
AgeCommit message (Collapse)Author
2013-11-27CID 1132759: Abort on dehumanize_number error on constant built-in string.christos
2013-11-11CID 1128379: Fix TOCTOU, always open the file first with non-blocking I/O,christos
do that stat later and leave the file as non-blocking because it does not make a difference for plain files.
2013-11-10Bump date for FIFO support.wiz
2013-11-09add support for outputting to FIFO's (Anthony Mallet)christos
2013-11-09fix two bugs related to queues (Anthony Mallet)christos
- the default values are in humanized number form so strtol does not work - fix reversed size tests
2013-05-27PR/47861: Fredrik Pettai: keep track of the address family for each socketchristos
opened and don't send the a message to the wrong family type.
2013-01-17ut_line does not have /dev in front of it. Add it, from dholland@christos
2013-01-15PR/47449: David Holland: Don't log to terminals with mesg n, unless it is achristos
wall message.
2013-01-14fix thinkodholland
2012-10-30Remove trailing whitespace.wiz
2012-10-30Note enchancements that appeared in NetBSD 6.0.rkujawa
2012-10-05RFC 5848msaitoh
2012-06-20remove dup O_NDELAY.christos
2012-06-19- fix writev1() to pre-decrement count.christos
- always open ttys with O_NDELAY.
2012-06-18don't call isatty() to the fd before opening it.christos
2012-06-06WARNS=4christos
2012-06-05Open and write to ttys using non-blocking I/O to prevent DoS when hardwarechristos
or software flow control prevents tty writes or when the tty line is too slow to respond.
2012-05-15improve error handling.christos
2012-04-08Remove unnecessary Bk/Ek pairs from SYNOPSIS.wiz
No effective change except where I used the opportunity to sort options and/or option descriptions.
2012-03-28add aliases for the protocol formatchristos
2012-02-13fix resource leaks and NULL uses found by Coverity scan.spz
Releng-ok by riz
2011-10-07Simplify.joerg
2011-08-31NULL does not need a castplunky
2011-08-01According to the Oxford Dictionary of Etymology, a wether is a male sheepmbalmer
or ram.
2011-06-20Now need to use own buffer for klog read due to previous change.enami
2011-06-20Defer the processing of incomplete line at the end of buffer so thatenami
kernel printf messages logged to /var/log/messages become always easier to read.
2011-05-24Properly use format stringsjoerg
2011-05-24Explicitly mark a NEWREF as unusedjoerg
2011-05-24Properly use format stringsjoerg
2010-06-09Allow syslogd to compile when MKCRYPTO=no. No promises as to whetherriz
it works or not, as this has been broken since late 2008, when the "encrypted connections" support was added to syslogd.
2010-05-13cast isblank(3)'s argument to unsigned char.tnozaki
2010-01-01Fix previous: Dd argument and lost Em markup.wiz
2010-01-01fold long lines.mbalmer
2009-10-15reinstate a sentence partly removed in v1.43 regarding the defaultplunky
facility/priority for local kernel messages
2009-07-16draft-ietf-syslog-protocol-23 -> RFC 5424yamt
2009-04-22Enable WARNS=4 by default, except for:lukem
cpuctl dumplfs hprop ipf iprop-log kadmin kcm kdc kdigest kimpersonate kstash ktutil makefs ndbootd ntp pppd quot racoon racoonctl rtadvd sntp sup tcpdchk tcpdmatch tcpdump traceroute traceroute6 user veriexecgen wsmoused zic (Mostly third-party applications)
2009-04-20Add queue macros SLIST_FOREACH_SAFE, STAILQ_FOREACH_SAFE, STAILQ_LAST,mschuett
SIMPLEQ_CONCAT, and SIMPLEQ_LAST. Remove seperate definitions outside of queue.h.
2009-04-09.br -> .Pp, capitalize subsection titlesjoerg
2009-02-06PR/40563: Takahiro Hayashi: syslogd(8) refers freed pointer on exitingmschuett
2009-02-01Bump date for previous.wiz
2009-02-01note some options' optarg in DESCRIPTION as well.yamt
2009-02-01make -o option consistent with others.yamt
2009-01-22PR/40438: Takahiro Hayashi: syslogd(8) refers freed areamschuett
2009-01-22sign-compare fixes for amd64lukem
2009-01-18fix -Wsign-compare issueslukem
2008-12-29fix suseconds_t format.christos
2008-11-27PR/40043: Geoff C. Wing: syslogd timestamping and protocol parsing deficiencieschristos
Syslogd does not properly handle: 1) the ADDDATE flag which is set with -T invocation and when messages come from the kernel. Other cases where it is set it is ignored as timestamping is always done (e.g. logmsg_async()) 2) the variable found_ts in check_timestamp(). It would determine whether or not the message had a (possibly valid) timestamp, set found_ts to true, then ignore that in most cases. If we can't find a timestamp return. 3) messages without a parsable timestamp should get one when outputting the BSD syslog format so that a syslog-protocol timestamp isn't injected (chopped off with BSD syslog length) giving something like: "2008-11-27T15:0 cisco -: 1790:" ^ time might have been 2008-11-27T15:02:35.296497+11:00 4) syslog protocol version checking only checked for a leading numeral one (1) then skipped two places (presuming a space). Messages sent from some sources (e.g. my cisco) may be "1795: Nov 27 04:12:52: %LINEPROTO-5-..." which would be chopped to "95: Nov 27 04:12:52: %LINEPROTO-5-..."
2008-11-07PR/39874: Geoff C. Wing: For compatibility trim hostname domains in bsdchristos
output format when matching host lines.
2008-11-07Remove trailing whitespace.minskim
2008-11-04use localtime_rchristos