summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/server.c
AgeCommit message (Expand)Author
2016-09-03Remove the oh so funny "LOSS OF MIND" from the diclaimer that was notReyk Floeter
2015-07-18replace bzero with memsetBrent Cook
2015-05-19Get the rdomain from the newly exposed ifi_rdomain field in if_dataReyk Floeter
2015-02-10spacingReyk Floeter
2015-01-09remove excessive/wrong use of sys/param.hTheo de Raadt
2014-06-03remove set but not used variableCharles Longeau
2013-10-21remove the IPv4-only check for rdomains, allows IPv6 to use themPeter Hessler
2013-04-30Remove unused function argument variables 'len' and 'auth' fromMarcus Glocker
2011-09-21Add rdomain support to NTPd.Peter Hessler
2009-05-20fix looking at the mode bits so that we do not reply to broadcast and otherHenning Brauer
2008-11-10delete operation not needed; from naddyTheo de Raadt
2008-11-10If a bind() spuriously fails (as appears to happen once in a blue moon dueTheo de Raadt
2008-06-10According to the latest SNTPv4 spec in RFC4330, secondary serversChristian Weisgerber
2007-01-15Although Unix compilers accept more than one definition of a globalOtto Moerbeek
2006-07-01remove some unneeded includes; one found by vetinariOtto Moerbeek
2006-06-07Compensate old offsets with the amount of adjustment done, avoidingOtto Moerbeek
2006-01-19Do not attempt to listen on interfaces with a wildcard address; ok henning@Darren Tucker
2006-01-19Check SA_LEN(sa) after sa is checked for NULL. Pointed out by solar atDarren Tucker
2005-09-24Log source address for 'malformed packet' errors. ok henning@Darren Tucker
2005-08-10Propogate server's leap indicator flags to clients; ok henning@Darren Tucker
2005-07-22Skip invalid interfaces during 'listen on *'; ok henning@Darren Tucker
2005-07-05Save transmit time for each peer for later use as refid for SNTPv4Darren Tucker
2005-05-24ifa->ifa_addr can be NULL in some cases, pt out by Kurt RoeckxHenning Brauer
2005-01-28Make network unreachable errors non-fatal; ok henning@Darren Tucker
2004-12-22Save original value returned by getifaddrs to free later; ok henning@Darren Tucker
2004-12-08uniquely name members of s_fixedpt and l_fixedpt; henning@ okMichael Shalayeff
2004-10-22in server mode reply with stratum from the peer that we currently preferHenning Brauer
2004-10-15Only set IPTOS_LOWDELAY on IPv4 interfaces; pointed out by phessler, ok henningDarren Tucker
2004-10-14Have ntpd use IPTOS_LOWDELAY; ok henning@Darren Tucker
2004-10-13set rootdelay in replies.Henning Brauer
2004-10-13correctly set refid in replies with NTP protocol versions < 4.Henning Brauer
2004-09-07ignore ntp_sendmsg()s return value in server_dispatch. could result inHenning Brauer
2004-07-18there are a few recvfrom(2) errors we do not want to panic onHenning Brauer
2004-07-14do not do the stratum guessing dance.Henning Brauer
2004-07-13Respond to client queries with better server statistics. We now outputAlexander Guy
2004-07-13ignore obviously malformed queries; ok henning@Alexander Guy
2004-07-11Use SA_LEN(sa) instead of sa->sa_len; ok henning@Darren Tucker
2004-07-07* Convert to use the new double-based time handling functions.Alexander Guy
2004-07-07ease code and tweak loggingHenning Brauer
2004-07-07do not listen anywhere by default.Henning Brauer
2004-07-04KNFHenning Brauer
2004-06-29When no listener is specified, create a listener on every IP. ProblemAlexander Guy
2004-06-18size struct pollfd and idx2peer dynamically instead of imposing an arbitaryHenning Brauer
2004-06-02prepare for client functionalityHenning Brauer