+(4.2.7p28) 2010/05/03 Released by Harlan Stenn <stenn@ntp.org>
* Include (4.2.6p2-RC3) [Bug 1512] ntpsnmpd should connect to net-snmpd
via a unix-domain socket by default.
Provide a command-line 'socket name' option.
/*
* EDIT THIS FILE WITH CAUTION (ntpd-opts.c)
*
- * It has been AutoGen-ed April 27, 2010 at 10:06:52 AM by AutoGen 5.10
+ * It has been AutoGen-ed May 3, 2010 at 10:11:03 AM by AutoGen 5.10
* From the definitions ntpd-opts.def
* and the template file options
*
*/
tSCC zPROGNAME[] = "NTPD";
tSCC zUsageTitle[] =
-"ntpd - NTP daemon program - Ver. 4.2.7p27\n\
+"ntpd - NTP daemon program - Ver. 4.2.7p28\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n";
#define zRcName NULL
#define apzHomeList NULL
/*
* EDIT THIS FILE WITH CAUTION (ntpd-opts.h)
*
- * It has been AutoGen-ed April 27, 2010 at 10:06:51 AM by AutoGen 5.10
+ * It has been AutoGen-ed May 3, 2010 at 10:11:03 AM by AutoGen 5.10
* From the definitions ntpd-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 35
-#define NTPD_VERSION "4.2.7p27"
-#define NTPD_FULL_VERSION "ntpd - NTP daemon program - Ver. 4.2.7p27"
+#define NTPD_VERSION "4.2.7p28"
+#define NTPD_FULL_VERSION "ntpd - NTP daemon program - Ver. 4.2.7p28"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntpd-opts.texi)
#
-# It has been AutoGen-ed April 27, 2010 at 10:07:09 AM by AutoGen 5.10
+# It has been AutoGen-ed May 3, 2010 at 10:11:50 AM by AutoGen 5.10
# From the definitions ntpd-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
-ntpd - NTP daemon program - Ver. 4.2.7p27
+ntpd - NTP daemon program - Ver. 4.2.7p28
USAGE: ntpd [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
Flg Arg Option-Name Description
-4 no ipv4 Force IPv4 DNS name resolution
-.TH NTPD 1 2010-04-27 "( 4.2.7p27)" "Programmer's Manual"
+.TH NTPD 1 2010-05-03 "( 4.2.7p28)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpd.1)
.\"
-.\" It has been AutoGen-ed April 27, 2010 at 10:07:09 AM by AutoGen 5.10
+.\" It has been AutoGen-ed May 3, 2010 at 10:11:50 AM by AutoGen 5.10
.\" From the definitions ntpd-opts.def
.\" and the template file agman1.tpl
.\"
/*
* EDIT THIS FILE WITH CAUTION (ntpdc-opts.c)
*
- * It has been AutoGen-ed April 27, 2010 at 10:07:15 AM by AutoGen 5.10
+ * It has been AutoGen-ed May 3, 2010 at 10:12:05 AM by AutoGen 5.10
* From the definitions ntpdc-opts.def
* and the template file options
*
*/
tSCC zPROGNAME[] = "NTPDC";
tSCC zUsageTitle[] =
-"ntpdc - vendor-specific NTP query program - Ver. 4.2.7p27\n\
+"ntpdc - vendor-specific NTP query program - Ver. 4.2.7p28\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {
/*
* EDIT THIS FILE WITH CAUTION (ntpdc-opts.h)
*
- * It has been AutoGen-ed April 27, 2010 at 10:07:15 AM by AutoGen 5.10
+ * It has been AutoGen-ed May 3, 2010 at 10:12:04 AM by AutoGen 5.10
* From the definitions ntpdc-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 15
-#define NTPDC_VERSION "4.2.7p27"
-#define NTPDC_FULL_VERSION "ntpdc - vendor-specific NTP query program - Ver. 4.2.7p27"
+#define NTPDC_VERSION "4.2.7p28"
+#define NTPDC_FULL_VERSION "ntpdc - vendor-specific NTP query program - Ver. 4.2.7p28"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntpdc-opts.texi)
#
-# It has been AutoGen-ed April 27, 2010 at 10:07:24 AM by AutoGen 5.10
+# It has been AutoGen-ed May 3, 2010 at 10:12:26 AM by AutoGen 5.10
# From the definitions ntpdc-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
-ntpdc - vendor-specific NTP query program - Ver. 4.2.7p27
+ntpdc - vendor-specific NTP query program - Ver. 4.2.7p28
USAGE: ntpdc [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... [ host ...]
Flg Arg Option-Name Description
-4 no ipv4 Force IPv4 DNS name resolution
-.TH NTPDC 1 2010-04-27 "( 4.2.7p27)" "Programmer's Manual"
+.TH NTPDC 1 2010-05-03 "( 4.2.7p28)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpdc.1)
.\"
-.\" It has been AutoGen-ed April 27, 2010 at 10:07:24 AM by AutoGen 5.10
+.\" It has been AutoGen-ed May 3, 2010 at 10:12:26 AM by AutoGen 5.10
.\" From the definitions ntpdc-opts.def
.\" and the template file agman1.tpl
.\"
/*
* EDIT THIS FILE WITH CAUTION (ntpq-opts.c)
*
- * It has been AutoGen-ed April 27, 2010 at 10:07:24 AM by AutoGen 5.10
+ * It has been AutoGen-ed May 3, 2010 at 10:12:27 AM by AutoGen 5.10
* From the definitions ntpq-opts.def
* and the template file options
*
*/
tSCC zPROGNAME[] = "NTPQ";
tSCC zUsageTitle[] =
-"ntpq - standard NTP query program - Ver. 4.2.7p27\n\
+"ntpq - standard NTP query program - Ver. 4.2.7p28\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {
/*
* EDIT THIS FILE WITH CAUTION (ntpq-opts.h)
*
- * It has been AutoGen-ed April 27, 2010 at 10:07:24 AM by AutoGen 5.10
+ * It has been AutoGen-ed May 3, 2010 at 10:12:27 AM by AutoGen 5.10
* From the definitions ntpq-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 14
-#define NTPQ_VERSION "4.2.7p27"
-#define NTPQ_FULL_VERSION "ntpq - standard NTP query program - Ver. 4.2.7p27"
+#define NTPQ_VERSION "4.2.7p28"
+#define NTPQ_FULL_VERSION "ntpq - standard NTP query program - Ver. 4.2.7p28"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntpq-opts.texi)
#
-# It has been AutoGen-ed April 27, 2010 at 10:07:35 AM by AutoGen 5.10
+# It has been AutoGen-ed May 3, 2010 at 10:12:51 AM by AutoGen 5.10
# From the definitions ntpq-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
-ntpq - standard NTP query program - Ver. 4.2.7p27
+ntpq - standard NTP query program - Ver. 4.2.7p28
USAGE: ntpq [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... [ host ...]
Flg Arg Option-Name Description
-4 no ipv4 Force IPv4 DNS name resolution
-.TH NTPQ 1 2010-04-27 "( 4.2.7p27)" "Programmer's Manual"
+.TH NTPQ 1 2010-05-03 "( 4.2.7p28)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpq.1)
.\"
-.\" It has been AutoGen-ed April 27, 2010 at 10:07:35 AM by AutoGen 5.10
+.\" It has been AutoGen-ed May 3, 2010 at 10:12:51 AM by AutoGen 5.10
.\" From the definitions ntpq-opts.def
.\" and the template file agman1.tpl
.\"
/*
* EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.c)
*
- * It has been AutoGen-ed April 27, 2010 at 10:07:35 AM by AutoGen 5.10
+ * It has been AutoGen-ed May 3, 2010 at 10:12:52 AM by AutoGen 5.10
* From the definitions ntpsnmpd-opts.def
* and the template file options
*
tSCC zSyslog_Name[] = "syslog";
#define SYSLOG_FLAGS (OPTST_DISABLED)
+/*
+ * Agentxsocket option description:
+ */
+tSCC zAgentxsocketText[] =
+ "The socket address ntpsnmpd uses to connect to net-snmpd";
+tSCC zAgentxsocket_NAME[] = "AGENTXSOCKET";
+tSCC zAgentxsocket_Name[] = "agentxsocket";
+tSCC zAgentxsocketDefaultArg[] = "unix:/var/agentx/master";
+#define AGENTXSOCKET_FLAGS (OPTST_DISABLED \
+ | OPTST_SET_ARGTYPE(OPARG_TYPE_STRING))
+
/*
* Help/More_Help/Version option descriptions:
*/
/* desc, NAME, name */ zSyslogText, zSyslog_NAME, zSyslog_Name,
/* disablement strs */ NULL, NULL },
+ { /* entry idx, value */ 2, VALUE_OPT_AGENTXSOCKET,
+ /* equiv idx, value */ 2, VALUE_OPT_AGENTXSOCKET,
+ /* equivalenced to */ NO_EQUIVALENT,
+ /* min, max, act ct */ 0, 1, 0,
+ /* opt state flags */ AGENTXSOCKET_FLAGS, 0,
+ /* last opt argumnt */ { zAgentxsocketDefaultArg },
+ /* arg list/cookie */ NULL,
+ /* must/cannot opts */ NULL, NULL,
+ /* option proc */ NULL,
+ /* desc, NAME, name */ zAgentxsocketText, zAgentxsocket_NAME, zAgentxsocket_Name,
+ /* disablement strs */ NULL, NULL },
+
{ /* entry idx, value */ INDEX_OPT_VERSION, VALUE_OPT_VERSION,
/* equiv idx value */ NO_EQUIVALENT, 0,
/* equivalenced to */ NO_EQUIVALENT,
*/
tSCC zPROGNAME[] = "NTPSNMPD";
tSCC zUsageTitle[] =
-"ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p27\n\
-USAGE: %s [ -<flag> | --<name> ]...\n";
+"ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p28\n\
+USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {
"$HOME",
NO_EQUIVALENT, /* '-#' option index */
NO_EQUIVALENT /* index of default opt */
},
- 7 /* full option count */, 2 /* user option count */,
+ 8 /* full option count */, 3 /* user option count */,
ntpsnmpd_full_usage, ntpsnmpd_short_usage,
NULL, NULL
};
/*
* EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.h)
*
- * It has been AutoGen-ed April 27, 2010 at 10:07:35 AM by AutoGen 5.10
+ * It has been AutoGen-ed May 3, 2010 at 10:12:52 AM by AutoGen 5.10
* From the definitions ntpsnmpd-opts.def
* and the template file options
*
* Enumeration of each option:
*/
typedef enum {
- INDEX_OPT_NOFORK = 0,
- INDEX_OPT_SYSLOG = 1,
- INDEX_OPT_VERSION = 2,
- INDEX_OPT_HELP = 3,
- INDEX_OPT_MORE_HELP = 4,
- INDEX_OPT_SAVE_OPTS = 5,
- INDEX_OPT_LOAD_OPTS = 6
+ INDEX_OPT_NOFORK = 0,
+ INDEX_OPT_SYSLOG = 1,
+ INDEX_OPT_AGENTXSOCKET = 2,
+ INDEX_OPT_VERSION = 3,
+ INDEX_OPT_HELP = 4,
+ INDEX_OPT_MORE_HELP = 5,
+ INDEX_OPT_SAVE_OPTS = 6,
+ INDEX_OPT_LOAD_OPTS = 7
} teOptIndex;
-#define OPTION_CT 7
-#define NTPSNMPD_VERSION "4.2.7p27"
-#define NTPSNMPD_FULL_VERSION "ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p27"
+#define OPTION_CT 8
+#define NTPSNMPD_VERSION "4.2.7p28"
+#define NTPSNMPD_FULL_VERSION "ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p28"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
# warning undefining SYSLOG due to option name conflict
# undef SYSLOG
# endif
+# ifdef AGENTXSOCKET
+# warning undefining AGENTXSOCKET due to option name conflict
+# undef AGENTXSOCKET
+# endif
#else /* NO_OPTION_NAME_WARNINGS */
# undef NOFORK
# undef SYSLOG
+# undef AGENTXSOCKET
#endif /* NO_OPTION_NAME_WARNINGS */
/* * * * * *
*/
#define VALUE_OPT_NOFORK 'n'
#define VALUE_OPT_SYSLOG 'p'
+#define VALUE_OPT_AGENTXSOCKET 2
#define VALUE_OPT_HELP '?'
#define VALUE_OPT_MORE_HELP '!'
#define VALUE_OPT_VERSION INDEX_OPT_VERSION
#
# EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.texi)
#
-# It has been AutoGen-ed April 27, 2010 at 10:07:36 AM by AutoGen 5.10
+# It has been AutoGen-ed May 3, 2010 at 10:12:54 AM by AutoGen 5.10
# From the definitions ntpsnmpd-opts.def
# and the template file aginfo.tpl
@end ignore
@menu
* ntpsnmpd usage:: ntpsnmpd usage help (-?)
+* ntpsnmpd agentxsocket:: agentxsocket option
* ntpsnmpd nofork:: nofork option (-n)
* ntpsnmpd syslog:: syslog option (-p)
@end menu
This is the ``log to syslog()'' option.
+
+@node ntpsnmpd agentxsocket
+@subsection agentxsocket option
+@cindex ntpsnmpd-agentxsocket
+
+This is the ``the socket address ntpsnmpd uses to connect to net-snmpd'' option.
+[<transport-specifier>:]<transport-address>
+The default is the Unix Domain socket "unix:/var/agentx/master". Another common alternative is tcp:localhost:705.
-.TH NTPSNMPD 1 2010-04-27 "( 4.2.7p27)" "Programmer's Manual"
+.TH NTPSNMPD 1 2010-05-03 "( 4.2.7p28)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpsnmpd.1)
.\"
-.\" It has been AutoGen-ed April 27, 2010 at 10:07:36 AM by AutoGen 5.10
+.\" It has been AutoGen-ed May 3, 2010 at 10:12:53 AM by AutoGen 5.10
.\" From the definitions ntpsnmpd-opts.def
.\" and the template file agman1.tpl
.\"
Log to syslog().
.sp
+.TP
+.BR \--agentxsocket "=\fIstring\fP"
+The socket address ntpsnmpd uses to connect to net-snmpd.
+The default \fIstring\fP for this option is:
+.ti +4
+ unix:/var/agentx/master
+.sp
+[<transport-specifier>:]<transport-address>
+The default is the Unix Domain socket "unix:/var/agentx/master". Another common alternative is tcp:localhost:705.
.TP
.BR \-? , " \--help"
Display extended usage information and exit.
# - Numeric values increment
# - empty 'increments' to 1
# - NEW 'increments' to empty
-point=27
+point=28
### betapoint is normally modified by script.
# ntp-stable Beta number (betapoint)
/*
* EDIT THIS FILE WITH CAUTION (sntp-opts.c)
*
- * It has been AutoGen-ed April 27, 2010 at 10:08:37 AM by AutoGen 5.10
+ * It has been AutoGen-ed May 3, 2010 at 10:15:24 AM by AutoGen 5.10
* From the definitions sntp-opts.def
* and the template file options
*
*/
tSCC zPROGNAME[] = "SNTP";
tSCC zUsageTitle[] =
-"sntp - standard SNTP program - Ver. 4.2.7p27\n\
+"sntp - standard SNTP program - Ver. 4.2.7p28\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... hostname-or-IP ...\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {
/*
* EDIT THIS FILE WITH CAUTION (sntp-opts.h)
*
- * It has been AutoGen-ed April 27, 2010 at 10:08:37 AM by AutoGen 5.10
+ * It has been AutoGen-ed May 3, 2010 at 10:15:24 AM by AutoGen 5.10
* From the definitions sntp-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 17
-#define SNTP_VERSION "4.2.7p27"
-#define SNTP_FULL_VERSION "sntp - standard SNTP program - Ver. 4.2.7p27"
+#define SNTP_VERSION "4.2.7p28"
+#define SNTP_FULL_VERSION "sntp - standard SNTP program - Ver. 4.2.7p28"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (sntp-opts.texi)
#
-# It has been AutoGen-ed April 27, 2010 at 10:08:41 AM by AutoGen 5.10
+# It has been AutoGen-ed May 3, 2010 at 10:15:31 AM by AutoGen 5.10
# From the definitions sntp-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
-sntp - standard SNTP program - Ver. 4.2.7p27
+sntp - standard SNTP program - Ver. 4.2.7p28
USAGE: sntp [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... hostname-or-IP ...
Flg Arg Option-Name Description
-4 no ipv4 Force IPv4 DNS name resolution
-.TH SNTP 1 2010-04-27 "( 4.2.7p27)" "Programmer's Manual"
+.TH SNTP 1 2010-05-03 "( 4.2.7p28)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (sntp.1)
.\"
-.\" It has been AutoGen-ed April 27, 2010 at 10:08:41 AM by AutoGen 5.10
+.\" It has been AutoGen-ed May 3, 2010 at 10:15:31 AM by AutoGen 5.10
.\" From the definitions sntp-opts.def
.\" and the template file agman1.tpl
.\"
clock. Run as root, it can correct the system clock to this offset as
well. It can be run as an interactive command or from a cron job.
- <p>This document applies to version 4.2.7p27 of <code>sntp</code>.
+ <p>This document applies to version 4.2.7p28 of <code>sntp</code>.
<p>The program implements the SNTP protocol as defined by the draft NTPv4
IETF specification.
/*
* EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.c)
*
- * It has been AutoGen-ed April 27, 2010 at 10:08:42 AM by AutoGen 5.10
+ * It has been AutoGen-ed May 3, 2010 at 10:15:32 AM by AutoGen 5.10
* From the definitions ntp-keygen-opts.def
* and the template file options
*
*/
tSCC zPROGNAME[] = "NTP_KEYGEN";
tSCC zUsageTitle[] =
-"ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p27\n\
+"ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p28\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {
/*
* EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.h)
*
- * It has been AutoGen-ed April 27, 2010 at 10:08:42 AM by AutoGen 5.10
+ * It has been AutoGen-ed May 3, 2010 at 10:15:32 AM by AutoGen 5.10
* From the definitions ntp-keygen-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 23
-#define NTP_KEYGEN_VERSION "4.2.7p27"
-#define NTP_KEYGEN_FULL_VERSION "ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p27"
+#define NTP_KEYGEN_VERSION "4.2.7p28"
+#define NTP_KEYGEN_FULL_VERSION "ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p28"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.texi)
#
-# It has been AutoGen-ed April 27, 2010 at 10:08:47 AM by AutoGen 5.10
+# It has been AutoGen-ed May 3, 2010 at 10:15:42 AM by AutoGen 5.10
# From the definitions ntp-keygen-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
Using OpenSSL version 90704f
-ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p27
+ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p28
USAGE: ntp-keygen [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
Flg Arg Option-Name Description
-c Str certificate certificate scheme
-.TH NTP-KEYGEN 1 2010-04-27 "(ntp 4.2.7p27)" "Programmer's Manual"
+.TH NTP-KEYGEN 1 2010-05-03 "(ntp 4.2.7p28)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntp-keygen.1)
.\"
-.\" It has been AutoGen-ed April 27, 2010 at 10:08:47 AM by AutoGen 5.10
+.\" It has been AutoGen-ed May 3, 2010 at 10:15:42 AM by AutoGen 5.10
.\" From the definitions ntp-keygen-opts.def
.\" and the template file agman1.tpl
.\"