Commit Graph

1097 Commits

Author SHA1 Message Date
Andreas Gustafsson
5190d41952 use ${top_srcdir} when including server headers
so that building outside the source tree works
2000-02-23 18:09:49 +00:00
Andreas Gustafsson
8dca197b5c use .@O@, not .o, in the (unused) zone2_test build rule 2000-02-23 17:36:36 +00:00
Andreas Gustafsson
3eef7eaba0 renamed dns_acl_checkrequest() to ns_client_checkacl()
and moved it to bin/named/client.c to reflect the fact that it
implemented BIND ACL policy more than general-purpose library
functionality; resolve ACL defaults at configuration time
rather than when the ACL is evaluated
2000-02-22 21:24:24 +00:00
Michael Graff
7eecba1d43 use forwarders from resolv.conf 2000-02-18 03:53:56 +00:00
Michael Graff
d85ad40f97 remove hex dump of packets sent 2000-02-18 03:53:35 +00:00
Michael Graff
1fc244c82f parse /etc/resolv.conf, but don't yet do much about it. 2000-02-18 01:37:38 +00:00
Andreas Gustafsson
91a4c38fc9 removed newlines from log messages 2000-02-17 20:06:32 +00:00
Andreas Gustafsson
c0d0a59d1b removed newlines from UNEXPECTED_ERROR() messages 2000-02-17 19:58:59 +00:00
Andreas Gustafsson
dd75e174ec typo in usage message 2000-02-17 19:22:15 +00:00
Andreas Gustafsson
e38cc88b71 deprecated the -b option (use -c instead);
if there was exactly one non-option argument (as in 'named foo')
it was silently ignored - issue a usage message instead;
also issue a usage message if we get an unknown command line option;
update the update message to reflect reality (leaving the -x option
undocumented)
2000-02-17 19:21:00 +00:00
Andreas Gustafsson
377333ac58 include peer address when logging TCP connections and
client requests
2000-02-17 18:18:24 +00:00
Andreas Gustafsson
9fdf20d0de implemented periodic network interface scanning 2000-02-16 19:58:39 +00:00
Andreas Gustafsson
e0e78c2ce5 log the destruction of network interfaces 2000-02-16 19:57:06 +00:00
Andreas Gustafsson
71385229ce use the UNUSED() macro 2000-02-16 18:21:17 +00:00
James Brister
e25765f84a Build new resolv.conf parser tester. 2000-02-16 17:47:37 +00:00
James Brister
ae32d75897 Tester for resolv.conf parser. 2000-02-16 17:46:18 +00:00
James Brister
de20d36fef sample resolv.conf for testing the parser. 2000-02-16 17:40:41 +00:00
Michael Graff
9094466faf return 'lame' servers, too. This is after all why I put that flag there... 2000-02-16 17:21:41 +00:00
Michael Graff
4e675038a0 pseudo-prime ip6.int using a fake query 2000-02-16 02:33:23 +00:00
Michael Graff
5be443d94b implement a 10 minute bitstring-reverse-query avoidance if we tried once and
it failed with ISC_R_FAILURE, DNS_R_SERVFAIL, or DNS_R_FORMERR.
This makes it so we don't try the bitstring lookup when it will most
likely fail.
2000-02-16 01:51:17 +00:00
Andreas Gustafsson
fd0bc40a25 IP addresses in ACLs are now represented as
isc_netaddr_t, not isc_sockaddr_t
2000-02-15 19:53:05 +00:00
James Brister
fbaec7a6e3 Use new config ipmatch element type: dns_c_ipmatch_any 2000-02-15 16:58:52 +00:00
Andreas Gustafsson
d18d98734f implemented client timeouts; made outgoing zone transfers
use the client timers instead of creating their own
2000-02-14 23:56:47 +00:00
Brian Wellington
2d478b7049 comments and logging changes 2000-02-14 23:38:31 +00:00
Michael Graff
543da41dbb fix a memory leak I just created. 2000-02-14 22:54:03 +00:00
Michael Graff
8dd17056ff allow building everything via 'make all_tests' 2000-02-14 22:48:34 +00:00
Brian Wellington
46374d51a6 print usage in more situations, make usage fit in 24 lines 2000-02-14 22:34:08 +00:00
Brian Wellington
52c6910afb Adding additional data caused an assertion for a signed zone. 2000-02-14 22:21:25 +00:00
Michael Graff
9a3210af1b implement noop, fix memory leaks 2000-02-14 21:56:08 +00:00
Michael Graff
cf53d35e3d kill return; at end of function 2000-02-14 21:21:03 +00:00
Michael Graff
1f44824581 use bitstrings first, then nibble mode 2000-02-14 21:11:52 +00:00
Andreas Gustafsson
672b62dc2a log library UNEXPECTED_ERRORs through the logging system;
end first line of two-line error messages with a colon
2000-02-14 19:40:36 +00:00
Andreas Gustafsson
3fe86e8ae7 include ${CFLAGS} on linker command line so that
"configure CFLAGS=-pg && make" does the right thing
2000-02-14 18:46:16 +00:00
James Brister
31e471c6f1 Add test cases for new allow-update-forwarding statement 2000-02-14 17:22:11 +00:00
Andreas Gustafsson
3b14e4434a dynamic updates now attach to client object while waiting
to be executed
2000-02-11 21:09:32 +00:00
Andreas Gustafsson
ae0bc2f30e Make client reference counts work the same way as all
other reference counts: replace ns_client_wait() and
ns_client_unwait() by ns_client_attach() and ns_client_detach(),
respectively
2000-02-11 20:56:19 +00:00
Andreas Gustafsson
6f6eeb26e4 prepare for introducing dns_c_ipmatch_any 2000-02-11 18:26:09 +00:00
James Brister
e3f0a6821c configure_view() was not detaching iplist after use. 2000-02-11 15:29:37 +00:00
Andreas Gustafsson
e5f8f2659b yet another major reorganization of client shutdown
procedures, in preparation for client timeouts
2000-02-10 22:16:56 +00:00
Brian Wellington
26e1af486a Use dns_message_reply() when responding to an update message 2000-02-10 22:14:39 +00:00
David Lawrence
ae4cbb69ee [RT 17] Special handling of prefix/sysconfdir/localstatedir. If none
are given, install to /usr/local but use /etc/named.conf and
/var/run/named.pid.  If prefix is given, use it in the other two if they
are not also provided.
2000-02-10 01:14:06 +00:00
Andreas Gustafsson
66142ee20a client leaked socket if shutdown was in progress when
accept completed
2000-02-10 00:28:36 +00:00
Andreas Gustafsson
a174757026 implemented the 'localhost' and 'localnets' ACLs 2000-02-09 22:59:40 +00:00
Andreas Gustafsson
78666b7543 added test cases for isc_netaddr_masktoprefixlen() 2000-02-09 22:57:05 +00:00
Bob Halley
19389c0bb1 lint 2000-02-09 19:23:30 +00:00
Andreas Gustafsson
a7e803adb0 obey the new transfer-source-v6 config options 2000-02-09 19:04:26 +00:00
James Brister
71f6034b7e Add tests for transfer-source-v6 and query-source-v6 2000-02-09 16:36:59 +00:00
James Brister
35393c5cfa Get query source address and port together 2000-02-09 16:36:19 +00:00
Bob Halley
a2f3208f7f add DESTDIR support 2000-02-08 21:50:23 +00:00
Bob Halley
bfc2d518d1 use ns_g_defaultpidfile 2000-02-08 21:15:41 +00:00