Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch to using SOCK_DNS flag, rather than the dnssocket() and | 2015-10-23 | 1 | -3/+4 | |
| | | | | | | dnssonnect() calls. Be a bit careful crossing over this, need a kernel no older than Monday. ok guenther tedu semarie | ||||
* | libc DNS functions will now use the new dnssocket() / dnsconnect() | 2015-10-18 | 1 | -3/+3 | |
| | | | | | | | | | | | system calls. These signal to the pledge kernel code that a DNS transaction is happening. These special sockets only work well with port 53 (there are some cute plans...). Programs calling pledge "inet" will not work! You need pledge "dns", and of course, you need a fairly fresh kernel. ok guenther kettenis tedu | ||||
* | remove bogus includes of err.h | 2015-09-20 | 1 | -2/+1 | |
| | |||||
* | Wrap <asr.h> so internal calls go direct and all the symbols are weak | 2015-09-14 | 1 | -1/+3 | |
| | |||||
* | Hide all unnecessary asr / resolver related API with _ prefixes. | 2015-09-09 | 1 | -27/+27 | |
| | | | | direction & ok guenther | ||||
* | Use SOCK_NONBLOCK in a couple more places | 2015-09-09 | 1 | -11/+3 | |
| | | | | ok deraadt@ | ||||
* | Rename print_sockaddr() to avoid symbol visibility problems | 2015-06-20 | 1 | -3/+3 | |
| | | | | | | print_sockaddr is internal to asr, and conflicts with ports/net/samba4. ok eric@ | ||||
* | Make the asr API public. Install asr.h to /usr/include.h and manpages. | 2014-03-26 | 1 | -2/+4 | |
| | | | | | | Include tweaks suggested by mpi@ ok deraadt@ | ||||
* | Cleanup and simplify the API to be exposed. Use better names for | 2014-03-25 | 1 | -35/+34 | |
| | | | | | | structures, functions and defines. discussed with and ok deraadt@ guenther@ | ||||
* | prefix structure names to avoid ambiguity and possible collisions when | 2014-03-14 | 1 | -15/+15 | |
| | | | | | | the API gets public. ok deraadt@ | ||||
* | Make some symbols static and prefix all visible symbols with asr_ | 2013-07-12 | 1 | -22/+22 | |
| | | | | | | to prevent collisions with third-party programs. suggested by sthen@, ok theo@ | ||||
* | iterating over the ns list only matters for res_send_async.c, so move | 2013-06-01 | 1 | -3/+32 | |
| | | | | things around. | ||||
* | Do not take external buffers for storing DNS responses in the internal | 2013-04-30 | 1 | -48/+13 | |
| | | | | | async API. That is actually useless and it makes the code more complicated. The required buffers are always allocated when needed. | ||||
* | spacing | 2013-04-14 | 1 | -2/+2 | |
| | |||||
* | do not fail on EINTR | 2013-04-05 | 1 | -4/+16 | |
| | | | | suggested by deraadt@ | ||||
* | Use MSG_NOSIGNAL when writing DNS queries over TCP sockets to ensure | 2013-04-03 | 1 | -2/+7 | |
| | | | | | | we don't trigger SIGPIPE. ok millert | ||||
* | add comment for how EINPROGRESS is handled there. | 2013-04-02 | 1 | -1/+6 | |
| | |||||
* | better implementation for tcp_read() that can get the packet length in | 2013-04-02 | 1 | -22/+33 | |
| | | | | | | multiple read. prodded by deraadt@ | ||||
* | space cleanup; ok eric | 2013-04-01 | 1 | -2/+2 | |
| | |||||
* | space cleanup; ok eric | 2013-04-01 | 1 | -2/+2 | |
| | |||||
* | simpler and saner implementation for tcp_write(). now fully handles | 2013-04-01 | 1 | -38/+15 | |
| | | | | | | short writes. prodded by deraadt@ | ||||
* | Principle of least astonishment: implement nameserver retry/backoff as | 2013-03-31 | 1 | -5/+1 | |
| | | | | in the former resolver. | ||||
* | Only use the search domains for DNS lookups, as the current resolver does. | 2013-03-27 | 1 | -2/+2 | |
| | | | | | Better not diverge too much in behavior at this point. Typo fix and doc update while there. | ||||
* | knf | 2012-11-24 | 1 | -7/+6 | |
| | |||||
* | make separate structures for pack and unpack | 2012-11-24 | 1 | -7/+7 | |
| | |||||
* | cleanup asr_debug.c | 2012-09-09 | 1 | -3/+3 | |
| | |||||
* | use proper macros for debug traces. | 2012-09-09 | 1 | -65/+25 | |
| | |||||
* | rename function to avoid symbol clash | 2012-07-07 | 1 | -6/+3 | |
| | |||||
* | Import asr, an experimental async resolver implementation. | 2012-04-14 | 1 | -0/+809 | |
The idea is to eventually replace the existing resolver with something better. Time to start working on it in tree. ok deraadt@ |