components/ntp/patches/30-mode7.patch
author Brian Utterback <brian.utterback@oracle.com>
Fri, 16 Aug 2013 06:35:08 -0700
changeset 1467 f14b6c5766ca
permissions -rw-r--r--
15705382 SUNBT7031289 Update ntp to 4.2.7 16756358 Enable ASLR for NTP 14932716 SUNBT4031742 /etc/inet/ntp.client should include broadcastclient 15722546 SUNBT7055402 ipmp cause reachability issues for ntp4 daemon 15727250 SUNBT7064417 ntpd errors on some new system 15751447 SUNBT7106031 Solaris 11 restrict noserve doesn't work right 15785388 SUNBT7161189 ntpd starts on S 11 in a forked status with error "ntpd indicates n 15813516 SUNBT7195495 ntpd crashed with SIGFPE (Arithmetic Exception) 16090481 ntp version 4 daemon crashes in isc_interfaceiter_first() 16741686 "ntpd" v4.2.5 cannot accept/query interface names longer than 15 characters. 16978017 ntpd debug in Solaris 11.1does not write any output 17000189 NTP needs to increase its file descriptor limit. 17000601 ntpd should log a message when it exits abnormally.

This patch reenables support for the ntpdc command's protocol, which
has been EOL'ed by the community. Once we finish the EOL process
in Solaris, we can remove this patch. 

--- ntpd/ntp_proto.c.fcs	2012-07-27 13:19:00.241528650 -0500
+++ ntpd/ntp_proto.c	2012-07-27 13:19:16.684268838 -0500
@@ -99,7 +99,7 @@ u_long	leap_expire;		/* leap information
 static int leap_vote;		/* leap consensus */
 keyid_t	sys_private;		/* private value for session seed */
 int	sys_manycastserver;	/* respond to manycast client pkts */
-int	ntp_mode7;		/* respond to ntpdc (mode7) */
+int	ntp_mode7 = TRUE;		/* respond to ntpdc (mode7) */
 int	peer_ntpdate;		/* active peers in ntpdate mode */
 int	sys_survivors;		/* truest of the truechimers */
 char	*sys_ident = NULL;	/* identity scheme */