Changes:
20040820
- (dtucker) [defined.h] Newer FSF bisons will create a y.tab.c that has
conflicting definitions of YYSTYPE. Defining YYSTYPE_IS_DECLARED keeps it
happy. Noted by Q at ping.be.
- (dtucker) [removed ntpd.cat8 ntpd.conf.cat5] Remove catman pages. Noted by
by Q at ping.be.
- (dtucker) [configure.ac ntpd.c] Prevent Linux kernel from whining about
signal(SIGCHLD, SIG_IGN) + wait().
- (dtucker) OpenBSD CVS Sync
- henning@cvs.openbsd.org 2004/08/10 12:41:15
[config.c ntpd.h parse.y ]
move memory allocation for new peers into a new function, makes ID
allocation easier
- henning@cvs.openbsd.org 2004/08/10 12:45:27
[parse.y ]
in the pool case ("servers somepool.somewhere"), we add new peers while
looping over the addresses returned by the dns lookup, as each address
is one new peer.
however, if the lookup fails with a temporary error, we will try to lookup
later again. for that, we obviously need to insert one peer with the
hostname in addr_head... change one for() loop into a do { } while() one
- henning@cvs.openbsd.org 2004/08/10 19:17:10
[ntp_msg.c ]
wrong sizeof; Brian Poole <raj@cerias.purdue.edu>
- henning@cvs.openbsd.org 2004/08/10 19:18:23
[buffer.c ]
order #includes, Brian Poole <raj@cerias.purdue.edu>
- henning@cvs.openbsd.org 2004/08/12 16:33:59
[client.c config.c ntp.c ntpd.c ntpd.h ]
do not try to getaddrinfo() in the unprivileged process, send an imsg
asking the privileged one to do it. sends back an imsg with the
resulting addresses in a bunch of struct sockaddr_storage in the data
part.
this should fix all remaining issues with dns (non-)availability at
ntpd startup, be it due to named on localhost or something else.
tested by marco@ and Chris Paul <chris.paul@sentinare.com>
- otto@cvs.openbsd.org 2004/08/13 12:26:13
[client.c ]
Reset deadline on failed transmit. Avoids a spinning process if
all sends fail. ok henning@
- otto@cvs.openbsd.org 2004/08/16 11:14:15
[client.c ]
Be more careful setting next and deadline, they should not both be != 0
at the same time.
ok henning@
- (dtucker) [configure.ac] libresolv now needed on some platforms (eg
Solaris).
20040730
- (dtucker) OpenBSD CVS Sync
- henning@cvs.openbsd.org 2004/07/25 18:27:58
[config.c ntpd.h ]
remove unused function
- henning@cvs.openbsd.org 2004/07/28 16:38:43
[client.c config.c ntpd.h parse.y ]
when a dns lookup fails at parse time, do not abort but try again
to resolve the hostname every 60 seconds
fixes ntpd invocations before e. g. a dialup link is established and such.
as we want ntpd to be a "fire and forget" background daemon it should
cope with such situations.
tested by many
- henning@cvs.openbsd.org 2004/07/28 16:56:21
[parse.y ]
prevent unresolvable hostnames in "listen on" statements
- henning@cvs.openbsd.org 2004/07/29 11:01:48
[ntpd.h parse.y ]
keep an ID per server we talk to
20040721
- (dtucker) OpenBSD CVS Sync
- henning@cvs.openbsd.org 2004/07/20 16:47:55
[client.c ntpd.h parse.y ]
wrap the heads for the linked list of addresses into a new ntp_addr_wrap
which, besides the head pointer for the list of course, stores the original
address as specified (i. e. as hostname instead of resolved IPs) and flags
and such.
- henning@cvs.openbsd.org 2004/07/21 09:40:55
[parse.y ]
no multiple free(); "John L. Scarfone" <j0@cox.net>
- (dtucker) [Makefile.in] rebuild y.tab.c during distprep too.
20040720
- (dtucker) [Makefile.in] Set @CC@ too.
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
Peter Postma.
OpenNTPd is a free implementation of the Network Time Protocol.
It provides the ability to sync the local clock to remote NTP servers and
can act as NTP server itself, redistributing the local clock.
OpenNTPd is primarily developed by Henning Brauer and Alexander Guy as part
of the OpenBSD Project. The portable version is made by Darren Tucker.
The software and is freely useable and re-useable by everyone under a BSD
license.