Brian Wellington
63d8846b1f
If dns_dnssec_findzonekeys can't load a private key, it should continue,
...
not fail. If it can't load any, it returns ISC_R_NOTFOUND.
2000-02-03 21:57:25 +00:00
Mark Andrews
af9cfbc643
move reference implementations into lwres_ namespace.
2000-02-03 21:54:10 +00:00
Olafur Gudmundsson
3a36d3d7e6
Added code to reject lines beginning with $ that are not known Directives.
...
Any name starting with $ should be escaped to comply with RFC1035.
Effect any zone will stop loading at first error, message is printed if
logging has been enabled.
2000-02-03 19:03:59 +00:00
Andreas Gustafsson
7618f0551e
replaced several RUNTIME_CHECK()s with less fatal means
...
of error reporting; fixed some potential leaks
2000-02-03 18:59:24 +00:00
Brian Wellington
112fa80ac3
dns_dnssec_findzonekeys shouldn't complain about a harmless ISC_R_NOTFOUND
...
error. It really should do better logging (that is, not to stderr) at
some point too...
2000-02-03 18:48:15 +00:00
Mark Andrews
c2a716690f
typo
2000-02-03 02:21:18 +00:00
Mark Andrews
89147fdde8
complete isc/lang.h -> lwres/lang.h transition.
2000-02-03 02:17:07 +00:00
Michael Graff
8c8360e5c3
UNUSED(), INSIST(), and REQUIRE() come from assert_p.h (private to lwres source)
2000-02-03 01:42:50 +00:00
Michael Graff
37d266d288
decouple the lwres functions too. These really need to be cleaned up in many other ways.
2000-02-03 01:37:29 +00:00
Michael Graff
7a166c5c61
completely decouple the lwres library from libisc. Bad michael for using isc/int.h and isc/lang.h, bad Mark for adding isc/tring.h, isc/net.h, and a few others.
2000-02-03 01:28:52 +00:00
Bob Halley
628b315462
If we have no addresses at all, but some have been pruned by the
...
ADB due to lameness, turn off lameness checking and try again.
2000-02-03 00:01:08 +00:00
Bob Halley
6da50be436
add missing exit checks to udp_recv and tcp_recv
2000-02-02 23:29:47 +00:00
Michael Graff
ffd9f87970
s/IGNORELAME/RETURNLAME/g
2000-02-02 23:27:39 +00:00
Michael Graff
1a0e33bc20
implement DNS_ADBFIND_GLUEOK, DNS_ADBFIND_HINTOK, and DNS_ADBFIND_IGNORELAME
2000-02-02 23:24:04 +00:00
Michael Graff
a4987cc031
pull the timeout from the context, that's what it is there for.
2000-02-02 23:22:56 +00:00
Bob Halley
2d8ac40e14
Wildcard matching was broken.
2000-02-02 21:22:09 +00:00
Bob Halley
5d661f0bde
dns_name_matcheswildcard("foo.com.", "*.foo.com.") incorrectly returned true
...
(see RFC 1034 section 4.3.3).
2000-02-02 20:44:22 +00:00
Bob Halley
37b4618a5b
fctx_start() did not properly check the fctx exit conditions and could
...
try to destroy the fctx before the reference count went to zero (triggering
an assertion).
2000-02-02 20:27:56 +00:00
Brian Wellington
d2b77d720f
Added dns_name_matcheswildcard
2000-02-02 20:11:55 +00:00
Michael Graff
5726326ccd
fix? a socket problem with canceling things, again
2000-02-02 19:00:01 +00:00
David Lawrence
6ad69891ee
use ISC_PLATFORM_NETINET6_IN6_H, don't use config.h
2000-02-02 13:26:22 +00:00
David Lawrence
2b556032fd
(un)define ISC_PLATFORM_HAVENETINET6IN6H
2000-02-02 13:25:22 +00:00
Mark Andrews
6edd0196d3
lint
2000-02-02 06:42:26 +00:00
Mark Andrews
768125e5e5
Use ISC_TRUE not 1.
2000-02-02 06:38:43 +00:00
Mark Andrews
be54c486fa
remove unnecessary break
2000-02-02 05:59:59 +00:00
Mark Andrews
c27f90d73a
remove ambiguous else message
2000-02-02 05:49:55 +00:00
Bob Halley
6e1e90b9b6
Undo 1.100 which caused problems on platforms other than Linux.
2000-02-02 02:34:30 +00:00
Mark Andrews
f57cf8a270
Add gai_strerror
2000-02-02 02:01:04 +00:00
Mark Andrews
40de7483ff
lint
2000-02-02 01:15:43 +00:00
Mark Andrews
83e592bfba
missing static
2000-02-02 01:01:24 +00:00
Mark Andrews
e63f7c6f55
lint
2000-02-02 00:58:15 +00:00
Andreas Gustafsson
7b24a94d11
typo in comment
2000-02-02 00:41:26 +00:00
Andreas Gustafsson
d5017b061c
typo in comment
2000-02-02 00:38:28 +00:00
Bob Halley
8c5039fd81
improve error message if zone callback fails; revise error levels
2000-02-02 00:38:11 +00:00
Andreas Gustafsson
62e22bc7a5
typos in comments
2000-02-02 00:36:34 +00:00
Michael Graff
d257033612
Thanks to Mark's fix, select() actually wasn't broken, I was. Use NULL for write/except fds again
2000-02-02 00:34:46 +00:00
Bob Halley
859ee7da20
lint
2000-02-01 23:28:09 +00:00
Mark Andrews
f43d714ada
#include <stdlib.h> as va_arg may call abort(): BSDI 3.1
2000-02-01 23:18:52 +00:00
Andreas Gustafsson
386fef57fa
don't write to freed memory
2000-02-01 17:27:23 +00:00
David Lawrence
19f15c36b9
omapi_protocol_listen/omapi_listener_listen use sockaddr instead of port
...
no more OMAPI_PROTOCOL_PORT; default port must be define per application.
2000-02-01 15:16:53 +00:00
David Lawrence
afe59244b4
omapi_protocol_listen now takes sockaddr arg instead of port.
...
omapi_protocol_connect now does not accept port of 0 for "default port"
2000-02-01 15:15:24 +00:00
David Lawrence
4b8831992e
omapi_listener_listen port argument now sockaddr; removed listener->address
2000-02-01 15:13:49 +00:00
Mark Andrews
c69eec29aa
lwres_getaddrsbyname called with v4 flag when v6 required.
2000-02-01 06:55:36 +00:00
Mark Andrews
f738cdef3d
#include <sys/time.h>
...
Use LWRES_DEFAULT_TIMEOUT instead of LWRES_R_TIMEOUT to set select timout.
2000-02-01 06:46:47 +00:00
Michael Graff
b91bbaf50c
implement timeouts
2000-02-01 02:59:40 +00:00
Michael Graff
db1259453c
wait at most 10 seconds for server to respond
2000-02-01 02:59:27 +00:00
Mark Andrews
7e4d75a5da
add copyright notices
2000-02-01 02:58:47 +00:00
Bob Halley
e974143273
do not ever mark forwarders as lame
2000-02-01 02:16:17 +00:00
Mark Andrews
c4cc75482f
Add missing malloc failure check
...
Correctly NULL second entry in he->h_addr_list on get*byaddr.
2000-02-01 01:58:26 +00:00
Andreas Gustafsson
fbb5a4f316
don't write to freed memory
2000-02-01 01:27:30 +00:00