History log of /openbsd-src/lib/libc/asr/gethostnamadr_async.c (Results 26 – 50 of 50)
Revision Date Author Comments
# 01b887f7 26-Feb-2014 eric <eric@openbsd.org>

Do not restrict chars in dname during label expansion, but validate resulting
hostnames before returning them to the caller.

ok deraadt@


# e7643b50 17-Feb-2014 eric <eric@openbsd.org>

report extra PTR records as aliases


# dfe5467e 24-Nov-2013 deraadt <deraadt@openbsd.org>

most obvious unsigned char casts for ctype
ok jca krw ingo


# 64032770 17-Jul-2013 eric <eric@openbsd.org>

missing symbol rename.


# 5bd9e5c2 12-Jul-2013 eric <eric@openbsd.org>

Make some symbols static and prefix all visible symbols with asr_
to prevent collisions with third-party programs.

suggested by sthen@, ok theo@


# 6a7a3d64 01-Jun-2013 eric <eric@openbsd.org>

Make hostaliases work for gethostbyname() and getaddrinfo() when
looking into /etc/hosts. Remove the alias check from the search
domain iteration. Instead, take a shortcut to res_query_async_ctx() i

Make hostaliases work for gethostbyname() and getaddrinfo() when
looking into /etc/hosts. Remove the alias check from the search
domain iteration. Instead, take a shortcut to res_query_async_ctx() in
res_search_async_ctx().

show more ...


# c5221d45 30-Apr-2013 eric <eric@openbsd.org>

Do not take external buffers for storing DNS responses in the internal
async API. That is actually useless and it makes the code more
complicated. The required buffers are always allocated when nee

Do not take external buffers for storing DNS responses in the internal
async API. That is actually useless and it makes the code more
complicated. The required buffers are always allocated when needed.

show more ...


# 770edc8b 14-Apr-2013 deraadt <deraadt@openbsd.org>

spacing


# 6d8f29ba 03-Apr-2013 eric <eric@openbsd.org>

properly follow the CNAME chain in reverse lookups

spotted by sthen@


# 43f9b988 01-Apr-2013 deraadt <deraadt@openbsd.org>

space cleanup; ok eric


# 7ffb6b35 01-Apr-2013 eric <eric@openbsd.org>

rename field


# 1a003af8 29-Mar-2013 eric <eric@openbsd.org>

Do not fail in gethostbyname_async() if there are multiple addresses in
a DNS packet...


# 1e1dfc0c 27-Mar-2013 eric <eric@openbsd.org>

Only use the search domains for DNS lookups, as the current resolver does.
Better not diverge too much in behavior at this point.
Typo fix and doc update while there.


# b32de4ea 17-Dec-2012 eric <eric@openbsd.org>

Allow gethostbyname() to accept a numeric IP string.
No lookup is done in this case.

regression reported by espie@


# cd22283f 24-Nov-2012 eric <eric@openbsd.org>

Saner implementation for self-contained hostent and netent, and also
a couple of fixes.


# 80f48568 24-Nov-2012 eric <eric@openbsd.org>

knf


# 975956b6 24-Nov-2012 eric <eric@openbsd.org>

make separate structures for pack and unpack


# 262cf3f8 06-Sep-2012 eric <eric@openbsd.org>

include yp headers if necessary.
remove unused variable.


# 1b26c956 04-Sep-2012 eric <eric@openbsd.org>

implement basic YP support for gethostbyname_async()/gethostbyaddr_async()
by using the blocking YP API internally.


# 836b804a 19-Aug-2012 eric <eric@openbsd.org>

When building dynamic hostent and netent, allocate a single linear buffer to
hold both the structure and the data. The freehostent() and freenetent() API
functions are not needed anymore. While ther

When building dynamic hostent and netent, allocate a single linear buffer to
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.

show more ...


# d70be453 12-Jul-2012 eric <eric@openbsd.org>

unused variables


# 0348accf 10-Jul-2012 eric <eric@openbsd.org>

simplify the code, improve error handling and plug a potential fd leak on error


# c5c26eb0 10-Jul-2012 eric <eric@openbsd.org>

use the value actually passed to the function


# beabf062 25-Apr-2012 eric <eric@openbsd.org>

fix a few warnings


# b44da627 14-Apr-2012 eric <eric@openbsd.org>

Import asr, an experimental async resolver implementation.
The idea is to eventually replace the existing resolver with
something better. Time to start working on it in tree.

ok deraadt@


12