summaryrefslogtreecommitdiff
path: root/lib/libc/asr
AgeCommit message (Expand)Author
2013-05-29use paramaters instead of static storage in _gethostbyname()Eric Faurot
2013-05-27Add minimal support for _res setup and update.Eric Faurot
2013-04-30various small fixes;Jason McIntyre
2013-04-30Do not take external buffers for storing DNS responses in the internalEric Faurot
2013-04-30copy input flags in result addrinfo structures.Eric Faurot
2013-04-17check return value of strdup(), fix mem leak in error path and takeOtto Moerbeek
2013-04-17give a timespec a name that is easier to verifyTheo de Raadt
2013-04-14spacingTheo de Raadt
2013-04-11Proper access of _THREAD_PRIVATE storage. Avoids a mem leak and reinitOtto Moerbeek
2013-04-09show what we parsed in debug output; ok guether@Otto Moerbeek
2013-04-08Do not fail if the user buffer is too short to hold the packet: fill it upEric Faurot
2013-04-08Comply with rfc2553. lib/libc/net/getaddrinfo.c already has this right.Christopher Zimmermann
2013-04-05do not fail on EINTREric Faurot
2013-04-04fix alignment issue in getnetby{addr,name}() too.Eric Faurot
2013-04-04use the provided ALIGN() macro instead of re-inventing a square wheel.Eric Faurot
2013-04-03properly follow the CNAME chain in reverse lookupsEric Faurot
2013-04-03Use MSG_NOSIGNAL when writing DNS queries over TCP sockets to ensureMatthew Dempsky
2013-04-02add comment for how EINPROGRESS is handled there.Eric Faurot
2013-04-02make sure we always point before the current offset.Eric Faurot
2013-04-02better implementation for tcp_read() that can get the packet length inEric Faurot
2013-04-01If more than one lookup line is found in resolv.conf, the latest oneEric Faurot
2013-04-01properly check for domain name truncation at various places and failEric Faurot
2013-04-01space cleanup; ok ericTheo de Raadt
2013-04-01space cleanup; ok ericTheo de Raadt
2013-04-01rename fieldEric Faurot
2013-04-01simpler and saner implementation for tcp_write(). now fully handlesEric Faurot
2013-04-01fix alignment issue in the structure filled by gethostby{name,addr}()Eric Faurot
2013-03-31Principle of least astonishment: implement nameserver retry/backoff asEric Faurot
2013-03-30allow "0" as service name for raw sockets.Eric Faurot
2013-03-30Do not assume local nameserver if resolv.conf doesn't exist, just useEric Faurot
2013-03-30don't ever skip reload the very first time; detective work by rpe@; ok eric@Otto Moerbeek
2013-03-29properly handle scope when parsing IPv6 addresses.Eric Faurot
2013-03-29res_querydomain()'s code to terminate the domain with '.' had the assignmentPhilip Guenther
2013-03-29correctly show the scope for IPv6 addresses in getnameinfo()Eric Faurot
2013-03-29Do not fail in gethostbyname_async() if there are multiple addresses inEric Faurot
2013-03-28accept and use any protocol specified by the caller.Eric Faurot
2013-03-27explicitely -> explicitly;Jason McIntyre
2013-03-27Only use the search domains for DNS lookups, as the current resolver does.Eric Faurot
2012-12-17Allow gethostbyname() to accept a numeric IP string.Eric Faurot
2012-11-24Saner implementation for self-contained hostent and netent, and alsoEric Faurot
2012-11-24knfEric Faurot
2012-11-24make separate structures for pack and unpackEric Faurot
2012-09-09tweak optionsEric Faurot
2012-09-09allow to disable some features at build timeEric Faurot
2012-09-09cleanup asr_debug.cEric Faurot
2012-09-09use proper macros for debug traces.Eric Faurot
2012-09-08split asr_resolver.c into different files to overlay the libc/netEric Faurot
2012-09-07return value has no use; make it void.Eric Faurot
2012-09-07unused variablesEric Faurot
2012-09-06config parsing is done in one pass now. no need to use callback anymore.Eric Faurot