summaryrefslogtreecommitdiffstats
path: root/lib/libc/asr/asr_utils.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Kill unused functionjca2017-09-231-9/+1
| | | | Spotted by krw@
* Add support for RES_USE_DNSSECjca2017-02-271-3/+10
| | | | | | | | | | | | RES_USE_DNSSEC is implemented by setting the DNSSEC DO bit in outgoing queries. The resolver is then supposed to set the AD bit in the reply if it managed to validate the answer through DNSSEC. Useful when the application doesn't implement validation internally. This scheme assumes that the validating resolver is trusted and that the communication channel between the validating resolver and and the client is secure. ok eric@ gilles@
* Use T_OPT instead of literal "41".jca2017-02-191-2/+2
| | | | Requested earlier by eric@
* Add EDNS0 support.jca2017-02-181-1/+21
| | | | | | | EDNS allows for various DNS extensions, among which UDP DNS packets size bigger than 512 bytes. The default is still to not advertize anything. ok eric@
* use common errnos instead of random strings as error indicators ineric2017-02-171-9/+9
| | | | | | pack/unpack contexts. ok krw@ deraadt@
* Hide all unnecessary asr / resolver related API with _ prefixes.deraadt2015-09-091-13/+13
| | | | direction & ok guenther
* Make the asr API public. Install asr.h to /usr/include.h and manpages.eric2014-03-261-2/+3
| | | | | | Include tweaks suggested by mpi@ ok deraadt@
* prefix structure names to avoid ambiguity and possible collisions wheneric2014-03-141-27/+27
| | | | | | the API gets public. ok deraadt@
* Do not restrict chars in dname during label expansion, but validate resultingeric2014-02-261-5/+1
| | | | | | hostnames before returning them to the caller. ok deraadt@
* most obvious unsigned char casts for ctypederaadt2013-11-241-2/+2
| | | | ok jca krw ingo
* Make some symbols static and prefix all visible symbols with asr_eric2013-07-121-12/+73
| | | | | | to prevent collisions with third-party programs. suggested by sthen@, ok theo@
* spacingderaadt2013-04-141-2/+2
|
* make sure we always point before the current offset.eric2013-04-021-2/+2
| | | | spotted by matthew@
* space cleanup; ok ericderaadt2013-04-011-12/+12
|
* properly handle scope when parsing IPv6 addresses.eric2013-03-291-2/+32
| | | | ok bluhm@ naddy@ sthen@
* knferic2012-11-241-7/+6
|
* make separate structures for pack and unpackeric2012-11-241-30/+39
|
* Import asr, an experimental async resolver implementation.eric2012-04-141-0/+450
The idea is to eventually replace the existing resolver with something better. Time to start working on it in tree. ok deraadt@