Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | To allow us to get rid of /etc/networks, make getnetby*(3) | 2018-04-28 | 1 | -420/+8 | |
| | | | | | | wrappers around gethostby*_async(3). If you had anything of importance in /etc/networks, specify it in /etc/hosts instead. Feedback and OK eric@, OK deraadt@ | ||||
* | Put a common subq pointer in the query struct, rather than one in each | 2017-02-23 | 1 | -6/+6 | |
| | | | | | | element of the union. ok gilles@ millert@ krw@ | ||||
* | missing breaks | 2017-02-21 | 1 | -1/+2 | |
| | | | | ok jca@ krw@ gilles@ | ||||
* | 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 | -22/+22 | |
| | | | | direction & ok guenther | ||||
* | fix a possible off-by-one when reading /etc/hosts if it doesn't end | 2015-05-29 | 1 | -3/+3 | |
| | | | | | | with a newline. ok jca@ | ||||
* | Fix a NULL deref when getting an actual result for an invalid hostname | 2014-11-02 | 1 | -5/+5 | |
| | | | | | | in gethostbyname(). Similar fix for getnetbyname(). ok deraadt@ daniel@ jca@ | ||||
* | When fopen()ing internal to libc (the API doesn't support the use | 2014-09-15 | 1 | -2/+2 | |
| | | | | | | | of the resulting FILE *), then pass fopen() the 'e' mode letter to mark it close-on-exec. ok miod@ | ||||
* | Use _PATH_NETWORKS for "/etc/networks" | 2014-09-15 | 1 | -2/+2 | |
| | | | | ok miod@ | ||||
* | Make queries using the search list for hostname lookups fail with | 2014-07-23 | 1 | -1/+8 | |
| | | | | | | | | | | NO_DATA/EAI_NODATA when the hostname param is an empty string. So far, they were using the entries in the search list with no additional component, which is not really expected. reported by jsing@ and a few others ok deraadt@, "makes sense" jsing@ | ||||
* | skip incomplete entries in /etc/hosts and /etc/networks | 2014-05-13 | 1 | -1/+5 | |
| | | | | | | fix null deref spotted by Seth Hanford, pinpointed by dtucker@ ok florian@ | ||||
* | Make the asr API public. Install asr.h to /usr/include.h and manpages. | 2014-03-26 | 1 | -2/+3 | |
| | | | | | | Include tweaks suggested by mpi@ ok deraadt@ | ||||
* | Cleanup and simplify the API to be exposed. Use better names for | 2014-03-25 | 1 | -12/+12 | |
| | | | | | | structures, functions and defines. discussed with and ok deraadt@ guenther@ | ||||
* | prefix structure names to avoid ambiguity and possible collisions when | 2014-03-14 | 1 | -5/+5 | |
| | | | | | | the API gets public. ok deraadt@ | ||||
* | Do not restrict chars in dname during label expansion, but validate resulting | 2014-02-26 | 1 | -1/+6 | |
| | | | | | | hostnames before returning them to the caller. ok deraadt@ | ||||
* | Make some symbols static and prefix all visible symbols with asr_ | 2013-07-12 | 1 | -13/+11 | |
| | | | | | | to prevent collisions with third-party programs. suggested by sthen@, ok theo@ | ||||
* | Do not take external buffers for storing DNS responses in the internal | 2013-04-30 | 1 | -3/+3 | |
| | | | | | async API. That is actually useless and it makes the code more complicated. The required buffers are always allocated when needed. | ||||
* | space cleanup; ok eric | 2013-04-01 | 1 | -4/+4 | |
| | |||||
* | Saner implementation for self-contained hostent and netent, and also | 2012-11-24 | 1 | -69/+77 | |
| | | | | a couple of fixes. | ||||
* | knf | 2012-11-24 | 1 | -10/+10 | |
| | |||||
* | make separate structures for pack and unpack | 2012-11-24 | 1 | -3/+3 | |
| | |||||
* | unused variables | 2012-09-07 | 1 | -2/+2 | |
| | |||||
* | When building dynamic hostent and netent, allocate a single linear buffer to | 2012-08-19 | 1 | -35/+32 | |
| | | | | | | hold both the structure and the data. The freehostent() and freenetent() API functions are not needed anymore. While there, ensure that the constructed addr and alias lists are really NULL terminated. | ||||
* | same code update and fix as for gethostnamadr_async | 2012-07-10 | 1 | -55/+77 | |
| | |||||
* | Import asr, an experimental async resolver implementation. | 2012-04-14 | 1 | -0/+418 | |
The idea is to eventually replace the existing resolver with something better. Time to start working on it in tree. ok deraadt@ |