Commit Graph

467 Commits

Author SHA1 Message Date
Brian Wellington
93e66a44a0 remove #ifdef REENTRANT 2001-03-06 21:46:03 +00:00
Brian Wellington
56ea2e19a2 add a cast [RT #974] 2001-03-05 23:14:03 +00:00
Brian Wellington
5e2f472561 add casts [RT #974] 2001-03-05 22:39:57 +00:00
Brian Wellington
91425b5e72 730. [bug] lwres_getaddrinfo() returns the correct result when
it fails to contact a server. [RT #768]
2001-02-08 00:31:21 +00:00
Brian Wellington
7aac083523 The flags field of the request structures were not initialized (thanks, purify) 2001-02-05 20:48:42 +00:00
Brian Wellington
f91dc72b42 725. [bug] Installing man pages could fail. 2001-02-04 15:52:44 +00:00
Brian Wellington
d378ec4758 The return value of lwres_net_pton was checked for != 0 in a few places,
not == 1.
2001-01-31 22:06:33 +00:00
Andreas Gustafsson
b586eb4408 revert half of 711. - there was no off by one error in the v6 case,
only in the v4 case
2001-01-25 20:10:02 +00:00
Brian Wellington
1ac2c28488 711. [bug] The libisc and liblwres implementations of
inet_ntop contained an off by one error.
2001-01-25 19:39:48 +00:00
Mark Andrews
66ad1d85cb 703. [port] sys/select.h is needed on older platforms. [RT #695] 2001-01-23 04:47:56 +00:00
Mark Andrews
363cb30a83 703. [port] sys/select.h is needed on older platforms. [RT #695] 2001-01-23 03:07:18 +00:00
Brian Wellington
fd091cb3cd freerrset() wasn't. 2001-01-23 01:51:21 +00:00
Brian Wellington
ea6709ec8a 702. [func] If the address 0.0.0.0 is seen in resolv.conf,
use 127.0.0.1 instead. [RT #693]
2001-01-23 00:41:55 +00:00
Brian Wellington
bf6d4f9cad Install the lwres man pages. 2001-01-19 22:46:27 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Brian Wellington
fa5a42fbad 670. [bug] The lwres replacements for getaddrinfo and
getipnodebyname didn't properly check for the
                        existence of the sockaddr sa_len field.
2001-01-09 01:26:43 +00:00
Mark Andrews
4e7942dc76 648. [port] Add support for pre-RFC2133 IPv6 implementations. 2001-01-03 13:13:14 +00:00
Brian Wellington
1200b06785 removed LWRDATA_AUTHORITATIVE and RRSET_AUTHORITATIVE 2000-12-21 00:27:56 +00:00
Brian Wellington
2103b1d460 Don't allow queries of class or type ANY. 2000-12-13 00:22:54 +00:00
David Lawrence
d7f98c32d3 line > 79 columns 2000-12-06 00:35:44 +00:00
Andreas Gustafsson
f55dd75bca minor editing 2000-12-04 18:37:40 +00:00
Andreas Gustafsson
16ef05fe1b incremented 2000-11-30 23:06:32 +00:00
Andreas Gustafsson
8b4eaec405 removed RRSET_AUTHORITATIVE bit as decided in lengthy
teleconference discussion; some editorial changes
2000-11-29 22:55:11 +00:00
Andreas Gustafsson
f00075e753 getrrsetbyname() incorrectly assumed that malloc() and
calloc() return NULL only on failure, causing the lwres test to fail
on OSF/1 and AIX systems
2000-11-28 01:50:46 +00:00
Brian Wellington
cffe50abf6 Lots of copyright updates 2000-11-18 03:01:17 +00:00
Brian Wellington
eb4a45ebf5 remove sortlist 2000-11-16 00:06:38 +00:00
David Lawrence
61632c1973 tokens after #endif 2000-11-15 20:47:54 +00:00
Brian Wellington
4d833ef73b Document lwres_getrrsetbyname 2000-11-02 02:21:09 +00:00
Brian Wellington
668728fed8 First cut at getrrsetbyname code 2000-11-02 01:52:32 +00:00
Mark Andrews
c03298d879 538. [bug] fix buffer overruns by 1 in lwres_getnameinfo(). 2000-11-02 01:10:22 +00:00
Brian Wellington
2be139c4b2 search path processing is now done in the server 2000-10-28 00:37:52 +00:00
Brian Wellington
b05c91f9d5 The 'hints' parameter somehow turned into 'arg' in the middle of the
description.
2000-10-19 00:43:07 +00:00
Andreas Gustafsson
0a9b84a8a5 #include <lwres/netdb.h>, not lwres.h 2000-10-19 00:26:36 +00:00
Andreas Gustafsson
5b34d8267e revision 1.30 broke the default lwres address of 127.0.0.1
by incorrectly assuming that lwres_addr_parse() parses an address in string
form (it actually parses an address in lwres wire form)
2000-10-17 20:09:19 +00:00
Brian Wellington
3c0a818977 IPv6 portability 2000-10-12 21:39:23 +00:00
Brian Wellington
8f80322fb5 Support for lwresd on addresses other than 127.0.0.1. 2000-10-05 22:27:54 +00:00
Andreas Gustafsson
23bfeb8bb1 checkpoint 2000-09-28 22:36:33 +00:00
Andreas Gustafsson
922e6a3c2a 478. [bug] "make install" failed if the directory specified with
--prefix did not already exist.
2000-09-20 19:06:16 +00:00
Brian Wellington
12688cc9fc #include <resolv.h> is not needed, and causes problems on AIX. 2000-09-19 21:21:59 +00:00
Andreas Gustafsson
d782d0dc8d major rewrite 2000-09-07 16:36:29 +00:00
Michael Graff
346e6a3a23 touch up a comment 2000-09-06 21:56:20 +00:00
Michael Graff
db84234e52 add some quick text describing client- and server-side flow 2000-09-06 21:54:23 +00:00
Michael Graff
1e92a4f7a4 specify which fields are set by what in the packet header 2000-09-06 20:54:44 +00:00
Jim Reid
fa263add26 First draft of resolver(5) man page 2000-09-03 20:45:58 +00:00
Andreas Gustafsson
a38f86ea5b 410. [bug] lwres_gethostbyname() and company set lwres_h_errno
to a random value on success.
2000-08-26 01:51:05 +00:00
Andreas Gustafsson
7bee275ebe added lwres_context_send(), lwres_socket_recv(),
lwres_context_getsocket() to support clients doing async lookups
2000-08-22 16:20:21 +00:00
Mark Andrews
a207c319ac Remove redundant test 2000-08-14 01:28:21 +00:00
Andreas Gustafsson
dc685fd1d3 typo 2000-08-10 22:44:00 +00:00
David Lawrence
5896a3af18 In lwres_getaddrinfo() when checking for numeric addresses, the ntmp char array
was only initialized and used when LWRES_HAVE_SIN6_SCOPE_ID was defined,
but was declared and used outside a protective #ifdef.  I moved the
declaration and one use of it into #ifdef protection.
2000-08-02 16:08:41 +00:00
David Lawrence
40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00