Go to file
christos b3ed889133 PR/40043: Geoff C. Wing: syslogd timestamping and protocol parsing deficiencies
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-27 20:37:21 +00:00
bin Don't pass strings from argv[] to free(). Fixes PR 39992. 2008-11-23 10:08:50 +00:00
common fix build in _STANDALONE case 2008-11-21 03:23:43 +00:00
compat Add rumpvfs to compat, hinted by wiz. 2008-11-19 21:29:02 +00:00
crypto ModeConfig fixes 2008-11-27 15:04:34 +00:00
dist don't use signed chars for no reason. 2008-11-25 18:40:26 +00:00
distrib - rename set list lkm.mi -> module.mi 2008-11-26 15:45:56 +00:00
doc - tcpdump 4.0.0 and libpcap 1.0.0 have been released 2008-11-25 14:54:03 +00:00
etc Add "bootconf" to REQUIRE: lines which had beforenetlkm 2008-11-22 20:23:33 +00:00
external Use ${HOST_SH}, not ${SH}. ${SH} is undefined, so acts like an 2008-11-25 05:32:05 +00:00
games PR/39923: Valery Ushakov: trek(6) can spin, consuming 100% CPU on powerpc 2008-11-14 21:10:44 +00:00
gnu sprintf to temporary buffer and memcpy, rather than sprintf directly 2008-11-25 01:58:13 +00:00
include include <sys/null.h> because _DIAGASSERT(foo == NULL) is too common and some 2008-11-02 14:27:44 +00:00
lib LIBDPLIBS on librumpvfs 2008-11-27 16:14:46 +00:00
libexec Minor KNF and whitespace nits. No functional change. 2008-11-16 06:26:12 +00:00
regress Remove LKMs and switch to the module framework, pass 1. 2008-11-12 12:35:50 +00:00
rescue Remove LKMs and switch to the module framework, pass 1. 2008-11-12 12:35:50 +00:00
sbin Remove unnecessary casts. 2008-11-24 18:05:25 +00:00
share New sentence, new line. Use more markup. The character is nul with one l. 2008-11-26 18:57:01 +00:00
sys * hang all mountpoints from rootvnode in our virtual mount hierarchy 2008-11-27 16:40:40 +00:00
tests Remove LKMs and switch to the module framework, pass 1. 2008-11-12 12:35:50 +00:00
tools enable extensions for isblank() and solaris 2008-11-25 18:41:57 +00:00
usr.bin I think ':' is called "colon", not "column" :) 2008-11-26 19:08:05 +00:00
usr.sbin PR/40043: Geoff C. Wing: syslogd timestamping and protocol parsing deficiencies 2008-11-27 20:37:21 +00:00
x11 Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
build.sh Add support for new MAKEVERBOSE levels 3 and 4. The complete list is now: 2008-11-13 20:40:11 +00:00
BUILDING revert sparc back to default of XFree86 at the request of macallan. 2008-11-15 11:27:49 +00:00
Makefile - retire MKXORG from public use 2008-11-09 23:02:28 +00:00
Makefile.inc
UPDATING Improve grammar. 2008-11-26 19:00:34 +00:00