summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2004-07-14do not do the stratum guessing dance.Henning Brauer
stratum is pretty much pointless anyway these days, and we certainly do not want to send out illegal packets (stratum=0) until synced...
2004-07-14do not bail out if the server says its clock is unsynchronized.Henning Brauer
rdate is a simple client and doesn't have another server to query, and a server's idea of the time is better than the local clock's one in basically any case.
2004-07-14no \n in errx(3)Henning Brauer
From: Andrey Matveev <andrushock@korovino.net>
2004-07-14Rework @dirrm: keep them all, and remove them at the end of pkg_delete.Marc Espie
Add @dir, more powerful than @dirrm, so that we can get rid of those pesky @exec mkdir -p. okay naddy@
2004-07-13slightly reword myself;Jason McIntyre
2004-07-13tweaks; ok henning@Jason McIntyre
2004-07-13tweaks; ok henning@Jason McIntyre
2004-07-13Respond to client queries with better server statistics. We now outputAlexander Guy
a close-to-reality stratum, a real reference time, and a leap indicator that will indicate if the local clock isn't synchronized. This also means that until the server feels it's synchronized, it will tell the clients it isn't. This is normal, and correct. ok henning@
2004-07-13lots of cleanup and revising:Jared Yanovich
- typo fixes, rewording, punctuation - better use of and more format macros - section reorganization in some places - list directives with their arguments - add some cross-refs ok jmc, henning, otto
2004-07-13fix some typosJared Yanovich
ok henning otto
2004-07-13ignore obviously malformed queries; ok henning@Alexander Guy
2004-07-13stuff from me and claudio@:Jason McIntyre
- remove references to stuff we don't support (libalias, libradius, etc.) - consistent quoting - macro fixes - grammar, punctuation, etc. - use .Ic for commands to reduce amount of quoting more work needed here. this page is just too much...
2004-07-13liek bgpd, use a socketpair(2) instead of a pipe(2)Henning Brauer
2004-07-13at pkg_create time, mark hard links with @link, and symlinks with @symlink,Marc Espie
instead of computing size and md5. okay naddy@, sturm@
2004-07-12Add missing newlinesDarren Tucker
2004-07-12Replace errx with equivalent fprintf+exit to make porting easier; ok henning@Darren Tucker
2004-07-11hunt for the originating packages in case of collision, and sortMarc Espie
the colliding files by package. okay naddy@, and typo fix naddy/pval.
2004-07-11.Xr syslogd(8) in SEE ALSO; ok djm@ jmc@.Xavier Santolaria
2004-07-11Use SA_LEN(sa) instead of sa->sa_len; ok henning@Darren Tucker
2004-07-11Fix a cross reference to bgpd in the FILES sectionJean-Francois Brousseau
ok jmc@, should make brad stop whining
2004-07-11Start collecting the remote server state along with the calculatedAlexander Guy
offsets, in preparation for having correct server statistics in responses to client queries. ok henning@
2004-07-10KNF; ok henning@Alexander Guy
2004-07-10short fixed point <-> double conversion routines; ok henning@Alexander Guy
2004-07-10correct leap indicator mask; ok henning@Alexander Guy
2004-07-10missing {}Henning Brauer
2004-07-10check wether we have enough data to form a peer update on receiptionHenning Brauer
of each packet, not only after each 8th (where we have enough for sure)
2004-07-10oupsHenning Brauer
2004-07-10scale query interval based on local clock offset. tested by manyHenning Brauer
not as efficient as I want it to be yet, but more is coming
2004-07-10Fix reverse logic bug in the prefix filter.Claudio Jeker
2004-07-09various cleanup:Jared Yanovich
- fix examples - fix macro abuse - hex -> hexadecimal - rewording for clarity and consistency - make -a description seem less dangerous - sort options work, help, ok jmc ok otto
2004-07-09make lint a wee bit happierTheo de Raadt
2004-07-09make date(1), rdate(8), ntpd(8), and timed(8) .Xr themselves;Jason McIntyre
mostly from Andreas Kahari (PR #3846);
2004-07-09[From: Joris Vink]Thierry Deval
Use strtonum(3) instead of strtol(3). ok deraadt@ & me
2004-07-09Do not forget to initialize head. ok henning@Otto Moerbeek
2004-07-09ansiTheo de Raadt
2004-07-09ansiTheo de Raadt
2004-07-09too chatty; ok henningTheo de Raadt
2004-07-09don't panic when sendto() fails; for the client part just re-scheduleHenning Brauer
noticed & fix tested by fries@
2004-07-09don't try to update the clock when we have no dataHenning Brauer
2004-07-09various cleanup:Jared Yanovich
- mention '#' comments - fix macros for directives - typos - change list display - ntp -> NTP - slight rewording help and ok jmc ok henning otto
2004-07-09the child process needs to ignore SIGHUP for now, ottoHenning Brauer
2004-07-09remove leftover pieces of on-the-fly reconfig shitz that made ntpd exit onHenning Brauer
SIGHUP, noticed by otto
2004-07-09various tweaks from the Frankfurt->Hamburg flightHenning Brauer
2004-07-09let log_debug only log at all when we're in debug mode, from Montreal AirportHenning Brauer
2004-07-09soem tweaks from the Frankfurt->Hamburg flightHenning Brauer
2004-07-09document the "servers" keywordHenning Brauer
2004-07-09rework dns handling with all its cosequences...Henning Brauer
we know have both a "server" and "servers" keyword. they differ when the hostname resolves to more than one IP, server picks one and servers expands to all. that means no longer stuffing a sockaddr_storage into ntp_peer but a pointer to a linked list of ntp_addr structs. in the "servers" case the list of n addresses returned by host() is expanded into n ntp_peer structs and thus n individual peers. in the "server" case the whole list is attached to ntp_peer, and whenever we do not receive a reply in time we traverse the list one further, so that hosts with both AAAA and A records are first tried with the AAAA one but we gracefully fall back to the A one. semantics with theo; hacked up on the Montreal->Frankfurt flight. again Air Canada surprised me, that older 767 hat pretty decent seats.
2004-07-09when calculating the timeout for poll() we need to take the deadlines forHenning Brauer
the outstanding queries into account just-before-meal from the Montreal->Frankfurt flight
2004-07-08kill traces of on-the-fly reconfigure (from bgpd), not needed in ntpdHenning Brauer
2004-07-08remove a bogus always-true test before adjtime()Henning Brauer