Commit Graph

481 Commits

Author SHA1 Message Date
Andreas Gustafsson
b044e6daba updated comment to reflect changed interface 2000-03-02 01:14:02 +00:00
Andreas Gustafsson
a6535a2681 consistently use single quotes around quoted text in log messages 2000-03-01 22:41:59 +00:00
David Lawrence
142b9c806e format comment to 79 columns 2000-03-01 21:28:38 +00:00
Andreas Gustafsson
0e7a542683 improved error reporting 2000-03-01 20:40:33 +00:00
Andreas Gustafsson
11d435aa4c implemented logging defaults suggested by Tale 2000-03-01 20:40:14 +00:00
Andreas Gustafsson
254993b725 removed support for -ff (use -g); updated usage message accordingly 2000-03-01 18:50:58 +00:00
Andreas Gustafsson
e02c696ea5 checkpoint: restructured logging configuration code
to enable the default logging configuration to be defined
in one place
2000-03-01 00:40:54 +00:00
Michael Graff
d456800909 formatting nit; no functional change 2000-02-29 20:09:37 +00:00
Andreas Gustafsson
32b61e553b foreground mode with logging to stderr is now -g, not -ff 2000-02-29 18:37:14 +00:00
Andreas Gustafsson
ef890b8214 renamed -N option to -n for portability 2000-02-28 22:19:47 +00:00
Andreas Gustafsson
f30f2b279c direct logging to stderr iff the '-f' option is doubled 2000-02-28 22:17:59 +00:00
Bob Halley
21c39a1a83 initialize type in channel_fromconf() 2000-02-28 19:18:13 +00:00
Andreas Gustafsson
353dcaf1cc 'logging' statement partially wired up 2000-02-28 18:38:44 +00:00
David Lawrence
edcd1247ad isc_log_create now has three parameters, the additional one used to
return an isc_logconfig_t.  isc_log_cretechannel and isc_log_usechannel
now take an isc_logconfig_t instead of an isc_log_t; this is to address
reconfiguration in a multithreaded environment.

isc_logconfig_create, isc_logconfig_get, isc_logconfig_use and
isc_logconfig_destroy were added to work with the new isc_logconfig_t type.

isc_logregister_categories and dns_log_init are now both void rather than
returning isc_result_t.
2000-02-26 19:57:02 +00:00
Andreas Gustafsson
cfab2f4e03 implemented the 'transfers-in' option 2000-02-25 17:34:05 +00:00
Andreas Gustafsson
e01ecff4b1 Implemented the 'transfers' clause of the 'server' statement
> and the 'transfers-per-ns' option.
2000-02-25 00:52:11 +00:00
Andreas Gustafsson
2bc0dee981 implemented the 'transfer-format' clause of the 'server' statement 2000-02-24 22:55:46 +00:00
Andreas Gustafsson
604b92d94d removed outdated comment 2000-02-24 21:41:56 +00:00
Andreas Gustafsson
03ccfda9ec the view now has a peer list 2000-02-24 21:12:16 +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
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
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
52c6910afb Adding additional data caused an assertion for a signed zone. 2000-02-14 22:21:25 +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
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
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
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
Bob Halley
8545bb4765 change working directory immediately after parsing the options block 2000-02-08 01:30:16 +00:00
Andreas Gustafsson
cd3674b4b2 don't configure the zone's query ACL twice 2000-02-07 22:01:05 +00:00