summaryrefslogtreecommitdiff
path: root/usr.sbin/rdate
AgeCommit message (Expand)Author
2020-01-09Remove unused attempts variable whose probable intended use would haveTheo Buehler
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-01-06after much wrangling over what might be an improved example,Ted Unangst
2018-08-18After calling getaddrinfo(3) both on rfc868 and ntp cases we can drop the "dns"Ricardo Mestre
2015-12-23expand message between processes to 2048 bytes. Andre Smagin foundTheo de Raadt
2015-12-12Remove NULL-checks before free().mmcc
2015-10-31repair error message; spotted by Marcus MerighiTheo de Raadt
2015-10-29rdate is a classic "run as root, talk to internet for a while doingTheo de Raadt
2015-02-10Document that RFC 5905 (ie. NTP protocol) has a limit which will beTheo de Raadt
2015-02-09clean up flags++ instances around getopt()Theo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-10-29use poll() instead of select(), thereby removing the fd_set malloc/freeTheo de Raadt
2014-10-08use reallocarray(). BTW << 3 is a sloppy compared to * sizeof(u_int64_t)...Theo de Raadt
2014-04-13remove a 'RCSId[]' which was missed in the rcsid[] removal from 2009.Jonathan Gray
2013-11-12ensure there are prototypesTheo de Raadt
2013-08-16Use %lld and cast to (long long) when printing time_t valuesPhilip Guenther
2013-04-20Remove extra info from usage message; that's what the manual is for.Todd C. Miller
2013-04-20spacingTheo de Raadt
2013-04-20remove irrelevant commentTheo de Raadt
2013-04-20Add -o option to getopt string and usage.Todd C. Miller
2013-04-19Make -n the default and add -o flag for the old RFC 868 time protocolTodd C. Miller
2013-04-19comment incorrect; rdate has -n support now tooTheo de Raadt
2012-08-30rfc 5905 replaces rfc 2030; for now, the reference to 2030 in ntpd.confJason McIntyre
2011-12-28s/minum/minimum/ in commentStuart Henderson
2011-07-24oops! syncronizing -> synchronizing (we'll ignore the z thing...)Jason McIntyre
2011-07-24don't encourage use of -c; plus cleanup other goo in man pageTheo de Raadt
2011-07-08tweak previous;Jason McIntyre
2011-07-07timed's time is up. use ntpd(8). Even our own fossil developersTheo de Raadt
2010-08-16Fix another gcc4 mis-alignment, by using bcopy() rather thanKenneth R Westerback
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-07-09documentation tweaks.Igor Sobrado
2007-11-26typos; ok jmc@Martynas Venckus
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
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
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
2004-07-09make date(1), rdate(8), ntpd(8), and timed(8) .Xr themselves;Jason McIntyre
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
2004-06-05Typo correction, and consistency changes.Alexander Guy
2004-05-30insane spacingTheo de Raadt
2004-05-30verify that the server is confident in the result it is sending us; from Alex...Jakob Schlyter
2004-05-26Send out a random 64-bit number as our transmit time. The NTPJakob Schlyter