Michael Graff
83ea3fdeb5
start on network tests
2000-06-16 21:05:55 +00:00
James Brister
8c6d2de9c2
Perl script for testing what currently works in the Perl config library
...
interface module.
2000-06-16 20:48:58 +00:00
James Brister
0efe50faac
Sample named.conf file for testing.
2000-06-16 20:48:03 +00:00
James Brister
b1e973dba2
Perl script for creating a platform specific Makefile for building
...
Perl config library interface.
2000-06-16 20:47:22 +00:00
James Brister
c00db9da64
SWIG input file for Perl interface to config library.
2000-06-16 20:46:23 +00:00
James Brister
51f90e94e4
Ugly, but necessary, macros for creating definitions used in new perl
...
interface to dns_c_* library.
2000-06-16 20:45:26 +00:00
Andreas Gustafsson
7beeb415ca
minor editing
2000-06-16 19:51:34 +00:00
Michael Sawyer
136044ca99
Checkpoint.
...
Section 2.5.3 messages now generated correctly.
2000-06-16 18:54:33 +00:00
Michael Sawyer
9b3a69e6a7
Improved printing of DynDNS packets in *totext.
2000-06-16 18:48:41 +00:00
Michael Sawyer
6dd86183b0
Revert 1.126 -> 1.125
2000-06-16 18:27:49 +00:00
Michael Graff
ca53839147
temp. change -- don't filter mcast yet
2000-06-16 18:10:44 +00:00
Michael Sawyer
518c9fea58
Add ability to set AD and CD flags in outgoing query.
2000-06-16 18:00:05 +00:00
Michael Sawyer
3238566d66
Change counts on message_totext to use update names when un update message
...
Improve handling of rdatasets without rdata.
2000-06-16 17:48:05 +00:00
Michael Sawyer
2ca0be2bb8
Checkpoint. More or less functional now, though there are known bugs
...
and places where it's just generally too difficult to use.
2000-06-16 17:10:02 +00:00
Andreas Gustafsson
8ed2c82a73
do not use initial caps in log messages
2000-06-16 15:51:58 +00:00
Brian Wellington
f6c700247a
Failing to open/bind the lwresd socket should be a fatal error, since
...
it's only attempted if the user explicitly calls named with -r.
2000-06-16 07:42:41 +00:00
Brian Wellington
7777118507
( #260 ) Running named as a non-root user failed on Linux kernels new enough to
...
support retaining capabilities after setuid().
2000-06-16 07:35:54 +00:00
Brian Wellington
bb54e57a8e
Fix shutdown problems associated with lwresd.
2000-06-16 07:21:13 +00:00
David Lawrence
fc4624ce76
include <dns/view.h>
2000-06-16 03:26:55 +00:00
Michael Graff
aad37e39b3
protect sin6_scope_id
2000-06-16 01:44:15 +00:00
Brian Wellington
ab39ce8a64
Added <isc/print.h> for snprintf
2000-06-16 01:40:36 +00:00
Michael Graff
29a2e0c9b5
Bring back warnings we supressed for b4 :)
2000-06-16 01:39:05 +00:00
Brian Wellington
878d3073b1
First pass at merging lwresd into named. Seems to work, but doesn't shut down
...
properly. Run named with 'named -r' to test.
2000-06-16 01:39:02 +00:00
Michael Graff
e92d6ed5e7
snapshot
2000-06-16 01:38:13 +00:00
Andreas Gustafsson
8bbc3795bf
RT #133 : fixed two separate bugs, each of which would cause a bus
...
error during shutdown of a busy caching server (specifically, one
making many outgoing TCP connections).
Bug 1: resquery_destroy() accessed query->fctx->res->mctx, even though
query->fctx could already be destroyed at this point.
Bug 2: resquery_connected() called fctx_done(query->fctx, result)
immediately after fctx_cancelquery(), which could destroy *query.
Also added some explanatory comments.
2000-06-16 01:16:39 +00:00
David Lawrence
c9687c0800
HPUX said:
...
cc: "netaddr.c", line 235: warning 508: Statement can never be reached.
cc: "netaddr.c", line 238: warning 508: Statement can never be reached.
... but now it won't say that anymore. "break"s following "return"s removed.
2000-06-16 01:07:43 +00:00
Michael Graff
ce5bd92088
Store our own version of what type of socket we had, so we can clean up even after the socket is detached.
2000-06-16 00:52:05 +00:00
Michael Graff
efe2f579ba
add LWRES_CONTEXT_SERVERMODE
2000-06-15 23:48:11 +00:00
James Brister
0d5d8e2bbf
259. [func] New random-device and random-seed-file statements
...
for global options block of named.conf. Both accept
a single string argument.
2000-06-15 23:38:16 +00:00
Michael Graff
3d2332d68f
include <lwres/net.h> so AF_INET6 is always defined
2000-06-15 22:43:48 +00:00
Michael Sawyer
77ae2d58c2
Memory leak.
2000-06-15 22:08:44 +00:00
Michael Graff
8313838954
Conditionalize setting of struct sockaddr_in6's sin6_scope_id member.
...
Some machines have it, older ipv6 flavors do not.
2000-06-15 21:52:21 +00:00
James Brister
99f3a24e69
258. [bug] Fixed printing of lwres_addr_t.address field.
2000-06-15 21:37:18 +00:00
James Brister
52d06580bd
Fixed handling of printing of lwres_addr_t.address field.
2000-06-15 21:34:21 +00:00
Michael Sawyer
0a673a3448
Add a delay after changing the views named.conf before sending the SIGHUP
2000-06-15 21:14:04 +00:00
Michael Sawyer
7b5dbd404b
Only need h_errno if we're not using getaddrinfo
2000-06-15 20:56:24 +00:00
Michael Sawyer
6fc790c460
If we have it, use getaddrinfo instead of gethostbyname to find the
...
address of the nameserver (from resolv.conf or @nameserver).
2000-06-15 19:05:30 +00:00
Michael Graff
0177adc4f8
don't test dns_name_concatenate(), since all the test did was return UNTESTED.
2000-06-15 19:03:53 +00:00
Michael Graff
2193d51910
latest patches from pr 135
2000-06-15 18:49:54 +00:00
Michael Sawyer
e86e6bc192
Add HAVE_ADDRINFO and HAVE_GETADDRINFO to config.h.in and configure.in
2000-06-15 18:34:43 +00:00
Michael Graff
eadfacf1f5
journal.c doesn't really seem to need <unistd.h>
2000-06-15 18:29:45 +00:00
Michael Graff
99dd8505ed
Bring up to spec. Patches from pr 134, 135
2000-06-15 18:28:11 +00:00
Michael Graff
c01c401217
reject multicast packets
2000-06-15 18:26:28 +00:00
Michael Graff
f64ded0ac7
set ISC_SOCKEVENTATTR_MULTICAST on packets received from a multicast address
2000-06-15 18:25:49 +00:00
Michael Sawyer
6c6a62933d
Spelling error.
2000-06-15 18:24:08 +00:00
Michael Graff
d80da258e3
Add isc_netaddr_ismulticast() and isc_sockaddr_ismulticast()
2000-06-15 18:23:54 +00:00
Michael Graff
d2e9c94edb
Add ISC_R_MULTICAST
2000-06-15 18:21:38 +00:00
Michael Graff
c3581e2bcc
No need to destroy filesources -- they will clean up when the source is destroyed
2000-06-15 18:15:26 +00:00
Andreas Gustafsson
06ed5a0d46
fixec typos in previous checkin
2000-06-15 17:42:16 +00:00
Andreas Gustafsson
aa79283a0d
257. [bug] The server detached the last zone manager reference
...
too early, while it could still be in use by queries.
This manifested itself as assertion failures during the
shutdown process for busy name servers (RT #133 ).
256. [func] isc_ratelimiter_t now has attach/detach semantics, and
isc_ratelimiter_shutdown guarantees that the rate
limiter is detached from its task.
255. [func] New function dns_zonemgr_attach().
2000-06-15 17:40:22 +00:00