summaryrefslogtreecommitdiff
path: root/usr.sbin/rdate
AgeCommit message (Collapse)Author
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2008-07-09documentation tweaks.Igor Sobrado
2007-11-26typos; ok jmc@Martynas Venckus
sys/netinet/in_pcb.c and sys/net/bridgestp.c ok henning@ sys/dev/pci/bktr/* ok jakemsr@
2007-11-25spelling fixes, from Martynas Venckus;Jason McIntyre
2007-05-31convert to new .Dd format;Jason McIntyre
2006-09-17Make rdate ignore ntp responses with ALARM status.Chris Kuethe
"yeah..." henning@
2006-03-14#ifdef DEBUG not #if DEBUGTheo de Raadt
2006-01-28simplify statics, remove stupid goto, plug a leak. ok moritzTed Unangst
2004-10-26make the ntp version check even better, use NTP_VERSION_MIN and _MAXHenning Brauer
2004-10-24accept replies with a NTP version number of 4 or lower, instead of only 4Henning Brauer
as before, we can handle all versions
2004-09-15KNFHenning Brauer
2004-09-15don't refuse packets with stratum=0, they are fineHenning Brauer
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-09make date(1), rdate(8), ntpd(8), and timed(8) .Xr themselves;Jason McIntyre
mostly from Andreas Kahari (PR #3846);
2004-07-07add ntpd(8) to SEE ALSO;Jason McIntyre
2004-06-17err on calloc failure; ok henning@Alexander Guy
2004-06-09 * Bring rdate's SNTP support into compliance with SNTPv4 (RFC 2030).Alexander Guy
* More robust handling of NTP error conditions (e.g. host or service unreachable). * Improve the detection of stale and/or spoofed NTP responses from servers. * Add support for getaddrinfo(3)'s multiple host support if error conditions occur (e.g. round-robin DNS, and the first NTP server isn't responding, try the next host in line). * Minor formatting/code cleanup. ok henning@
2004-06-05Typo correction, and consistency changes.Alexander Guy
ok jakob@, henning@
2004-05-30insane spacingTheo de Raadt
2004-05-30verify that the server is confident in the result it is sending us; from ↵Jakob Schlyter
Alexander Guy
2004-05-26Send out a random 64-bit number as our transmit time. The NTPJakob Schlyter
server will copy said number into the originate field on the response that it sends us. This is totally legal per the SNTP spec. The impact of this is two fold: we no longer send out the current system time for the world to see (which may aid an attacker), and it gives us a (not very secure) way of knowing that we're not getting spoofed by an attacker that can't capture our traffic but can spoof packets from the NTP server we're communicating with. code by Alexander Guy. ok deraadt@
2004-05-25SNTP is RFC 2030Jakob Schlyter
2004-05-18sendto() return code fixes; from andreq matveevJakob Schlyter
ok deraadt@
2004-05-05simplify license. ok author.Jakob Schlyter
2004-02-18sort options and SYNOPSIS;Jason McIntyre
sync usage();
2004-02-16add IPv4/IPv6 transport selection. ok millert@ deraadt@Jakob Schlyter
2003-11-20remove -Werror from userland builds, to give us a chance toAnil Madhavapeddy
use more verbose warning options if desired. ok millert@, henning@, david@
2003-08-08refer to RFCs consistently (RFC XXXX);Jason McIntyre
2003-06-26strict proto cleanupsTheo de Raadt
2003-06-12- section reorderJason McIntyre
- macro fixes - kill whitespace at EOL - new sentence, new line
2003-05-14"error" was typed double, which is not suitable for getaddrinfo(3).Jun-ichiro itojun Hagino
from tobias
2003-02-11typos;Jason McIntyre
raidctl(8) ok millert@ mknetid(8) help maja@
2002-11-14use $ or # before commands in examplesTheo de Raadt
2002-10-15improve englishJakob Schlyter
2002-09-08add leap second support for rfc868, from thorsten glaserJakob Schlyter
2002-08-10style; from thorstenJakob Schlyter
2002-08-03check return value from read; from thorstenJakob Schlyter
2002-08-01knf and minor tweeking from thorstenJakob Schlyter
2002-07-31minor changes and knf from thorsten glaserJakob Schlyter
2002-07-30knfTheo de Raadt
2002-07-28call ntpleaps before trying to sync if neededJakob Schlyter
2002-07-27move leap seconds correction to -N option for nowJakob Schlyter
2002-07-27add verbose output optionJakob Schlyter
2002-07-27enable leapsecond supprtJakob Schlyter
2002-07-27leapsecond support; written by thorsten glaser; ok millert@Jakob Schlyter
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-05-16More careful with select(). deraadt@ ok.Hakan Olsson
2002-05-16IPv6 support; itojun@Jakob Schlyter
2002-05-16more clarify and cleanup; ok jakob@Kevin Steves
2002-05-16#ifdef DEBUG some verbose output, may be moved to a -v flag later perhapsJakob Schlyter