summaryrefslogtreecommitdiff
path: root/lib/libc/asr
AgeCommit message (Expand)Author
2024-05-07avoid memcpy(malloc(0), ..., 0), which is not portable.Damien Miller
2024-01-15Make sure to return a proper string in ai_canonname.Florian Obser
2023-11-22Set correct errno field in struct asr_result.Florian Obser
2023-11-21Do not short-circuit localhost resolution when AI_NUMERICHOST is set.Florian Obser
2023-11-20localhost is either 127.0.0.1 or ::1, nothing else.Florian Obser
2023-11-14Add break to error out on weird characters in gethostbyname().Florian Obser
2023-03-15Fix a number of out of bound reads in DNS response parsing.Todd C. Miller
2022-12-27spelling fixes; from paul tagliamonteJason McIntyre
2022-11-17Restrict what getaddrinfo(3) is willing to try to resolve.Florian Obser
2022-06-20Fixup commentJeremie Courreges-Anglas
2022-03-31man pages: add missing commas between subordinate and main clausesChristian Weisgerber
2022-01-20remove unused variable from all copies of _asr_strdname()Christian Weisgerber
2021-11-22Implement rfc6840 (AD flag processing) if using trusted name serversJeremie Courreges-Anglas
2021-11-05Zap unused variablesKlemens Nanni
2021-04-02swap rname and mname in debug output, and handle the USE_CD flagEric Faurot
2021-01-26When checking for available address family for AI_ADDRCONFIG considerFlorian Obser
2021-01-06Fix two issues related to thread private data in asr.Otto Moerbeek
2020-12-21Always call endservent_r() after getservbyport_r().Eric Faurot
2020-07-06Add support for timeconting in userland.Paul Irofti
2020-06-07In the libc resolver function asr_run(), clear the result buffer everytime,Theo de Raadt
2019-10-24Allow the caller of asr functions to create and use a specific context.Otto Moerbeek
2019-09-28correctly handle read(2) return value.Eric Faurot
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-06-27If we don't receive a reply packet the res_send subquery will already haveMartijn van Duren
2019-06-17Allow setting of retransmission intervasl via _res.retrans. Ugly API butOtto Moerbeek
2019-01-14Unbreak tree. Last minute changes are evil.Otto Moerbeek
2019-01-14There are cases where a program doing dns requests wants to set theOtto Moerbeek
2018-11-03For correctness, do not read struct servent if getservbyname_r() failed.Eric Faurot
2018-10-22More "explicitely" -> "explicitly" in various comments.Kenneth R Westerback
2018-04-28To allow us to get rid of /etc/networks, make getnetby*(3)Ingo Schwarze
2018-04-28Minor cleanup, no functional change:Ingo Schwarze
2018-03-13Fix commentsJeremie Courreges-Anglas
2018-02-06make sure that all error paths are correctly handled in asr_run_sync()Eric Faurot
2017-09-23Kill unused functionJeremie Courreges-Anglas
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