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
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
David Lawrence
10885eeaae
I was mistaken, FreeBSD needs the stddef.h include
2000-07-27 02:11:19 +00:00
Mark Andrews
c9b176a528
353. [bug] double incrememnt in lwrew/gethost.c:copytobuf().
...
(RT# 187)
2000-07-26 22:52:01 +00:00
David Lawrence
7b04a0e1df
does not need stddef.h, tell emacs to use C mode on the file
2000-07-26 21:56:28 +00:00
Andreas Gustafsson
a4db2a47f5
incremented library version numbers to 1.0.0
2000-07-10 22:20:43 +00:00
Brian Wellington
0308460880
Some of the lwres functions weren't calling lwres_conf_parse.
2000-07-07 19:43:10 +00:00
Brian Wellington
68aa880dd5
remove unnecessary calls to fcntl().
2000-07-07 19:10:00 +00:00
Brian Wellington
d8c8722f28
313. [bug] When parsing resolv.conf, don't terminate on an
...
error. Instead, parse as much as possible, but
still return an error if one was found.
2000-07-07 18:58:46 +00:00
Brian Wellington
03968c0f5e
removed dead code
2000-07-07 18:28:58 +00:00
Brian Wellington
4b7167e96a
312. [bug] Increase the number of allowed elements in the
...
resolv.conf search path from 6 to 8. If there
are more than this, ignore the remainder rather
than returning a failure in lwres_conf_parse.
2000-07-07 18:24:11 +00:00
Brian Wellington
a4b496f2ab
311. [bug] lwres_conf_parse failed when the first line of
...
resolv.conf was empty or a comment.
2000-07-07 18:16:46 +00:00
Brian Wellington
861df15904
The includes were in the wrong order, causing digital unix to fail.
2000-07-06 22:13:15 +00:00
Brian Wellington
23efeb1a58
Check LWRES_PLATFORM_HAVESALEN, not ISC_PLATFORM_HAVESALEN
2000-07-06 21:42:05 +00:00
Brian Wellington
23ce1c7cca
Lots of the comments were wrong.
2000-07-06 20:05:13 +00:00
Brian Wellington
e2894b0e50
304. [bug] If more than LWRES_CONFMAXNAMESERVERS servers
...
are listed in resolv.conf, silently ignore them
instead of returning failure.
2000-07-03 20:13:12 +00:00
Andreas Gustafsson
855bda3de3
new joint ISC/BSDI copyright message as requested by
...
Paul Borman <prb@bsdi.com >
2000-07-03 17:44:22 +00:00
David Lawrence
de8e189332
300. [bug] Using both <isc/net.h> and <lwres/net.h> didn't work
...
on platforms lacking IPv6 because each included their
own ipv6 header file for the missing definitions. Now
each library's ipv6.h defines the wrapper symbol of
the other (ISC_IPV6_H and LWRES_IPV6_H).
2000-07-01 01:41:54 +00:00
Andreas Gustafsson
fe8d130967
make install didn't work when using separate build dir
2000-06-30 00:29:29 +00:00
Brian Wellington
089b7bf0a5
a missing #include "assert_p.h" caused a compile failure.
2000-06-28 22:57:42 +00:00
Brian Wellington
09aea877e7
An lwres context was being destroyed while still in use
2000-06-28 21:55:33 +00:00
Brian Wellington
f51647808f
Using 0 as an error value tends to conflict with using 0 to represent
...
success.
2000-06-28 21:43:46 +00:00
Jim Reid
084d809e48
fixed some typos
...
removed references to ENI_ error codes because they're not
documented in RFC2133 and are defined in getnameinfo.c rather
than some include file anyway
2000-06-28 21:43:41 +00:00
Brian Wellington
171d0db7f9
Return NO_RECOVERY, not HOST_NOT_FOUND if the error is not LWRES_NOTFOUND
2000-06-27 23:20:34 +00:00
Brian Wellington
2ef7b73fd5
Missing #include "assert_p.h"
2000-06-27 23:13:26 +00:00
Jim Reid
a07cfacd85
initial draft of lwres manpages
2000-06-27 21:53:10 +00:00
Brian Wellington
d364e89bda
The off by one error wasn't.
2000-06-27 18:51:51 +00:00
Brian Wellington
9006ddc64a
Fix off-by-one error and move a few lines of code.
2000-06-27 18:03:52 +00:00
Brian Wellington
031ce3bc62
Return better errors (TRAILINGDATA, not UNEXPECTEDEND), and style changes.
2000-06-27 18:03:23 +00:00
Brian Wellington
f356f1bb5d
style changes
2000-06-27 18:02:12 +00:00
Brian Wellington
db118c5f26
Add a comment saying that _parseheader() isn't the right place to verify
...
that the buffer containing the entire packet is long enough.
2000-06-27 18:01:16 +00:00
Brian Wellington
c614882bd8
typo
2000-06-27 00:41:13 +00:00
Brian Wellington
6f4317150b
remove dead code
2000-06-27 00:24:27 +00:00
Brian Wellington
50719689ef
coding style
2000-06-27 00:24:12 +00:00
Brian Wellington
c1ecf4ace2
Remove declaration of REQUIRE
2000-06-26 23:35:00 +00:00