freebsd-dev/usr.sbin/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
..
SMM.doc Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
timed The timed protocol is not implemented in a compatible way by all vendors; 2001-08-20 06:16:04 +00:00
timedc The timed protocol is not implemented in a compatible way by all vendors; 2001-08-20 06:16:04 +00:00
Makefile Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00