Date: Fri, 31 Aug 2001 01:02:06 -0700 (PDT) From: Kris Kennaway <kris@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/timed/timed readmsg.c src/usr.sbin/timed/timedc cmds.c Message-ID: <200108310802.f7V826e60998@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
kris 2001/08/31 01:02:06 PDT Modified files: (Branch: RELENG_4) usr.sbin/timed/timed readmsg.c usr.sbin/timed/timedc cmds.c Log: MFC: 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. Approved by: jkh Revision Changes Path 1.5.2.3 +8 -3 src/usr.sbin/timed/timed/readmsg.c 1.6.2.2 +17 -6 src/usr.sbin/timed/timedc/cmds.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108310802.f7V826e60998>