freebsd-dev/usr.sbin/timed/timed
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
..
acksend.c $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
byteorder.c $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
candidate.c $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
CHANGES Preceed/preceeding are not english words. Use precede and preceding. 2001-02-18 10:44:00 +00:00
cksum.c $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
correct.c $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
extern.h
globals.h Change type of vars which hold in_addr.s_addr from u_long to u_int32_t, 2000-03-03 13:01:57 +00:00
Makefile Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
master.c $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
measure.c $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
networkdelta.c Remove duplicated ';' statement delimiters. 2000-05-19 08:26:17 +00:00
pathnames.h
readmsg.c The timed protocol is not implemented in a compatible way by all vendors; 2001-08-20 06:16:04 +00:00
slave.c $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
timed.8 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
timed.c $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00