Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-09-01 | 15 retries is really rather excessive... | Eric Andersen | |
2003-06-17 | Patch from Ronald Wahl fixing an IPV6 specific problem | Eric Andersen | |
with getaddrinfo(). | |||
2003-03-01 | Patch from Jeffrey Damick: | Eric Andersen | |
With glibc if you do a res_init() that forces a reread of the nameservers file, but in uClibc the res_init will not force a reread if it has already read the file because then the nameservers value is greater than 0. So res_init must call close_nameservers() before calling open_nameservers(). | |||
2003-02-12 | Eliminate a needless extern | Eric Andersen | |
2003-01-10 | Patch from Jay Kulpinski: | Eric Andersen | |
__decode_dotted() does not count the null terminating byte of a hostname in the DNS response. This causes lookups to fail if the DNS response doesn't compress domain names in the message. | |||
2002-11-21 | Cleanup use of in6addr_loopback and in6addr_any | Eric Andersen | |
2002-11-03 | Patch from "Cho, Seong-Myun" <smcho@xecurenexus.com> to limit | Eric Andersen | |
things to the lower 16 bits of 'id'. | |||
2002-08-19 | Fixup struct _res handling so apps using struct _res can actually | Eric Andersen | |
compile ("worst standard ever!") -Erik | |||
2002-08-17 | Fixed __read_etc_hosts_r to return alias list and modified buffer | Manuel Novoa III | |
allocation accordingly. This fixes the segfault in the Python 2.2.1 socket test. | |||
2002-08-16 | Remove __res_state function. | Miles Bader | |
2002-08-06 | Fixup the last missing pieces of thread locking | Eric Andersen | |
-Erik | |||
2002-07-08 | Finer grained locking in __connect_dns() so we don't hold the | Eric Andersen | |
lock while sending packets out onto the wire. -Erik | |||
2002-07-07 | Doh! search-n-replace strikes again | Eric Andersen | |
-Erik | |||
2002-07-07 | Cleanup namespace leaks by prepending __ to global stuff to | Eric Andersen | |
indicate it is (alledgedly) private. -Erik | |||
2002-07-07 | Patch from Larry Doolittle <ldoolitt@recycle.lbl.gov> to cleanup | Eric Andersen | |
connect_dns() and simplify IPV6 support by reducing the number of ifdefs sprinkled about. | |||
2002-06-20 | Fix DNS resolution so that it once again works. I'd broken it | Eric Andersen | |
when adding some locking code. -Erik | |||
2002-06-17 | Make things more re-entrany, kill some cruft. | Eric Andersen | |
-Erik | |||
2002-04-17 | Patch from Axel Barnitzke <barney@xkontor.com> to add basic | Eric Andersen | |
support for struct _res. This is a minimalist implementation, but should work for most anything out there. | |||
2002-04-17 | Patch from Mike McDonald to make gethostbyname_r() not fail for things like | Eric Andersen | |
gethostbyname("192.168.0.1"), which should work even when the /etc/hosts and /etc/config/hosts files do not exist. | |||
2002-04-03 | Patch from Jim Treadway <jim@stardot-tech.com> to eliminate | Eric Andersen | |
use of alarm() and therefore SIGARLM in the resolver and to instead use select, which is much cleaner. | |||
2002-03-20 | Patch from Bart Visscher <magick@Linux-Fan.com> fixing some | Eric Andersen | |
missing pieces of the conversion to reentrant functions. | |||
2002-03-19 | Bart Visscher <magick@Linux-Fan.com> has added some missing IPV6 support, and | Eric Andersen | |
added several additional reentrant networking functions such that iptables now runs with IPV6 support. | |||
2002-02-26 | A few more little cleanups | Eric Andersen | |
2002-02-26 | Thomas Fritzsche noticed that __open_etc_hosts was only changing a | Eric Andersen | |
local copy of the FILE pointer, thereby causing /etc/hosts lookups to fail with Resolver errors. This patch from Thomas fixes the problem. | |||
2002-02-02 | I just wrote up gethostent(), sethostent(), and endhostent() | Eric Andersen | |
-Erik | |||
2001-12-07 | patch from Jari Korva <jpkorva@iki.fi>: | Eric Andersen | |
- fixes endianness bug in gethostbyaddr() (i386 worked fine, while m68k didn't: 192.168.160.162 was queried with 192.168.160.162.in-addr.arpa while it should have been 162.160.168.192.ip-addr.arpa) - contains missing pieces from my previous getnameinfo() patch: now it actually compiles! | |||
2001-11-21 | Adjust naming for __FORCE_GLIBC__ to __FORCE_GLIBC and add | Eric Andersen | |
support for __FORCE_NOGLIBC per Brian Stafford <brian.stafford@office-logic.com> | |||
2001-11-07 | Patch from Jari Korva <jpkorva@iki.fi> | Eric Andersen | |
I found some support in uClibc for IPv6 but I needed some more... Enclosed is the patch containing following modifications: - getnameinfo port from lates glibc - IPv6 support for gethostbyaddr() - IPv6 support for get_hosts_byname and read_etc_hosts (among other things this fixed a bug in gethostbyname2 in a case when user asked for an IPv6 but got a v4 address if it was present in /etc/hosts) - defined ip6addr_any and in6addr_loopback (though the place where I defined these isn't correct, I guess) What is still missing: - getaddrinfo (this could be ported also from glibc but it won't be as easy as porting getnameinfo, I guess) I have tested the patch using enclosed test program and boa web server. Seems to work ;) | |||
2001-11-05 | Patch from Jari Korva <jari.korva@vtt.fi> to fix a memory leak | Eric Andersen | |
in dns_lookup. | |||
2001-10-04 | Yet more minor cleanups | Eric Andersen | |
2001-09-27 | Update to accomodate the header file changes | Eric Andersen | |
2001-07-09 | A patch from Michal Moskal <malekith@pld.org.pl> to include | Eric Andersen | |
partial IPV6 support. This adds things like gethostbyname2(). Off by defaut, of course, | |||
2001-05-31 | Cleanup some stupid warnings | Eric Andersen | |
2001-02-26 | Added /etc/hosts processing (parses everytime like a real one :-) | David McCullough | |
Added support for multiple nameserver lines, still supports multiple servers on a on single line. Added "domain" entry. domain and search are mutually exclusive and override each other (the last one wins, see the resolver(5) man page). Added dummy "getnetbyname" that returns fail. Added "res_init" and "res_query". | |||
2001-02-23 | Sigh. Turn debugging back off. | Eric Andersen | |
2001-02-23 | This is a touch cleaner, avoids using the comma operator. | Eric Andersen | |
2001-02-23 | This actually fixes things I believe. | Eric Andersen | |
2001-02-23 | Fix two bugs. First, gethostbyname was doing dns queries when given an IP | Eric Andersen | |
address. Secondly, when doing reverse dns lookups, it was appending the domain, even if a domain was already attached. -Erik | |||
2001-02-05 | Update networking includes. | Eric Andersen | |
2001-01-12 | Patch from James Graves <jgraves@deltamobile.com> to better handle m68k. | Eric Andersen | |
Also fixes 2 very important malloc bugs! Anyone using malloc (esp mmu-less) should update and recompile. -Erik | |||
2001-01-11 | A large update from Manuel Novoa III <mnovoa3@bellsouth.net>. | Eric Andersen | |
2000-11-30 | Some cleanups from W. Greathouse <wgreathouse@smva.com> (and a few of my own) | Eric Andersen | |
2000-11-11 | Fix up a few messes so it compiles cleanly again. | Eric Andersen | |
2000-11-04 | More cleanups. Fix things so tinylogin compiles. | Eric Andersen | |
Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>. | |||
2000-10-09 | Bug ugly formatting update | Eric Andersen | |
2000-07-06 | Lots and lots of cleanups. | Eric Andersen | |
-Erik | |||
2000-05-14 | Initial revision | Erik Andersen | |