summaryrefslogtreecommitdiff
path: root/lib/libc/asr
AgeCommit message (Expand)Author
2017-03-15use recallocarray to resize buffer - ensures that detritus from previousTheo de Raadt
2017-03-14don't need to handle the malloc case special, since realloc worksTheo de Raadt
2017-02-27Add support for RES_USE_DNSSECJeremie Courreges-Anglas
2017-02-27Recognize and allow bits AD and CD in DNS replies.Jeremie Courreges-Anglas
2017-02-27Put a common flags field in the query struct, rather than in someJeremie Courreges-Anglas
2017-02-23Put a common subq pointer in the query struct, rather than one in eachEric Faurot
2017-02-21missing breaksEric Faurot
2017-02-21Report the errno set by getifaddrs(3) if the setup for AI_ADDRCONFIG fails,Eric Faurot
2017-02-19Use T_OPT instead of literal "41".Jeremie Courreges-Anglas
2017-02-18Use more specific error codes for invalid packets.Eric Faurot
2017-02-18Add EDNS0 support.Jeremie Courreges-Anglas
2017-02-17use common errnos instead of random strings as error indicators inEric Faurot
2017-02-17Increase UDP packet buffer to 4096 bytes from 512. There are some reallyKenneth R Westerback
2016-12-18Remove prototype for static function _asr_resolver. Eliminates gccKenneth R Westerback
2016-08-20Declare all _asr_* debug functions as hidden.Jeremie Courreges-Anglas
2016-06-18Remove duplicated line.Reyk Floeter
2016-05-27typo fixes; Anthony CoulterStuart Henderson
2016-05-26Calculate elapsed time in poll() and subtract that from the remaining timeJonathan Matthew
2016-04-05Prefer _MUTEX_*LOCK over _THREAD_PRIVATE_MUTEX_*LOCK() when thread-specificPhilip Guenther
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
2016-03-23Initialize _res_ext.nsaddr_list alongside _res.nsaddr_list.Christopher Zimmermann
2016-02-24Avoid a possible double-free if the "search" keyword is used multiple times.Eric Faurot
2015-12-16Remove support for HOSTALIASES from the resolver. This "open and parseTheo de Raadt
2015-11-23Remove support for "lookup yp" in /etc/resolv.conf. This historicalTheo de Raadt
2015-11-05Set the name server counter in __res_state correctly if a nameserverAlexander Bluhm
2015-11-05When filling the __res_state compatibiliy struct, a long list ofAlexander Bluhm
2015-10-28We are always using _PATH_RESCONF, so no need to remember the path onEric Faurot
2015-10-28Remove support for [addr]:port syntax from the "nameserver" line.Theo de Raadt
2015-10-23Switch to using SOCK_DNS flag, rather than the dnssocket() andTheo de Raadt
2015-10-18libc DNS functions will now use the new dnssocket() / dnsconnect()Theo de Raadt
2015-10-08fix conditionalsEric Faurot
2015-10-08Handle case where no hint is passed in. Found as a crash of fdm by jturner@Theo de Raadt
2015-10-07getaddrinfo_async() shouldn't unconditionally intialize the resolverTheo de Raadt
2015-10-07getaddrinfo() should not res_init() unconditionally, but allow lowerTheo de Raadt
2015-10-05Wrap <resolv.h> so that internal calls go directPhilip Guenther
2015-10-03Initially eric developers asr as a side-load style library for async DNS.Theo de Raadt
2015-10-03missing asr* -> _asr* symbol rename for building with debug codeEric Faurot
2015-10-02make a && && & block more readable. no binary change.Theo de Raadt
2015-09-20remove bogus includes of err.hEric Faurot
2015-09-20use _PATH_RESCONF directlyEric Faurot
2015-09-20remove unused static functionEric Faurot
2015-09-14Wrap <asr.h> so internal calls go direct and all the symbols are weakPhilip Guenther
2015-09-14Finish wrapping <netdb.h> so that calls go direct and the symbols are all weakPhilip Guenther
2015-09-09Hide all unnecessary asr / resolver related API with _ prefixes.Theo de Raadt
2015-09-09Use SOCK_NONBLOCK in a couple more placesPhilip Guenther
2015-09-02use _PATH_RESCONFTheo de Raadt
2015-08-16Fix test against INADDR_LOOPBACKJeremie Courreges-Anglas
2015-06-20Rename print_sockaddr() to avoid symbol visibility problemsJeremie Courreges-Anglas
2015-06-04make sure to check for resolv.conf update the first time the resolverEric Faurot
2015-05-29fix a possible off-by-one when reading /etc/hosts if it doesn't endEric Faurot