Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-05-11 | don't touch *hn in failure case. no real change due to the way we use it | Henning Brauer | |
but more correct. from Michael Knudsen <e@molioner.dk> | |||
2005-03-09 | nasty: host_dns used to run before forking and chrooting etc, so it was | Henning Brauer | |
guaranteed that its res_init() call was done once before fork etc... that is no longer the case. call res_init() in main() early. | |||
2005-03-08 | from the "shut the fuck up, ntpd" department: | Henning Brauer | |
don't whine about temporary dns errors | |||
2004-12-16 | Limit the number of addresses used by the 'servers' directive to 8; ok henning@ | Darren Tucker | |
2004-08-30 | don't forget to set *hn... theo ok | Henning Brauer | |
2004-08-30 | skip early DNS lookups -- they are deferred to later; ok otto ho henning | Theo de Raadt | |
2004-08-24 | don't fatal() if getaddrinfo() returns EAI_NONAME | Henning Brauer | |
2004-08-12 | do not try to getaddrinfo() in the unprivileged process, send an imsg | Henning Brauer | |
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> | |||
2004-08-10 | move memory allocation for new peers into a new function, makes ID allocation | Henning Brauer | |
easier | |||
2004-07-28 | when a dns lookup fails at parse time, do not abort but try again | Henning Brauer | |
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 | |||
2004-07-25 | remove unused function | Henning Brauer | |
2004-07-08 | remove all handling of netmasks/prefix lengths - we don't need that in ntpd. | Henning Brauer | |
fixes the dns resolves to v4 and v6 addresses bug found by phessler hacked on the Calgary->Montreal flight that proved that Air Canada _does_ have some modern aircrafts with good seats | |||
2004-07-07 | do not listen anywhere by default. | Henning Brauer | |
listen on * listens, well, everywhere. | |||
2004-07-07 | host_* now returns pointers, so the error return is NULL and not 0 | Henning Brauer | |
2004-07-07 | swicth all the host_* functions to work on a newly invented | Henning Brauer | |
struct ntp_addr, which just wraps a sockaddr_storage and a next pointer, so that host_dns can return more than one entry. let host_dns do exactly that, return a list of all IPs for that hostname adjust all callers in the grammar to cope with that | |||
2004-07-06 | allow hostnames and resolve them in the config file | Henning Brauer | |
2004-06-02 | prepare for client functionality | Henning Brauer | |
2004-06-01 | first cut at config file parser | Henning Brauer | |
for now, one can set the addresses to listen on |