freebsd-nq/usr.sbin/timed/timedc
Kris Kennaway 73c4a23ef2 The timed protocol is not implemented in a compatible way by all vendors;
the size of the tsp_name field is OS-dependent.  4.3BSD used a 32-byte
field, FreeBSD uses MAXHOSTNAMELEN and RedHat apparently uses a 64-byte
field.  As a result, sanity checking code added a few months ago to detect
short packets will fail when interoperating with one of these other vendors.

Change the short packet detection code to expect a minimum packet size
corresponding to the 4.3BSD implementation, which should be a safe minimum
size.

Submitted by:	Stephen Whiteley <stevew@best.com> (based on)
PR:		misc/29867
2001-08-20 06:16:04 +00:00
..
cmds.c The timed protocol is not implemented in a compatible way by all vendors; 2001-08-20 06:16:04 +00:00
cmdtab.c $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
extern.h
Makefile Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
timedc.8 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
timedc.c $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
timedc.h