Commit graph

6996 commits

Author SHA1 Message Date
Andreas Gustafsson
db40c6bfdf don't unlock the node lock in no_references() [RT #2018] 2001-11-16 00:17:07 +00:00
Andreas Gustafsson
307ba34fa0 1128. [func] sdb drivers can now provide RR data in either text
or wire format, the latter using the new functions
                        dns_sdb_putrdata() and dns_sdb_putnamedrdata().
(in preparation for sdb-izing the built-in CHAOS zones)
2001-11-15 20:32:05 +00:00
Brian Wellington
d9af67ef70 add RSA to the secalgs list in rdata.c (as a synonym for RSAMD5), remove the
special case code in dnssec-keygen to parse RSA.
2001-11-15 19:44:52 +00:00
Andreas Gustafsson
36d8518388 indentation 2001-11-15 19:06:04 +00:00
Mark Andrews
913e3def6d pullup:
extra text after #else
2001-11-15 06:21:38 +00:00
Andreas Gustafsson
3179bab5b8 extra text after #else 2001-11-15 01:58:28 +00:00
Brian Wellington
00c8cf21f0 simplify #ifdef mess 2001-11-15 01:29:42 +00:00
Mark Andrews
309979a136 pullup:
Removed all code within #ifdef DNS_OPT_NEWCODES*.
It was the last thing being sanitized out of releases; removing
it makes it possible to eliminate the sanitation process.
2001-11-15 01:24:21 +00:00
Andreas Gustafsson
20c21edada deal with the NO_DATA/NO_ADDRESS mess using a bunch
of #ifs and #ifdefs, as recommended by Mark
2001-11-15 01:20:16 +00:00
Andreas Gustafsson
cef23f1f01 no need to include <isccfg/cfg.h>; include <isc/net.h> to define in_port_t 2001-11-15 01:04:06 +00:00
Andreas Gustafsson
06364bcf06 did not compile on systems lacking getaddrinfo() due to typos 2001-11-15 00:58:00 +00:00
Andreas Gustafsson
a79f12ba46 remove NO_ADDRESS, not NO_DATA 2001-11-15 00:53:05 +00:00
Andreas Gustafsson
78f0b08d54 duplicate switch case on systems defining NO_ADDRESS and NO_DATA with the same value 2001-11-15 00:51:10 +00:00
Mark Andrews
fc67f3e0e3 pullup:
Partial fix for RT #2053.  The potential for deadlock still exists,
but it is much less likely to occur because we now only take the ADB lock when
the
external reference count reaches zero, not every time it is decremented.
Althought this does not actually fix the bug, it at least lets us make
progress on testing fixes for other bugs affecting shutdown of multithreaded
servers.
2001-11-15 00:35:17 +00:00
Andreas Gustafsson
452606f147 forgot to remove a function declaration in previous change 2001-11-14 23:15:44 +00:00
Brian Wellington
0f1938c982 set ai_socktype in the hints to getaddrinfo, so that the result doesn't
contain duplicate addresses.
2001-11-14 23:03:42 +00:00
Andreas Gustafsson
ca50fa0230 Partial fix for RT #2053. The potential for deadlock still exists,
but it is much less likely to occur because we now only take the ADB lock when the
external reference count reaches zero, not every time it is decremented.
Althought this does not actually fix the bug, it at least lets us make
progress on testing fixes for other bugs affecting shutdown of multithreaded
servers.
2001-11-14 22:32:10 +00:00
Brian Wellington
a873540eb6 When in singlethreaded mode, don't drain the event queue before exiting
isc_app_run().  The events will be delivered when the taskmgr is destroyed.
This will allow, for example, dnssec-signzone to be aborted with ^C.
I think this works, and the system tests pass, but it might break something.
2001-11-14 22:11:58 +00:00
Brian Wellington
b493dfe8bc Add bind9_getaddresses(), a consistent version of the get_address function
from dig/host/nslookup, nsupdate, and rndc.  This should make it
easier to have the various programs support multiple addresses for a hostname.
2001-11-14 22:08:38 +00:00
Andreas Gustafsson
cab27680d6 change 1077. introduced a locking hierarchy violation; fix by
introducing a separate lock for resolver->nfctx.
2001-11-14 22:05:05 +00:00
Brian Wellington
f109354dce copyright 2001-11-14 22:01:40 +00:00
Andreas Gustafsson
2869504d83 1122. [tuning] Resolution timeout reduced from 90 to 30 seconds.
[RT #2046]
2001-11-14 01:31:12 +00:00
Andreas Gustafsson
138cc7f283 1121. [bug] The server could attempt to access a NULL zone
table if shutting down while resolving.
                        [RT #1587, #2054]
2001-11-14 01:01:28 +00:00
Andreas Gustafsson
63d380e078 pullup:
1116.   [bug]           Setting transfers in a server clause, transfers-in,
                        or transfers-per-ns to a value greater than
                        2147483647 disabled transfers.  [RT #2002]
(Technically, this is an API change, but since it only changes the signedness of some
function parameters, it is still binary compatible in practice and I'll let it slip
by without bumping the major library version number)
2001-11-13 18:57:14 +00:00
Andreas Gustafsson
46879265d7 pullup:
1120.   [bug]           Errors in options were not fatal. [RT #2002]
2001-11-13 18:36:04 +00:00
Mark Andrews
ae29b66fbf BIND 8.3 compat "suppress-initial-notify". 2001-11-13 06:57:11 +00:00
Mark Andrews
aa51fc8106 1119. [bug] Errors in options were not fatal. [RT #2002] 2001-11-13 06:34:59 +00:00
Mark Andrews
0316cd0c04 NODE_VALID -> DNS_RBTNODE_VALID 2001-11-13 06:19:55 +00:00
Danny Mayer
5c4e92b973 Added support for NTFS disks 2001-11-13 05:07:57 +00:00
Mark Andrews
29d7ef1bca cleanup allow-update-forwarding. 2001-11-13 02:52:10 +00:00
Mark Andrews
be7d7a6638 pullup:
1118.   [bug]           On multithreaded servers, a race condition
                        could cause an assertion failure in resolver.c
                        during resolver shutdown. [RT #2029]
2001-11-12 22:37:05 +00:00
Mark Andrews
d0b2beb93d pullup:
1111.   [bug]           Multithreaded servers could deadlock processing
                        recursive queries due to a locking hieararchy
                        violation in adb.c. [RT #2017]
2001-11-12 22:28:30 +00:00
Andreas Gustafsson
f3ca27e9fe sizeof style 2001-11-12 19:05:39 +00:00
Andreas Gustafsson
e3e94dd137 1118. [bug] On multithreaded servers, a race condition
could cause an assertion failure in resolver.c
                        during resolver shutdown. [RT #2029]
2001-11-12 18:48:50 +00:00
Mark Andrews
014f9142bc pullup:
1114.   [port]          Ignore more accept() errors. [RT #2021]
2001-11-10 03:03:44 +00:00
Andreas Gustafsson
c0bf2b179a When DNS_RBT_USEMAGIC is defined as true, do magic number
checking of RBT nodes
2001-11-10 01:37:44 +00:00
Andreas Gustafsson
d76ac5ddfd pullup:
install soa.h
2001-11-09 23:17:17 +00:00
Brian Wellington
9fbcea8dba install soa.h 2001-11-09 23:09:29 +00:00
Andreas Gustafsson
b5c8773673 pullup:
theoretically potential file descriptor leak.
2001-11-09 20:21:41 +00:00
Mark Andrews
3e42bdfdc9 1116. [bug] Setting transfers in a server clause, transfers-in,
or transfers-per-ns to a value greater than
                        2147483647 disabled transfers.  [RT #2002]
2001-11-09 04:21:58 +00:00
Mark Andrews
b20eef7ab0 1115. [func] Set maximum values for cleaning-interval,
heartbeat-interval, interface-interval,
                        max-transfer-idle-in, max-transfer-idle-out,
                        max-transfer-time-in, max-transfer-time-out,
                        statistics-interval of 28 days and
                        sig-validity-interval of 3660 days. [RT #2002]
2001-11-09 03:34:55 +00:00
Andreas Gustafsson
a571ebca8b style 2001-11-09 01:53:20 +00:00
Mark Andrews
f498427f17 theoretically potential file descriptor leak. 2001-11-09 00:37:10 +00:00
Andreas Gustafsson
bad3251d3f Undo the parts of 1113. pertaining to the allow-update option; simplify grammar 2001-11-08 21:13:42 +00:00
Andreas Gustafsson
ea01b618d9 1114. [port] Ignore more accept() errors. [RT #2021] 2001-11-08 20:24:25 +00:00
Danny Mayer
afce5ee1c8 On a successful connect need to clear the except_fds bit for the socket. except_fds is only set for a connect call, so it is always safe to clear 2001-11-08 03:29:05 +00:00
Brian Wellington
bcf53cf8d0 Move the memory allocation wrappers into openssl_link.c, since they're
openssl specific.
2001-11-07 23:03:54 +00:00
Andreas Gustafsson
78bf1ca895 1111. [bug] Multithreaded servers could deadlock processing
recursive queries due to a locking hieararchy
                        violation in adb.c. [RT #2017]
2001-11-07 22:40:33 +00:00
Mark Andrews
773e64ec15 try-edns is no more 2001-11-07 04:25:19 +00:00
Danny Mayer
e209942448 Fix select to set and check for exception fds for the connect() function for the socket. Miscellaneous error handling cleanup. [RT #1870] 2001-11-07 04:24:38 +00:00
Mark Andrews
be9932698b max-adb-size is no more.
1073.  [bug]           The adb cache should also be space driven.
                       [RT #1915, #1938]
2001-11-07 03:52:20 +00:00
Brian Wellington
51e66e5dee missing static 2001-11-06 23:10:34 +00:00
Brian Wellington
88d64279bb if the function table entry already exists when _init() is called, don't
overwrite it.
2001-11-06 22:51:00 +00:00
Brian Wellington
f368466f81 Creating a NULL KEY shouldn't trigger a "no crypto" error. 2001-11-06 22:27:52 +00:00
Brian Wellington
ba45e16a66 Clean up the implementation cleanup mechanism. Also remove ->issymmetric,
since it's easier to just do it in dst_api.c.
2001-11-06 20:47:59 +00:00
Andreas Gustafsson
d8c1b06854 pullup:
memory leaks on errors
2001-11-06 20:44:26 +00:00
Andreas Gustafsson
fb17fdbd0e pullup:
cvs rdiff -r1.89 -r1.90 bind9/lib/dns/sec/dst/dst_api.c
2001-11-06 19:24:08 +00:00
Brian Wellington
2f93757751 Rework the "no crypto support" test. Rather than explicitly checking whether
built without openssl, instead return NOCRYPTO if the algorithm is not
supported but known.
2001-11-06 18:08:07 +00:00
Brian Wellington
3bc4de1f1b memory leaks on errors 2001-11-06 17:59:50 +00:00
Brian Wellington
7b5bf4bea4 a key could be freed twice in an unlikely error case. 2001-11-06 03:02:48 +00:00
Mark Andrews
035ef37ffa pullup:
grammar summary output for named maps was missing the name field
2001-11-05 23:22:21 +00:00
Andreas Gustafsson
06278dd28a grammar summary output for named maps was missing the name field 2001-11-05 22:24:31 +00:00
Andreas Gustafsson
ca08f931b9 regenerated 2001-11-05 21:36:27 +00:00
Andreas Gustafsson
569b52d136 don't try to insert the nonexistent file lib/bind/COPYRIGHT into configure.in 2001-11-05 21:34:51 +00:00
Andreas Gustafsson
e81b4c677b regenerated 2001-11-05 21:28:35 +00:00
Brian Wellington
9476a30889 pullup:
1104.   [bug]           Invalid arguments to the transfer-format option
                        could cause an assertion failure. [RT #1995]
(+ don't say "'foo' unexpected near 'foo'" - once is enough)
2001-11-05 20:21:54 +00:00
Andreas Gustafsson
ff303bcf27 Begin comments with capital letter; misc other
comment cleanup
2001-11-05 20:02:41 +00:00
Andreas Gustafsson
67145f44e5 don't say "'foo' unexpected near 'foo'" - once is enough 2001-11-05 18:21:22 +00:00
Andreas Gustafsson
7e2f4ceafa 1104. [bug] Invalid arguments to the transfer-format option
could cause an assertion failure. [RT #1995]
2001-11-05 18:19:46 +00:00
Andreas Gustafsson
c5f432d9c2 pullup:
typo in debug message [RT #1989]
2001-11-04 19:21:50 +00:00
Andreas Gustafsson
0902c53969 typo in debug message [RT #1989] 2001-11-04 19:20:39 +00:00
Andreas Gustafsson
8dda8ff186 pullup:
1087.   [bug]           libbind: struct __res_state to large on 64 bit arch.
(including later fix known as change 1284 in BIND 8)
2001-11-03 00:21:34 +00:00
Mark Andrews
50c7ddaa5e pullup from BIND 8.3:
1284.   [bug]           struct __res_state was still broken after #1265.
2001-11-02 23:23:34 +00:00
Andreas Gustafsson
7c6f960a20 remove empty line 2001-11-02 22:31:38 +00:00
Andreas Gustafsson
75c43836c1 removed empty line as an excuse for making
another commit so that I can note that the commit message
of the previous commit should have been:
pullup:
silence compiler the same way
2001-11-02 22:31:14 +00:00
Andreas Gustafsson
7752f1112e pullup:
CHANGES lib/bind/dst/dst_api.c lib/bind/dst/support.c
trebuchet ~/9.2 $ cvs commit -mpullup:
2001-11-02 22:26:21 +00:00
Andreas Gustafsson
148fd45777 pullup:
1100.   [bug]           libbind: DNSSEC key ids were computed incorrectly.
2001-11-02 22:25:29 +00:00
Andreas Gustafsson
c7443ec439 pullup:
1099.   [cleanup]       libbind: defining REPORT_ERRORS in lib/bind/dst caused
                        compile time errors.
2001-11-02 21:38:18 +00:00
Andreas Gustafsson
2f65d19e93 pullup:
1098.   [bug]           libbind: HMAC-MD5 key files are now mode 0600.
2001-11-02 21:35:30 +00:00
Andreas Gustafsson
6cb735c864 pullup:
spelling and order
2001-11-02 21:32:52 +00:00
Andreas Gustafsson
ad7a535899 pullup:
1093.   [doc]           libbind: miscellaneous nroff fixes.
2001-11-02 21:06:16 +00:00
Andreas Gustafsson
84189fe5ad pullup:
1092.   [bug]           libbind: get*by*() failed to check if res_init() had
                        been called.
2001-11-02 20:55:24 +00:00
Andreas Gustafsson
b15ba3f20d pullup:
1091.   [bug]           libbind: misplaced va_end().
2001-11-02 20:45:32 +00:00
Andreas Gustafsson
a3a89d7c36 pullup:
1090.   [bug]           libbind: dns_ho.c:add_hostent() was not returning
                        the amount of memory consumed resulting in garbage
                        address being returned.  Alignment calculations were
                        wasting space.  We wern't suppressing duplicate
                        addresses.
2001-11-02 20:35:28 +00:00
Andreas Gustafsson
6c87ddb75d pullup:
1088.   [port]          libbind: MPE/iX C.70 (incomplete)
2001-11-02 20:12:58 +00:00
Andreas Gustafsson
aa224791dd pullup:
1086.   [port]          libbind: sunos: old sprintf.
2001-11-02 17:56:07 +00:00
Andreas Gustafsson
cad0e68589 pullup:
1085.   [port]          libbind: solaris: sys_nerr and sys_errlist do not
                        exist when compiling in 64 bit mode.
2001-11-02 17:45:31 +00:00
Danny Mayer
93c498f0c6 ntfile.c now unnecessary as the iob array is now properly referenced 2001-11-02 05:22:05 +00:00
Danny Mayer
e5cba9f559 Win32 I/O - remove ntfile routines and _iob from .def files. Standard calls now work 2001-11-02 05:02:15 +00:00
Andreas Gustafsson
540f27d8bc pullup:
1101.   [bug]           Array bounds read error in lwres_gai_strerror.
2001-11-02 01:32:53 +00:00
Mark Andrews
552a117791 1101. [bug] Array bounds read error in lwres_gai_strerror. 2001-11-02 00:48:06 +00:00
Mark Andrews
c78ef9f491 pullup:
Deal with AIX defining in6addr_any but not in6addr_loopback
in libc, even though both are declared in <netinet/in.h>.  This caused
named to fail to link on AIX after change 1083, which introduced
the first actual use of in6addr_loopback.
2001-11-02 00:20:12 +00:00
Andreas Gustafsson
785d1541b6 yet another in6addr_loopback change 2001-11-01 23:20:21 +00:00
Andreas Gustafsson
9f6c66e1b3 Deal with AIX defining in6addr_any but not in6addr_loopback
in libc, even though both are declared in <netinet/in.h>.  This caused
named to fail to link on AIX after change 1083, which introduced
the first actual use of in6addr_loopback.
2001-11-01 22:39:30 +00:00
Andreas Gustafsson
50d93bb5f8 pullup:
1084.   [cleanup]       libbind: gai_strerror() rewritten.
2001-11-01 19:00:47 +00:00
Mark Andrews
9d34aaa2bd silence compiler the same way 2001-11-01 07:15:28 +00:00
Mark Andrews
f3e4c3d6c5 1100. [bug] libbind: DNSSEC key ids were computed incorrectly. 2001-11-01 06:51:25 +00:00
Mark Andrews
6fb633bc3f 1099. [cleanup] libbind: defining REPORT_ERRORS in lib/bind/dst caused
compile time errors.
2001-11-01 06:24:39 +00:00
Mark Andrews
ca033e166c 1098. [bug] libbind: HMAC-MD5 key files are now mode 0600. 2001-11-01 06:11:43 +00:00
Mark Andrews
ca6cee1837 gettimeofday.h is no longer require (prototype in port_after.h). 2001-11-01 05:50:19 +00:00
Mark Andrews
c82af3a7f1 1094. [func] libbind: add support gcc's format string checking. 2001-11-01 05:15:27 +00:00
Mark Andrews
e82a62f172 spelling and order 2001-11-01 05:09:41 +00:00
Mark Andrews
f9321a16fb 1096. [func] libbind: RES_PRF_TRUNC for dig. 2001-11-01 05:07:54 +00:00
Mark Andrews
c8bedec446 1096. [func] libbind: "DNSSEC OK" (DO) support. 2001-11-01 04:59:18 +00:00
Mark Andrews
7a104af70f 1095. [func] libbind: resolver option: no-tld-query. disables
trying unqualified as a tld.  no_tld_query is also
                        supported for FreeBSD compatability.
2001-11-01 04:51:00 +00:00
Mark Andrews
923de3bb9c 1094. [func] libbind: add support gcc's format string checking. 2001-11-01 04:21:15 +00:00
Mark Andrews
2359261a25 1093. [doc] libbind: miscellaneous nroff fixes. 2001-11-01 04:06:38 +00:00
Mark Andrews
769cd7d5dd 1092. [bug] libbind: get*by*() failed to check if res_init() had
been called.
2001-11-01 04:03:40 +00:00
Mark Andrews
6bad645917 1091. [bug] libbind: misplaced va_end(). 2001-11-01 04:00:57 +00:00
Mark Andrews
11931cc68d 1090. [bug] libbind: dns_ho.c:add_hostent() was not returning
the amount of memory consumed resulting in garbage
                        address being returned.  Alignment calculations were
                        wasting space.  We wern't suppressing duplicate
                        addresses.
2001-11-01 03:55:57 +00:00
Mark Andrews
d91d025def 1089. [func] libbind: inet_{cidr,net}_{pton,ntop}() now have IPv6
support.
2001-11-01 03:52:16 +00:00
Mark Andrews
985b4f1c86 1088. [port] libbind: MPE/iX C.70 (incomplete) 2001-11-01 03:49:00 +00:00
Mark Andrews
1d556695ef 1087. [bug] libbind: struct __res_state to large on 64 bit arch. 2001-11-01 03:37:18 +00:00
Mark Andrews
e9ca87459a 1086. [port] libbind: sunos: old sprintf. 2001-11-01 00:57:49 +00:00
Mark Andrews
4b711da3c2 regen 2001-11-01 00:49:46 +00:00
Mark Andrews
ca690f9802 1085. [port] libbind: solaris: sys_nerr and sys_errlist do not
exist when compiling in 64 bit mode.
2001-11-01 00:48:05 +00:00
Mark Andrews
137a1f98e3 1084. [cleanup] libbind: gai_strerror() re-written. 2001-11-01 00:30:41 +00:00
Andreas Gustafsson
65775fe205 1081. [bug] Multicast queries were incorrectly identified
based on the source address, not the destination
                        address.
(from JINMEI Tatuya)
2001-10-31 01:24:58 +00:00
Andreas Gustafsson
30e3e23338 replaced the name RLIMIT_NOFILE by WIN32_MAX_OPEN_FILES, since
it was used for something completely unrelated to the Unix meaning of
RLIMIT_NOFILE
2001-10-31 00:32:42 +00:00
Andreas Gustafsson
6032e43f38 mark the memstatistics-file option as unimplemented (on 9.2
branch only, since it is implemented on the mainline) [RT #1972]
2001-10-30 20:30:33 +00:00
Andreas Gustafsson
3c76e82a76 pullup:
1078.  [bug]           We failed to correct bad tv_usec values in one case.
                       [RT #1966]
2001-10-30 17:57:52 +00:00
Mark Andrews
bc508906db 1078. [bug] We failed to correct bad tv_usec values in one case.
[RT #1966]
2001-10-30 02:39:33 +00:00
Mark Andrews
5e8d4ff0bf pullup:
1074.   [bug]           Running out of memory in dump_rdataset() could
                        cause an assertion failure. [RT #1946]
2001-10-30 01:57:16 +00:00
Andreas Gustafsson
a504607ef1 pullup:
1076.   [bug]           A badly defined global key could trigger an assertion
                        on load/reload if views were used. [RT #1947]
2001-10-29 20:18:48 +00:00
Andreas Gustafsson
b352902413 1077. [func] Do not accept further recursive clients when
the total number of of recursive lookups being
                        processed exceeds max-recursive-clients, even
                        if some of the lookups are internally generated.
                        [RT #1915, #1938]
2001-10-29 19:02:48 +00:00
Mark Andrews
72e8c079c4 1076. [bug] A badly defined global key could trigger an assertion
on load/reload if views were used. [RT #1947]
2001-10-29 06:09:05 +00:00
Mark Andrews
74ceb7b203 1075. [bug] Out-of-range network prefix lengths were not
reported. [RT #1954]
2001-10-28 22:48:33 +00:00
Andreas Gustafsson
7923de0ddd consistently begin debug log messages with a lower case letter 2001-10-27 00:32:31 +00:00
Andreas Gustafsson
d3f58baf38 log a debug log message when reaching a memory water mark 2001-10-27 00:29:35 +00:00
Andreas Gustafsson
6b07de6abf document the rdatasetheader next and down pointers 2001-10-27 00:27:54 +00:00
Andreas Gustafsson
c8ab83c08e 1075. [bug] Out-of-range network prefix lengths were not
reported. [RT #1954]
2001-10-26 19:35:03 +00:00
Danny Mayer
7e7bede4bd Fix indentation 2001-10-26 02:29:43 +00:00
Danny Mayer
339335189b Added support for max open files for Win32 2001-10-26 01:25:29 +00:00
Andreas Gustafsson
4e57d3ff7d 1074. [bug] Running out of memory in dump_rdataset() could
cause an assertion failure. [RT #1946]
2001-10-25 23:18:05 +00:00
Brian Wellington
06289aeea8 comment fix 2001-10-25 21:39:48 +00:00
Andreas Gustafsson
66bea4d912 if() condition in check_expire_entry did not have
the effect I think was intended due to operator precedence: || binds tighter than ?:.
Rewrote it without :?.
2001-10-25 17:47:16 +00:00
Brian Wellington
6a4c22bc4d style 2001-10-25 17:07:21 +00:00
Mark Andrews
081cff0c33 1073. [bug] The adb cache should also be space driven,
max-adb-size.  [RT #1915, #1938]
2001-10-25 04:57:46 +00:00
Mark Andrews
a7cb695600 1070. [bug] Copy DNSSEC OK (DO) to response as specified by
draft-ietf-dnsext-dnssec-okbit-03.txt.
2001-10-24 21:47:12 +00:00
Andreas Gustafsson
897f762e3c Fixed a race condition in the new request retransmission code:
if a machine is slow or busy enough, the retransmission timer could theoretically fire
again before the first transmission has finished.  This could cause us to lose track
of whether a send is in progress or not, since that information is stored in a boolean
flag (DNS_REQUEST_F_SENDING), not a counter
2001-10-23 23:10:14 +00:00
Andreas Gustafsson
1a32d316dd add a version.h for liblwres, too 2001-10-23 18:45:53 +00:00
Mark Andrews
3a0f5543c9 pullup:
some variables that should have been static weren't
2001-10-23 02:42:00 +00:00
Andreas Gustafsson
1ae369c9d2 some variables that should have been static weren't 2001-10-23 01:49:35 +00:00
Mark Andrews
8153dde6c8 pullup:
eliminated race condition in water() [RT #1932]
2001-10-23 01:31:08 +00:00
Mark Andrews
3476dfe9d7 mutex leak 2001-10-23 01:21:44 +00:00
Andreas Gustafsson
ce3c351d81 eliminated race condition in water() [RT #1932] 2001-10-23 00:56:33 +00:00
Andreas Gustafsson
5a78ccdf1f pullup:
1068.   [bug]           errno could be overwritten by catgets(). [RT #1921]
1066.   [bug]           Provide a thread safe wrapper for strerror().
                        [RT #1689]
(Also some changes to configure.in, config.h.in, and acconfig.h that were
necessary to allow config.h.in to be correctly regenerated with the
HAVE_STRERROR definition needed by 1066.)
2001-10-22 23:28:26 +00:00
Andreas Gustafsson
40a31ba506 strerror.c did not compile if HAVE_STRERROR was not defined 2001-10-22 22:17:30 +00:00
Andreas Gustafsson
8bdf7f2972 stdtime.@O@ was listed twice in OBJS 2001-10-22 21:37:28 +00:00
Andreas Gustafsson
a9bc22bf37 if() statement needs braces after isc__strerror() call added 2001-10-22 20:57:41 +00:00
Andreas Gustafsson
3931325c6d spacing 2001-10-22 18:18:34 +00:00
Andreas Gustafsson
0ae6a5f852 pullup:
1063.   [bug]           libbind: "make install" was failing on IRIX.
(lib/bind/port/irix/include/paths.h was pulled up by tagging)
2001-10-22 17:00:49 +00:00
Mark Andrews
1255d388f0 1067. [func] Allow quotas to be soft, isc_quota_soft(). 2001-10-22 07:09:25 +00:00
Mark Andrews
31d3464c0c 1065. [func] Runtime support to select new / old style interface
scanning using ioctls.
2001-10-22 04:01:32 +00:00
Mark Andrews
ea7b38cd1e 1063. [bug] libbind: irix "make install" was failing. 2001-10-22 00:40:47 +00:00
Mark Andrews
31e12a627d add 2001-10-22 00:32:56 +00:00
Andreas Gustafsson
b8685833f1 expand the qstringornone type in the grammar summary 2001-10-19 18:08:27 +00:00
Andreas Gustafsson
0e27dac042 spacing 2001-10-19 01:29:41 +00:00
Andreas Gustafsson
059a29a179 when using the system malloc, isc__mempool_get(), isc__mempool_put(),
and isc_mempool_destroy() failed to update memory statistics. [RT #1915]
2001-10-19 01:29:09 +00:00
Andreas Gustafsson
eb7f938194 style 2001-10-19 00:38:18 +00:00
Mark Andrews
c65bd9be83 pullup:
1061.   [bug]           If periodic cache cleaning happened to start
                        while cleaning due to reaching the configured
                        maximum cache size was in progress, the server
                        could catch an assertion failure. [RT #1912]
2001-10-19 00:22:26 +00:00
Andreas Gustafsson
dfafc36515 style 2001-10-19 00:17:17 +00:00
Mark Andrews
07eaf0b8d0 1060. [func] Move UDP retry processing into dns_request. 2001-10-18 06:12:04 +00:00
Mark Andrews
cf70df7d0e 1059. [func] dns_request now support will now retry UDP queries,
dns_request_createvia2() and dns_request_createraw2().
2001-10-18 06:09:39 +00:00
Mark Andrews
9234d92d4e 1058. [func] Limited lifetime ticker timers are now available,
isc_timertype_limited.
2001-10-18 06:06:13 +00:00
Andreas Gustafsson
86a292d459 added more logging to help track down RT #1912 if not fixed by previous commit 2001-10-18 01:48:35 +00:00
Andreas Gustafsson
937ccb270e The call to incremental_cleaning_action() added to cleaning_timer_action()
in revision 1.40 is clearly incorrect.  If the cleaner is already in the busy state, a call to
incremental_cleaning_action() has already been scheduled as an event, and there is no
need to do an extra call.  Furthermore, the call passed the timer event as an argument
to incremental_cleaning_action(), which would ultimately cause it to be passed
to end_cleanin() and assigned to cleaner->resched_event rather than freed.
This commit may or may not fix RT #1912.
2001-10-18 01:40:56 +00:00
Andreas Gustafsson
dcfc52bbba Added a version.h file for each library; made version
variables const
2001-10-16 23:21:07 +00:00
Andreas Gustafsson
3c3fe07225 1055. [func] Version and hostname queries can now be disabled
using "version none;" and "hostname none;",
                        respectively.
(for consistency with "pid-file none" and each other)
2001-10-16 22:18:59 +00:00
Andreas Gustafsson
8d2b885018 The option for disabling the PID file is now pid-file none, not pid-file "none" 2001-10-16 20:04:41 +00:00
Mark Andrews
ec95dac291 pullup:
1054.   [bug]           winnt: cfg_categories and cfg_modules need to be
                        visible outside of the libisccfg DLL.
2001-10-16 05:58:29 +00:00
Mark Andrews
c8b58baa78 Change #1042 was incomplete. cfg_categories and cfg_modules need to be
visible outside of the DLL.
2001-10-16 05:28:14 +00:00
Mark Andrews
a1a06d7854 pullup:
1052.  [bug]           Journals were not being created in binary mode
                       resulting in "journal format not recognized" error
                       under Windows NT/2000.  [RT #1889]
2001-10-15 04:57:51 +00:00
Mark Andrews
1094dec52a 1052. [bug] Journals were not being created in binary mode
resulting in "journal format not recognized" error
                        under Windows NT/2000.  [RT #1889]
2001-10-15 04:47:55 +00:00
Mark Andrews
267d8eb613 pullup:
1050.  [bug]           Log messages reporting malformed IP addresses in
                       address lists such as that of the forwarders option
                       failed to include the correct error code, file
                       name, and line number. [RT #1890]
2001-10-13 03:52:13 +00:00
Andreas Gustafsson
b38ab99bdc patch from Danny:
Fixed formattimestamp to use locale specific dates and times, the same way
as Unix format
2001-10-13 01:57:37 +00:00
Andreas Gustafsson
6e93e6ea45 if the sdb lookup function fails at the zone origin for reasons other
than nonexistence of the domain name, the failure should be propagated
to the caller
2001-10-13 01:37:58 +00:00
Andreas Gustafsson
01818a424a document return value of the sdb lookup function 2001-10-13 01:32:34 +00:00
Andreas Gustafsson
62a3dbe63e 1050. [bug] Log messages reporting malformed IP addresses in
address lists such as that of the forwarders option
                        failed to include the correct error code, file
                        name, and line number. [RT #1890]
2001-10-12 22:00:31 +00:00
Andreas Gustafsson
315eafec07 pullup:
1039.   [bug]           Negative responses with CNAMEs in the answer section
                        were cached incorrectly. [RT #1862]
2001-10-12 17:49:41 +00:00
Mark Andrews
a4fbe403e4 pullup:
1048.   [bug]           Servers built with -DISC_MEM_USE_INTERNAL_MALLOC=1
                        didn't work.
2001-10-12 01:17:37 +00:00
Andreas Gustafsson
e69b9ffb0f 1048. [bug] Servers built with -DISC_MEM_USE_INTERNAL_MALLOC=1
didn't work.
2001-10-12 00:35:11 +00:00
Andreas Gustafsson
29ca9003a5 use "oldconfig", not "_placeholder" as the name of the
obsolete DNS_LOGCATEGORY_CONFIG logging category, to lessen confusion in
case someone links a 9.2.0-pre-rc7 binary against an rc7 or newer shared
library
2001-10-11 23:07:00 +00:00
Andreas Gustafsson
7779b6cbf6 pullup:
1045.   [bug]           It was possible to skip saving glue for a nameserver
                        for a stub zone.
2001-10-11 17:20:40 +00:00
Andreas Gustafsson
e370391b5e pullup:
1044.   [bug]           Specifying allow-transfer, notify-source, or
                        notify-source-v6 in a stub zone was not treated
                        as an error.
2001-10-11 17:12:42 +00:00
Mark Andrews
ada9b8ab20 1045. [bug] It was possible to skip saving glue for a nameserver
for a stub zone.
2001-10-11 06:12:42 +00:00
Mark Andrews
3a92768cad 1044. [buf] Specifying allow-transfer, notify-source or
notify-source-v6 in a stub zone was not treated as
                        a error.
2001-10-11 04:52:21 +00:00
Mark Andrews
329fd2fe75 pullup:
1043.   [bug]           Specifying a transfer-source or transfer-source-v6
                        option in the zone statement for a master zone was
                        not treated as an error. [RT #1876]
2001-10-11 03:31:04 +00:00
Mark Andrews
8002894e6e pullup:
1042.   [bug]           The "config" logging category did not work properly.
                        [RT #1873]
2001-10-11 02:03:23 +00:00
Andreas Gustafsson
bb60abb445 1043. [bug] Specifying a transfer-source or transfer-source-v6
option in the zone statement for a master zone was
                        not treated as an error. [RT #1876]
2001-10-11 01:55:03 +00:00
Andreas Gustafsson
024face21c 1042. [bug] The "config" logging category did not work properly.
[RT #1873]
2001-10-11 01:16:18 +00:00
Andreas Gustafsson
78d811f8fb spacing 2001-10-11 01:07:50 +00:00
Andreas Gustafsson
247b6de61b Some comments referred to DNS_R_NOTVERIFIEDYET as
DNS_R_SIGNOTVERIFIEDYET
2001-10-10 21:39:16 +00:00
Mark Andrews
13f2c161db 1039. [bug] We cached an incorrect negative response if there were
CNAMES in the answer section.  [RT#1862]
2001-10-10 04:11:32 +00:00
Andreas Gustafsson
ae62248c8a pullup:
1038.   [bug]           TKEY queries with an owner name other than the root
                        could cause an assertion failure. [RT #1866, #1869]
2001-10-09 23:06:57 +00:00
Brian Wellington
173a45b43c fix assertion in tkey code [RT #1866] 2001-10-09 17:26:33 +00:00
Mark Andrews
3fc4c1434d 1037. [bug] We failed to reject some self inconsistant answers.
[RT #1862]
2001-10-09 08:03:32 +00:00
Andreas Gustafsson
96bc10707a pullup:
on plaforms with no gettimeofday(), use struct _TIMEZONE instead of
struct timezone
2001-10-09 00:51:07 +00:00
Andreas Gustafsson
6c6ceac1bc reverted incorrect commit 2001-10-08 18:58:11 +00:00
Andreas Gustafsson
c7302ffd98 pullup:
1031.   [bug]           libbind.a: isc__gettimeofday() infinite recursion.
                        [RT #1858]
2001-10-08 18:10:57 +00:00
Mark Andrews
df7596a03e 1032. [func] hostname.bind/txt/chaos now returns the name of
the machine hosting the nameserver.  This is useful
                        in diagnosing problems with anycast servers.
2001-10-08 07:46:11 +00:00
Danny Mayer
f3fcde886c Fixed formattimestamp to use locale specific dates and times, the same way as Unix format 2001-10-08 01:20:08 +00:00
Mark Andrews
f08782f092 1031. [bug] libbind.a: isc__gettimeofday() infinite recursion.
[RT #1858]
2001-10-08 00:33:45 +00:00
Danny Mayer
4186249fea Eliminate unnecessary macro and increase buffer length MAX_NAME_LENGTH 2001-10-06 01:10:06 +00:00
Danny Mayer
5ea492b94d Restore Andrea's changes along with the updates 2001-10-05 22:25:54 +00:00
Bob Halley
8db00cd940 add 2001-10-05 20:57:24 +00:00
Danny Mayer
49d23a92a9 Check for malloc out-of-memory conditions, changed return codes to provide more meaningful error codes. Minor cleanup 2001-10-05 05:51:50 +00:00
Andreas Gustafsson
4e9291c48b pullup:
the wrong result code was checked [RT #1847]
2001-10-04 19:43:06 +00:00
Brian Wellington
61e30d3194 the wrong result code was checked [RT #1847] 2001-10-04 18:22:57 +00:00
Andreas Gustafsson
a1d2958b24 pullup:
1022.   [bug]           Don't report empty root hints as "extra data".
                        [RT #1802]
2001-10-03 22:31:19 +00:00
Mark Andrews
b09f4e054c 1025. [bug] Don't use multicast addresses to resolve iterative
queries.  [RT #101]
2001-10-03 07:43:03 +00:00
Mark Andrews
40dd9cb8cc 1024. [port] HP and Sun decided to use the same macros and
structures for different things.
2001-10-03 05:08:32 +00:00
Mark Andrews
8f534756ca Disallow creation of TYPE0 records from wire data 2001-10-03 02:07:34 +00:00
Mark Andrews
2d4f039432 Disallow creation of TYPE0 records from master files, since the server
reserves type 0 for internal purposes related to negative caching
2001-10-03 02:05:25 +00:00
Andreas Gustafsson
6bebabb376 Also disallow creation of TYPE0 records from wire data 2001-10-03 00:51:38 +00:00
Andreas Gustafsson
de5247ae16 Disallow creation of TYPE0 records from master files, since the server reserves type 0 for
internal purposes related to negative caching
2001-10-02 23:33:04 +00:00
Mark Andrews
c54091c8ed IPv6 addresses containing mapped IPv4 addresses generate the same hash
value as the equivalent IPv4 address.  This is now true regardless of
the value of address_only.  Document.
2001-10-02 06:06:15 +00:00
Andreas Gustafsson
1b8eaf4143 style 2001-10-01 20:58:51 +00:00
Andreas Gustafsson
24dd4582a2 install check.h in include/bind9, not include/isccfg 2001-10-01 20:53:48 +00:00
Andreas Gustafsson
9066d09c3e Removed all code within #ifdef DNS_OPT_NEWCODES*.
It was the last thing being sanitized out of releases; removing
it makes it possible to eliminate the sanitation process.
2001-10-01 18:54:05 +00:00
Andreas Gustafsson
1ebadd777b pullup:
1021.   [bug]           On Win32, log message timestamps were one month
                        later than they should have been, and the server
                        would exhibit unspecified behavior in December.
2001-10-01 01:42:38 +00:00
Mark Andrews
96ea98af24 1023. [func] Accept hints without TTLs. 2001-09-30 04:31:28 +00:00
Mark Andrews
54c4aa0f62 1022. [bug] Allow hints to be completely empty. [RT #1802] 2001-09-30 03:02:47 +00:00
Danny Mayer
37f08fab28 Timestamp was one month later than it should have been. SYSTEMTIME starts with January=1 2001-09-30 02:41:11 +00:00
Bob Halley
3e1f3de348 check.h has moved to libbind9 2001-09-29 20:00:39 +00:00
Bob Halley
6d7c0fd73b add 2001-09-29 19:59:29 +00:00
Bob Halley
27ef660057 cfg.h and log.h are not in libbind9 2001-09-29 19:59:11 +00:00
Bob Halley
e83e8e7734 libtool is generated 2001-09-29 19:58:52 +00:00
Andreas Gustafsson
513dd4a616 style 2001-09-28 23:34:55 +00:00
Andreas Gustafsson
c3312fd9d0 pullup:
dns_tsigkey_createfromkey wasn't checking that the key algorithm matched the
key name.
2001-09-27 23:17:10 +00:00
Brian Wellington
ff7b9eede9 dns_tsigkey_createfromkey wasn't checking that the key algorithm matched the
key name.
2001-09-27 17:49:11 +00:00
Andreas Gustafsson
82c168127c When retrying with AXFR after a failed IXFR, don't do a SOA query
over TCP before the AXFR request.  Doing so has not been
necessary since zone maintenance using UDP SOA queries was
implemented in zone.c a long time ago.
2001-09-27 01:01:46 +00:00
Brian Wellington
c9b3f64262 fix comment 2001-09-25 22:45:02 +00:00
Danny Mayer
7e351cd18f Added named service location in Registry 2001-09-25 01:41:43 +00:00
Danny Mayer
ecde762a60 Code to fetch list of NT Groups for a given account. This is used for retrieving privilege information and rights for an account as well as for NTFS File system and other object security 2001-09-25 01:37:02 +00:00
Andreas Gustafsson
4632c084a6 missing comma in last pullup [RT #1780] 2001-09-21 23:18:45 +00:00
Andreas Gustafsson
1d89523b69 pullup:
1000.   [bug]           BIND 8 compatibility: accept "HESIOD" as a alias
                        for class "HS".  [RT #1759]
2001-09-21 20:46:35 +00:00
Andreas Gustafsson
4fdcaf0cc7 redo pullup:
1013.   [bug]           It was possible to cancel a query twice when marking
                        a server as bogus or by having a blackhole acl.
                        [RT #1776]
2001-09-21 20:40:06 +00:00
Andreas Gustafsson
7e470ba93b oops, previous commit included other stuff in addition to the
intended pullup; reverting it
2001-09-21 20:37:09 +00:00
Andreas Gustafsson
f0f9aa979b pullup:
1013.   [bug]           It was possible to cancel a query twice when marking
                        a server as bogus or by having a blackhole acl.
                        [RT #1776]
2001-09-21 18:50:46 +00:00
Mark Andrews
8296690f17 DNS_EVENT_QUERYABORTED is no longer gemerated. 2001-09-21 14:00:06 +00:00
Mark Andrews
595a14576e 1013. [bug] It was possible to cancel a query twice when marking
a server as bogus or by having a blackhole acl.
                        [RT #1776]
2001-09-21 13:31:55 +00:00
Brian Wellington
8f674b13e8 dns_time*_fromtext should take "const char *"s, not "char *"s. 2001-09-21 00:11:30 +00:00
Andreas Gustafsson
1299e93989 1011. [cleanup] Removed isc_dir_current(). 2001-09-20 21:21:53 +00:00
Andreas Gustafsson
d6baaf3649 added INSISTs to help diagnose RT #1775 2001-09-20 16:48:20 +00:00
Mark Andrews
c2bc56dc65 Move configuration checking to libbind9. 2001-09-20 15:17:07 +00:00
Mark Andrews
ae5df22719 iadd missing const 2001-09-20 06:50:34 +00:00
Mark Andrews
ad8e6236a4 add missing const to declaration. 2001-09-20 06:50:08 +00:00
Brian Wellington
a25169ea43 pullup:
1006.   [bug]           If a KEY RR was found missing during DNSSEC validation,
			an assertion failure could subsequently be triggered
			in the resolver. [RT #1763]
2001-09-19 21:51:42 +00:00
Andreas Gustafsson
01446841be 1006. [bug] If a KEY RR was found missing during DNSSEC validation,
an assertion failure could subsequently be triggered
                        in the resolver. [RT #1763]
2001-09-19 21:25:46 +00:00
Mark Andrews
5e8c385e64 pullup:
1004.  [port]          Deal with recvfrom() returning EHOSTDOWN. [RT #1770]
2001-09-19 02:37:21 +00:00
Brian Wellington
21825a8d00 Sync up the dnssec key algorithms listed in include/dns/keyvalues.h and
rdata.c.
2001-09-19 00:14:48 +00:00
Andreas Gustafsson
1de63e34f1 1004. [port] Deal with recvfrom() returning EHOSTDOWN. [RT #1770] 2001-09-18 22:54:02 +00:00
Andreas Gustafsson
9b009c9f5a reverted previous change since it doesn't compile after make clean 2001-09-18 18:43:16 +00:00
Mark Andrews
2bb3d8bdfe Make casting easier in symbolic debuggers by using different names
for the 64 bit version.
2001-09-18 14:30:10 +00:00
Andreas Gustafsson
94c8b1aa0f pullup:
doio_recv was not catching a ECONNRESET error. Fixed this and added code to catch other possible errors. Miscellaneous errno handling cleanup [RT #1745]
2001-09-17 22:28:57 +00:00
Andreas Gustafsson
67298a4b2f "data" is plural 2001-09-17 20:24:13 +00:00
Mark Andrews
36a91ab163 Don't send notifies to mapped addresses. 2001-09-17 14:04:32 +00:00
Mark Andrews
8138bb315d The hash of IPv6 isc_sockaddr_t containing mapped IPv4 addresses should be
the same as the hash of the corresponding IPv4 isc_sockaddr_t.
2001-09-17 06:58:18 +00:00
Mark Andrews
f0261e88a8 check view/zone classes. 2001-09-17 02:48:58 +00:00
Danny Mayer
8423b244ec doio_recv was not catching a ECONNRESET error. Fixed this and added code to catch other possible errors. Miscellaneous errno handling cleanup [RT #1745] 2001-09-16 06:19:22 +00:00
Mark Andrews
e6f17474cb 1000. [func] Accept "HESIOD" as a alias for class "HS". 2001-09-16 05:27:04 +00:00
Mark Andrews
5fe1a246cf replace common code in dns_journal_commit by calling index_to_disk().
remove redundant call to index_to_disk() from dns_journal_compact().
2001-09-15 07:16:39 +00:00
Andreas Gustafsson
b2eeaf6500 pull up part of 997.:
ISC_R_SUCCESS could be returned on failure
2001-09-15 00:37:18 +00:00
Brian Wellington
4fb42a8382 unused #defines 2001-09-15 00:27:26 +00:00
Brian Wellington
36e37042c6 997. [func] Add support for RSA-SHA1 keys. 2001-09-15 00:01:58 +00:00
Andreas Gustafsson
4a20a92f4f replaced 994. with alternative fix:
994.   [func]          Treat non-authoritative responses to queries for type
                        NS as referrals even if the NS records are in the
                        answer section, because BIND 8 servers incorrectly
                        send them that way.  This is necessary for DNSSEC
                        validation of the NS records of a secure zone to
                        succeed when the parent is a BIND 8 server. [RT #1706]
2001-09-14 21:04:35 +00:00
Andreas Gustafsson
34aa790937 reverted 994. 2001-09-14 20:53:33 +00:00
Mark Andrews
56d69016f4 994. [bug] If the unsecure proof fails for unsigned NS records
attempt a secure proof using the NS records found as
                        glue to find the NS records from the zone's servers
                        along with associated glue rather than from parent
                        servers.  [RT #1706]
2001-09-13 07:23:39 +00:00
Andreas Gustafsson
5de2109e1c pullup:
A message could be leaked when a segment of an incoming zone transfer
failed to verify.
2001-09-12 20:44:04 +00:00
Brian Wellington
ee3555e8c0 A message could be leaked when a segment of an incoming zone transfer
failed to verify.
2001-09-12 20:39:36 +00:00
Andreas Gustafsson
db3822841c failures in dns_db_diff() could cause the server to leak
memory
2001-09-12 18:45:02 +00:00
Andreas Gustafsson
115019ee2c replay the journal on the initial load only,
as it is not needed on subsequent loads and will fail
if the zone is a newly edited zone with ixfr-on-differences
enabled
2001-09-12 18:44:54 +00:00
Mark Andrews
da4535c4b4 991. [func] Lower UDP refresh timeout messages to DEBUG(1). 2001-09-12 03:46:32 +00:00
Andreas Gustafsson
1015c4cdea pullup:
989.   [bug]           Report filename if $INCLUDE fails for file related
                        errors. [RT #1736]
2001-09-11 23:32:55 +00:00
Mark Andrews
9de04a5713 LOGIT -> LOGITFILE 2001-09-11 05:09:41 +00:00
Mark Andrews
1592bf7349 989. [bug] Report filename if $INCLUDE fails for file related
errors.  [RT #1736]
2001-09-11 04:56:06 +00:00
Andreas Gustafsson
976dd45973 pullup:
compare: a REQUIRE() was comparing a variable against itself not agaist the
other arguement as it should have been.
2001-09-11 01:09:07 +00:00
Mark Andrews
f3352b9bec compare: a REQUIRE() was comparing a variable against itself not agaist the
other arguement as it should have been.
2001-09-10 23:47:26 +00:00
Andreas Gustafsson
8cccaeaee1 New named.conf option "ixfr-from-differences" [RT #1727] 2001-09-08 00:21:49 +00:00
Mark Andrews
e0806ab5ed Correct comment saying that 'max_size' is ignored. 2001-09-07 00:51:51 +00:00
Mark Andrews
ae35d154ce pullup:
host-statistics is not implemented,
maintain-ixfr-base is obsolete [RT #1717]
2001-09-06 23:06:43 +00:00
Andreas Gustafsson
50a8312c9f #define ISC_MEM_TRACKLINES 1 2001-09-06 23:03:17 +00:00
Andreas Gustafsson
f8dbd659d0 When ISC_MEM_TRACKLINES=1, don't calle {add,delete}_trace_entry()
for every alloc/free if neither ISC_MEM_DEBUGTRACE nor
ISC_MEM_DEBUGRECORD is turned on.  This removes my
last objection to setting ISC_MEM_TRACKLINES=1 by default.
2001-09-06 23:03:01 +00:00
Andreas Gustafsson
6d858e75d4 more documentation; indentation 2001-09-06 22:13:47 +00:00
Andreas Gustafsson
fe5146716e host-statistics is not implemented,
maintain-ixfr-base is obsolete [RT #1717]
2001-09-06 21:52:46 +00:00
Andreas Gustafsson
18159f6f60 document what ISC_MEM_DEBUG does; clarify descriptions of other
memory debugging options
2001-09-06 18:23:35 +00:00
Andreas Gustafsson
eb70ba210b spacing 2001-09-06 01:06:24 +00:00
Mark Andrews
2958e100b5 check return value of strftime() 2001-09-06 00:34:06 +00:00
Mark Andrews
aa6e560fbd 980. [bug] Incoming zone transfers restarting after an error
could trigger an assertion failure. [RT #1692]
2001-09-06 00:23:19 +00:00
Andreas Gustafsson
3f538ef15c pullup:
[RT #1709]
Change isc_entropy_usebestsource() to have saner semantics:
 - If an invalid file is specified, an error will be returned instead of the
   keyboard being used.
 - If no file is specified but a random device is present, the keyboard will
   be used if there is an error opening the random device.
 - ISC_ENTROPY_KEYBOARDYES indicates that the keyboard should be the
   only device used.  Otherwise, passing '-r keyboard' is meaningless
   on a machine with a random device, since the keyboard will not be used.

Change the callers in the dnssec tools and rndc-confgen to check for the
special file "keyboard" and call isc_entropy_usebestsource() with the right set
of parameters.
2001-09-06 00:14:18 +00:00
Andreas Gustafsson
847169dab2 980. [bug] Incoming zone transfers restarting after an error
could trigger an assertion failure. [RT #1692]
2001-09-05 23:02:28 +00:00
Brian Wellington
ed29aefe31 [RT #1709]
Change isc_entropy_usebestsource() to have saner semantics:
 - If an invalid file is specified, an error will be returned instead of the
   keyboard being used.
 - If no file is specified but a random device is present, the keyboard will
   be used if there is an error opening the random device.
 - ISC_ENTROPY_KEYBOARDYES indicates that the keyboard should be the
   only device used.  Otherwise, passing '-r keyboard' is meaningless
   on a machine with a random device, since the keyboard will not be used.

Change the callers in the dnssec tools and rndc-confgen to check for the
special file "keyboard" and call isc_entropy_usebestsource() with the right set
of parameters.
2001-09-05 22:32:09 +00:00
Brian Wellington
aba9f3dd7e remove an invalid close paren 2001-09-05 21:05:36 +00:00
Andreas Gustafsson
f58f6043ce pullup:
Assertion failure when ISC_MEM_DEBUGRECORD set.
2001-09-05 17:51:13 +00:00
Andreas Gustafsson
f17bffa68d pullup:
isc_time_formattimestamp() created static const for bad time string
2001-09-05 17:32:05 +00:00
Andreas Gustafsson
b1436346a0 pullup:
isc_file_getmodtime() does not need write access to file
2001-09-05 17:29:25 +00:00
Andreas Gustafsson
26f327f1f5 const correctness 2001-09-05 17:22:55 +00:00
Andreas Gustafsson
ff6e834f7d check return value of strftime() 2001-09-05 17:05:47 +00:00
Andreas Gustafsson
fdd3a3e7fa pullup:
needs #include <isc/print.h>
2001-09-05 17:04:43 +00:00
Andreas Gustafsson
33f87146a8 needs #include <isc/print.h> 2001-09-05 17:03:42 +00:00
Andreas Gustafsson
e282509475 80 columns 2001-09-05 16:55:05 +00:00
Mark Andrews
e6e233e73f remove extranous debugging 2001-09-05 15:01:52 +00:00
Mark Andrews
ec495a6ade Call dns_master_dumpinc() for "regular" dumps. 2001-09-05 14:13:29 +00:00
Mark Andrews
ed03e26c44 Add dns_dumpctx_db() and dns_dumpctx_version(). 2001-09-05 10:28:55 +00:00
Mark Andrews
7f006841fc Assertion failure when ISC_MEM_DEBUGRECORD set. 2001-09-05 06:26:07 +00:00
Mark Andrews
1d32e01f17 testing wrong variable 2001-09-05 06:04:58 +00:00
Danny Mayer
e78a28ffb5 isc_time_formattimestamp() created static const for bad time string 2001-09-05 04:18:15 +00:00
Danny Mayer
fdacf913e1 isc_file_getmodtime() does not need write access to file 2001-09-05 04:17:13 +00:00
Andreas Gustafsson
7ee450d5f6 pullup:
972.   [bug]           The file modification time code in zone.c was using the
                        wrong epoch.  [RT #1667]
(This pullup includes not only the changes to zone.c, but all the
recent epoch-related fixes)
2001-09-05 00:38:13 +00:00
Andreas Gustafsson
641e33bdd4 pullup:
978.   [bug]           dns_db_attachversion() had an invalid REQUIRE()
                        condition.
2001-09-04 23:09:33 +00:00
Andreas Gustafsson
faedfb6dce pullup:
Previous update was missing the release version of telling how to build the
resource file [RT #1668]
2001-09-04 22:54:59 +00:00
Andreas Gustafsson
89227c76be pullup:
977.   [bug]           Improve "not at top of zone" error message.
2001-09-04 22:51:41 +00:00
Andreas Gustafsson
e5094285ce pullup:
Update to change path to resolv.conf and define RESOLV_CONF
2001-09-04 19:36:33 +00:00
Andreas Gustafsson
2c141ce0fb pullup:
975.   [bug]           "max-cache-size default;" as a view option
                        caused an assertion failure.

 974.   [bug]           "max-cahe-size unlimited;" as a global option
                        was not accepted.
2001-09-04 19:15:36 +00:00
Mark Andrews
c6b5faa001 remove extraneous UNUSED(). 2001-09-04 14:27:42 +00:00
Mark Andrews
9aba20edee 979. [func] Incremental master file dumping. dns_master_dumpinc(),
dns_master_dumptostreaminc(), dns_dumpctx_attach(),
                        dns_dumpctx_detach() and dns_dumpctx_cancel().
2001-09-04 14:18:31 +00:00
Mark Andrews
e8d86192fc 978. [bug] dns_db_attachversion() had an invalid REQUIRE()
condition.
2001-09-04 12:17:13 +00:00
Danny Mayer
aa7638fce5 Fix some signed/unsigned mismatches when comparing offsets 2001-09-04 04:14:31 +00:00
Danny Mayer
6f2e507e7e Added support for isc__strerror, moving the message code handling from errno2result.c to strerror.c. updated routines to use it and updated makes to include additional files 2001-09-04 03:22:23 +00:00
Danny Mayer
7c7b389ae0 Added isc_file_truncate routine 2001-09-04 03:10:33 +00:00
Danny Mayer
dcc35bf6a4 Previous update was missing the release version of telling how to build the resource file [RT #1668] 2001-09-04 03:05:55 +00:00
Mark Andrews
bae5d9fcb4 977. [bug] Improve "not at top of zone" error message. 2001-09-04 00:35:19 +00:00
Mark Andrews
a9c2c07c96 zone_settimer() nolonger needs to calculate the interval between two times.
[RT #1691]
2001-09-03 01:21:19 +00:00
Danny Mayer
a22a4084dd Update to change path to resolv.conf and define RESOLV_CONF 2001-09-01 05:22:04 +00:00
Andreas Gustafsson
847ed3fccf new configuration data type cfg_type_sizenodefault,
which can be a size or the string 'unlimited' but not the string
'default'.  This is used for max-cache-size and max-journal-size,
and obsoletes the special check for 'default' in check.c.
2001-09-01 01:41:40 +00:00
Andreas Gustafsson
0c5233171f allow setting a default max-journal-size in the options or view 2001-09-01 01:24:29 +00:00
Andreas Gustafsson
cb8fd52bbe call the new option for setting the maximum journal
size 'max-journal-size', not 'journal-size', in the tradition of the
historical option 'max-ixfr-log-size'
2001-09-01 01:13:41 +00:00
Andreas Gustafsson
355cc22e32 The epoch is once again zero in Win32;
removed win32 implementations of isc_time_set(), isc_time_seconds() and
isc_time_secondsastimet() as they are no longer needed
2001-09-01 00:55:27 +00:00
Andreas Gustafsson
43f117d5f0 typo in comment 2001-09-01 00:46:04 +00:00
Andreas Gustafsson
b3034d815c isc_time_formattimestamp() declaration should go before ISC_LANG_ENDDECLS, not after 2001-09-01 00:18:43 +00:00
Andreas Gustafsson
bdec94477c isc_file_getmodtime() should call GetFileTime(), not file_stats(),
so that the time returned is a native win32 FILETIME
2001-09-01 00:05:38 +00:00
Andreas Gustafsson
528baec07b removed C++ comments; comment and indentation style 2001-08-31 23:57:05 +00:00
Andreas Gustafsson
ff8cd3afa7 implemented isc_time_formattimestamp() for Win32.
I have no way of testing this.
2001-08-31 22:31:18 +00:00
Andreas Gustafsson
6184f9fc1e REQUIRE(len > 0) 2001-08-31 21:58:49 +00:00
Andreas Gustafsson
c8563aaf86 added isc_time_formattimestamp() (Unix only so far);
call it from log.c [RT #1687]
2001-08-31 21:51:27 +00:00
Andreas Gustafsson
0674850fcb in dns_zone_notifyreceive(), the variable 'now' was
set but never used
2001-08-31 19:27:22 +00:00
Andreas Gustafsson
130904d648 in zone_settimer(), it seems cleaner to check whether
the variable 'next' is set to the epoch (which is used as a sentinel value
meaning 'not set') before comparing it to another time value rather than
after, since the other comparison is meaningless when 'next' is the epoch
2001-08-31 19:25:51 +00:00
Andreas Gustafsson
9113f8b75c pullup: string formats 2001-08-31 18:01:22 +00:00
Mark Andrews
4b87939256 strerror() -> isc__strerror() [RT #1689] 2001-08-31 05:57:58 +00:00
Mark Andrews
6db92bd107 string formats 2001-08-31 04:47:59 +00:00
Mark Andrews
ac9d955cdd pullup:
The request object would fail to send its completion event when
the control event was delivered if a response was received between
sending and delivery of the completion event [RT #1676]
Fix locking hierarchy violation [RT #1672]
2001-08-31 02:07:11 +00:00
Mark Andrews
cfa3ab7f89 Timers now use isc_time_t rather than isc_stdtime_t.
zone->expiretime now has a consistant epoch [RT #1686]
2001-08-31 02:01:56 +00:00
Andreas Gustafsson
39125379e5 made mkstemp() static 2001-08-30 21:16:41 +00:00
Andreas Gustafsson
faa96aba6d removed empty line 2001-08-30 20:55:37 +00:00
Andreas Gustafsson
c2df80e759 lower case 2001-08-30 20:40:27 +00:00
Andreas Gustafsson
6aa1a89bf1 pullup:
RT #1675 resolv.conf was specified to be in an invalid directory.
Location was changed to be in the same etc directory as all of the other
configuration files
2001-08-30 20:29:53 +00:00
Andreas Gustafsson
9ec3c7b42d mem.c did not compile when ISC_MEM_TRACKLINES was not defined 2001-08-30 20:23:44 +00:00
Mark Andrews
6668eca26b 972. [bug] The file modification time code in zone.c was using the
wrong epoch.  [RT #1667]
2001-08-30 06:48:43 +00:00
Mark Andrews
06a960c681 971. [func] 'try-edns' can be use to disable edns on all queries. 2001-08-30 05:52:18 +00:00
Mark Andrews
90989375ca Improve time taken to free memory when ISC_MEM_DEBUGRECORD is set. 2001-08-30 05:40:04 +00:00
Mark Andrews
bd3091eb7d compact journals on succesful dumps to the zone file. 2001-08-30 05:24:44 +00:00
Mark Andrews
cc0a5f7142 journal-size can now be set from named.conf 2001-08-30 05:23:00 +00:00
Mark Andrews
fa59c08f71 abort transfer if SOA response is not authoritative. 2001-08-30 05:12:39 +00:00
Mark Andrews
2c64908ae0 DNS_R_NOTAUTHORITATIVE 2001-08-30 05:10:55 +00:00
Mark Andrews
53e3724e23 dns_journal_compact() 2001-08-30 05:04:18 +00:00
Mark Andrews
59251c9e9c isc_file_truncate() 2001-08-30 04:55:36 +00:00
Mark Andrews
91579a2424 add isc_strerror to build 2001-08-30 04:49:36 +00:00
cvs2git
92e662f530 This commit was manufactured by cvs2git to create branch 'v9_3'. 2001-08-30 04:33:22 +00:00
cvs2git
02da396800 This commit was manufactured by cvs2git to create branch 'v9_2'. 2001-08-30 04:33:21 +00:00
Mark Andrews
c654449ccf isc__strerror 2001-08-30 04:33:20 +00:00
Danny Mayer
b602bf9e8b RT #1667. File modification dates were wrong due to the isc_time_set routine not adding back the epoch to give the absolute Windows time and isc_file_settime not correctly making the right calls to modify the file date 2001-08-30 04:31:31 +00:00
Danny Mayer
e2a35f7524 RT #1675 resolv.conf was specified to be in an invalid directory. Location was changed to be in the same etc directory as all of the other configuration files 2001-08-30 04:28:24 +00:00
Andreas Gustafsson
8068ceb2a9 The request object would fail to send its completion event
when the control event was delivered if a response was received between sending and delivery
of the completion event [RT #1676]
2001-08-29 23:52:28 +00:00
Andreas Gustafsson
9cb39bbe40 fix locking hierarchy violation [RT #1672] 2001-08-29 21:15:56 +00:00
Mark Andrews
7231717254 Ensure that the files contents have been synced to disk prior to renaming. 2001-08-29 05:52:49 +00:00
Danny Mayer
06b47b13db Bug #1671 isc_time_now was erroneously calling strtime() 2001-08-29 05:13:42 +00:00
Danny Mayer
9559bf89b1 Bug #1668 resource file was missing in link 2001-08-29 05:08:58 +00:00
Mark Andrews
28fc90e6c8 #857 was incomplete, ISC_MAGIC was not being used everwhere it should have been.
'magic' was not being declared consistantly.
some #include <isc/magic.h> were missing from other include files.
NS_SERVER_VALID was not using ISC_MAGIC_VALID.
2001-08-28 03:58:29 +00:00
Andreas Gustafsson
9c067741f1 don't #define DNS_STATS_NCOUNTERS in two different places [RT #1666] 2001-08-27 21:47:00 +00:00
Andreas Gustafsson
fba21fcab9 regenerated 2001-08-27 18:53:29 +00:00
Andreas Gustafsson
b495fd2992 each AC_MSG_CHECKING should be balanced with an
AC_MSG_RESULT
2001-08-27 18:52:59 +00:00
Andreas Gustafsson
c7eb99970e consistently use single quotes around varying text
in log messages
2001-08-27 17:21:56 +00:00
Andreas Gustafsson
135c1c53b8 don't INSIST() that calling dns_db_find() on the root hints
only binds the rdataset when returning ISC_R_SUCCESS, because that's not the case -
for example, if the root hints are '. 300 IN CNAME .', DNS_R_CNAME is returned and
the rdataset is bound
2001-08-27 17:20:10 +00:00
Mark Andrews
89555ff443 965. [bug] Using non root hints caused a rbtdb node reference
leak.    [RT #1581, RT #1618]
2001-08-27 06:10:17 +00:00
Mark Andrews
440906ce59 INSIST that the rdataset is unassociated. 2001-08-27 03:58:44 +00:00
Mark Andrews
73ac1894ea 964. [func] Warn if non root hints data is found in hints file. 2001-08-27 03:36:00 +00:00
Mark Andrews
330b421487 963. [bug] bad ISC_LANG_ENDDECLS. [RT #1645] 2001-08-20 23:56:25 +00:00
Mark Andrews
9b30c8e8f0 regen 2001-08-20 07:47:05 +00:00
Mark Andrews
e22dca2a9a 962. [bug] libbind: bad "#undef", don't attempt to install
non-existant nlist.h.  [RT #1640]
2001-08-20 07:44:53 +00:00
Mark Andrews
d7728fcf85 add nlist.h 2001-08-20 07:29:47 +00:00
Mark Andrews
2c0b26955e 961. [bug] Tried to use a IPV6 feature when ISC_PLATFORM_HAVEIPV6
was not defined.  [RT #1482]
2001-08-16 07:27:48 +00:00
Mark Andrews
2449f41e75 960. [port] liblwres failed to build on systems with support for
getrrsetbyname() in the OS.  [RT #1592]
2001-08-16 06:39:33 +00:00
Mark Andrews
6f7660093e 959. [port] freebsd: ncpus via sysctlbyname(). [RT #1584] 2001-08-16 06:19:58 +00:00
Mark Andrews
8ff4edd14e silence format warning: remove unused arg. 2001-08-12 00:12:14 +00:00
Mark Andrews
a28db387fc full copyrights 2001-08-09 06:15:34 +00:00
Mark Andrews
2861ab6188 regen 2001-08-09 06:09:30 +00:00
Mark Andrews
8e6813696a support running configure in a directory other than the source directory 2001-08-09 05:59:58 +00:00
Danny Mayer
51ac5c28de Changed win32 code to remove references to named.key 2001-08-09 02:55:41 +00:00
Andreas Gustafsson
76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Andreas Gustafsson
b21320abb5 brace style 2001-08-08 20:52:34 +00:00
Danny Mayer
66352c0a05 Added support for key for win32 2001-08-06 05:34:26 +00:00
Mark Andrews
907ec2c618 952. [bug] The server required manual intervention to serve the
affected zones if it died between creating a journal
                        and committing the first change to it.
2001-08-06 02:10:59 +00:00
Andreas Gustafsson
66ff5b7d78 cut-and-paste-o 2001-08-03 23:19:01 +00:00
Andreas Gustafsson
7dac8d231c the server would catch an assertion failure if the key statement in rndc.key
was missing the algorithm or secret clause
2001-08-03 17:24:11 +00:00
Mark Andrews
326bcfa0e2 rndc.key support 2001-08-03 05:56:22 +00:00
Andreas Gustafsson
5c213fcd1d mark rrset-order as unimplemented [RT #1561] 2001-08-02 23:36:23 +00:00
Danny Mayer
a59a1d313a Updated .mak files to remove dependancies 2001-08-02 07:05:43 +00:00
Andreas Gustafsson
23a020bc13 950. [bug] Explicit TTLs did not properly override
due to a bug in change 834. [RT #1558]
2001-08-01 17:58:45 +00:00
Andreas Gustafsson
ab54086529 print detailed description of grammar of socket addresses instead
of obscure names like 'v6addrportwild'; misc cleanup
2001-07-31 20:07:48 +00:00
Mark Andrews
43e2ec89d8 redundate #include 2001-07-31 03:45:04 +00:00
Andreas Gustafsson
9f5a862a90 lwres.h should be installed, and net.h should not 2001-07-31 01:32:45 +00:00
Mark Andrews
c38b92000c 947. [bug] dns_rdata_soa_t had a badly name element "mname" which
was really the RNAME field from RFC1035.  To avoid
                        confusion and silent errors that would occur it ther
                        "origin" and "mname" elements were given their correct
                        names "mname" and "rname" respectively, the "mname"
                        element is renamed to "contact".
2001-07-30 01:09:14 +00:00
Danny Mayer
b59115de5f Updated config information 2001-07-28 02:50:39 +00:00
Andreas Gustafsson
321fd0ceb4 in named-checkconf, pass in the complete path of named.conf
as NAMED_CONFFILE instead of constructing it by compile-time concatenation of NS_SYSCONFDIR
and /named.conf, to facilitate win32 support
2001-07-27 17:45:29 +00:00
Danny Mayer
0794ffffee Added paths info 2001-07-27 05:17:39 +00:00
Danny Mayer
075a7534a8 Added path information - retry 2001-07-27 05:16:55 +00:00
Danny Mayer
61e561c2ca Added path information 2001-07-27 05:15:27 +00:00
Andreas Gustafsson
90e289c59f A6 has an RFC now 2001-07-26 21:34:02 +00:00
Andreas Gustafsson
657a6a6f3c some unimplemented options were not marked as such in the grammar summary output 2001-07-26 21:27:51 +00:00
Brian Wellington
26a5f97dd8 Don't refer to keys as "TSIG keys", since they might be used for rndc only,
and this could be confusing.
2001-07-26 20:54:35 +00:00
Brian Wellington
ee3ab6063d 945. [func] Add the new view-specific options
"match-destinations" and "match-recursive-only".
2001-07-26 20:42:46 +00:00
Andreas Gustafsson
e5b18854e3 define RNDC_AUTOCONFFILE on win32 so that the code again
compiles on win32 and behaves like it did before.
2001-07-26 20:40:01 +00:00
Andreas Gustafsson
38f0e0520c tabified 2001-07-26 20:31:48 +00:00
Andreas Gustafsson
dcfaeabc63 renamed RNDC_SYSCONFPATH to RNDC_CONFFILE; there's
nothing specifically SYS about it
2001-07-26 20:06:22 +00:00
Danny Mayer
922a15c7c0 Changes to support win32 2001-07-26 03:15:16 +00:00
Brian Wellington
d81622b537 944. [func] Check for expired signatures on load. 2001-07-24 18:49:06 +00:00
Danny Mayer
b61c97cebd Changed initialize to include void. This keeps the VC++ compiler from complaining about the isc_once_do code arguments 2001-07-24 05:23:38 +00:00
Andreas Gustafsson
831bbce008 commented trust levels 2001-07-23 17:55:37 +00:00
Andreas Gustafsson
2fa436a15c 80 columns 2001-07-23 16:58:18 +00:00
Mark Andrews
90228beed3 regen 2001-07-23 07:03:10 +00:00
Mark Andrews
af898946e4 osf 4.0 support 2001-07-23 07:02:48 +00:00
Mark Andrews
3ef9b0c10f regen 2001-07-23 05:22:22 +00:00
Mark Andrews
a1a421899e BSDI 4.2 support [RT #1529] 2001-07-23 05:21:56 +00:00
Danny Mayer
dfca19a1aa Added LIBISCCFG_EXTERNAL_DATA macros to 3 declarations 2001-07-23 05:00:44 +00:00
Danny Mayer
1bf250400e Make file for bindevt 2001-07-23 03:04:32 +00:00
Danny Mayer
2b9debd520 syslog for win32 2001-07-23 03:03:22 +00:00
Danny Mayer
10266aa76f Conditionalize declaration of LIBLWRES_EXTERNAL_DATA 2001-07-23 03:01:56 +00:00
Mark Andrews
06596f0ec7 wrog prototype for getnetbyaddr_r under glibc 2001-07-23 00:48:51 +00:00
Andreas Gustafsson
33654a83db const correctness [RT #1011] 2001-07-23 00:23:30 +00:00
Mark Andrews
75b3a86c57 regen 2001-07-23 00:05:04 +00:00
Mark Andrews
ab35bf14bd osf getnetent_r changes 2001-07-23 00:04:28 +00:00
Danny Mayer
72dc0b0824 Added make file 2001-07-22 06:30:18 +00:00
Danny Mayer
1186577d90 Updated scripts and added make file 2001-07-22 06:28:49 +00:00
Danny Mayer
e056d87076 Updated scripts 2001-07-22 06:26:47 +00:00
Danny Mayer
138fc7eeba Created makefile 2001-07-22 06:25:34 +00:00
Danny Mayer
22a0a2c432 Fixed variable declarations 2001-07-22 06:22:28 +00:00
Danny Mayer
71542eaf04 Added make file and updated scripts 2001-07-22 06:21:05 +00:00
Mark Andrews
4bec81d388 regen 2001-07-20 11:06:19 +00:00
Mark Andrews
2da0b7dfbd 942. [port] libbind: GETNETBYADDR_ADDR_T was not correctly
defined on some platforms.
2001-07-20 11:06:05 +00:00
Andreas Gustafsson
7faa8f35e5 coding style 2001-07-19 17:13:54 +00:00
Andreas Gustafsson
001d1ceec6 coding style 2001-07-19 16:59:32 +00:00
Brian Wellington
1cb6e8cbe4 941. [bug] The configuration checker crashed if a slave
zone didn't contain a masters statement. [RT #1514]
2001-07-19 16:29:14 +00:00
Danny Mayer
3316814025 Added support for win32 2001-07-19 06:11:31 +00:00
Mark Andrews
2033e30585 940. [bug] Double zone locking failure on error path. [RT #1510] 2001-07-19 05:08:03 +00:00
Mark Andrews
3489d64bde "or equals" rather than "not equals" 2001-07-19 04:57:46 +00:00
Danny Mayer
7181165333 Add support for win32 2001-07-19 02:50:12 +00:00
Andreas Gustafsson
7ecaf69507 need <lwres/platform.h> 2001-07-18 20:14:52 +00:00
Andreas Gustafsson
3abbed44db coding style 2001-07-18 18:29:59 +00:00
Mark Andrews
aac5a28f1f LIBISCCFG_EXTERNAL_DATA should be in lwres/platform.h 2001-07-18 08:15:23 +00:00
Mark Andrews
964a14ad23 regen 2001-07-18 05:50:18 +00:00
Mark Andrews
f24920422d we don't need to know about rlim_t 2001-07-18 05:49:13 +00:00
Mark Andrews
9c1a4265ad regen 2001-07-18 05:42:07 +00:00
Mark Andrews
51bb20b0d7 report the results of "checking for socket length type..." 2001-07-18 05:40:52 +00:00
Mark Andrews
29493eee3d paths.h 2001-07-18 05:13:27 +00:00
Danny Mayer
5236050c0f Add support for win32 2001-07-18 02:37:15 +00:00
Andreas Gustafsson
d2a7d7e26c all failures opening /dev/random were reported as
'I/O error'.  This was highly confusing.
2001-07-18 01:31:13 +00:00
Brian Wellington
8b8812c41d regen 2001-07-17 22:29:27 +00:00
Brian Wellington
5aaf43590f lib/bind doesn't actually use linux/capability.h or sys/prctl.h 2001-07-17 22:29:16 +00:00
Andreas Gustafsson
07dcadc6e2 update_copyrights 2001-07-17 20:29:36 +00:00
Andreas Gustafsson
4954945531 coding style 2001-07-17 19:17:02 +00:00
Mark Andrews
15903c9f3a memory allocation failure would cause INSIST(ctx->stats[i].gets == 0) failure.
use consistant arguement name for MEMRECORD
2001-07-17 10:02:46 +00:00
Danny Mayer
fd0ec4bfad Initial win32 Release 2001-07-17 06:13:59 +00:00
Danny Mayer
c84e68d720 Initial win32 Release 2001-07-17 06:10:24 +00:00
Mark Andrews
0176adc7c5 937. [bug] A race when shutting down a zone could trigger a
INSIST() failure. [RT #1034]
2001-07-17 02:49:44 +00:00
Andreas Gustafsson
ba35e9924e added isc_file_ischdiridempotent() 2001-07-16 18:33:02 +00:00
Andreas Gustafsson
a548a3c20c added unix implementation of isc_file_absolutepath() 2001-07-16 17:26:44 +00:00
Andreas Gustafsson
dee69dd3aa renamed isc_file_getabsolutepath() to isc_file_absolutepath()
to be more consistent with established naming conventions
2001-07-16 17:22:17 +00:00
Andreas Gustafsson
5827c8e0a6 80 columns 2001-07-16 17:15:08 +00:00
Andreas Gustafsson
83018d6cf9 removed spurious empty line inserted in previous commit 2001-07-16 17:14:38 +00:00
Mark Andrews
ac1f768061 regen 2001-07-16 14:43:49 +00:00
Mark Andrews
47dfc702de glibc getserv*_r() 2001-07-16 14:43:40 +00:00
Brian Wellington
cabaeca9ae missing assertion checks 2001-07-16 09:48:05 +00:00
Mark Andrews
e88c4a4917 regen 2001-07-16 08:38:06 +00:00
Mark Andrews
101e6adfe0 glibc getproto*_r() 2001-07-16 08:37:45 +00:00
Mark Andrews
fd61f111a8 regen 2001-07-16 08:05:43 +00:00
Mark Andrews
16b5ecc6f3 glibc getnet*_r() 2001-07-16 08:05:20 +00:00
Danny Mayer
1336066b63 Added support for Win32 2001-07-16 05:48:16 +00:00
Mark Andrews
acee1ae35c glibc prototypes 2001-07-16 05:23:28 +00:00
Mark Andrews
7c7c717788 HOST_R_SETANSWER 2001-07-16 05:17:13 +00:00
Mark Andrews
8c8d889d10 glibc prototypes for gethost*_r(). 2001-07-16 05:16:33 +00:00
Danny Mayer
f621719829 Added support for Win32 2001-07-16 05:10:30 +00:00
Mark Andrews
5deaff6621 regen 2001-07-16 05:02:58 +00:00
Mark Andrews
3024819c2e int -> size_t 2001-07-16 05:01:27 +00:00
Mark Andrews
692d2a9c7e regen 2001-07-16 04:55:31 +00:00
Mark Andrews
4ccd54f3af in 2001-07-16 04:54:23 +00:00
Mark Andrews
42f476472a regen 2001-07-16 04:24:38 +00:00
Mark Andrews
6cf48dea49 glibc's gethost*_r() is different to anyone elses. 2001-07-16 04:23:00 +00:00
Andreas Gustafsson
9115330256 coding style 2001-07-16 04:09:45 +00:00
Danny Mayer
3bd4083e48 Updates to support win32 2001-07-16 03:52:14 +00:00
Mark Andrews
f73c8fffee pullup from BIND 8:
1242.   [bug]           inet_pton() failed to reject octal input.
2001-07-16 03:31:45 +00:00
Mark Andrews
bddfe77128 936. [func] Warn when non dotted decimal quad's are used.
[RT #1084]

 935.   [bug]           inet_pton failed to reject leading zeros.
2001-07-16 03:06:53 +00:00
Mark Andrews
bd12be6e88 spelling 2001-07-15 23:29:48 +00:00
Andreas Gustafsson
aa0dc8d920 934. [port] Deal with systems where accept() spuriously returns
ECONNRESET.
2001-07-15 22:50:24 +00:00
Mark Andrews
9ec26a1862 regen 2001-07-15 22:23:13 +00:00
Mark Andrews
159b83ff18 unixware [RT #1496] 2001-07-15 22:20:43 +00:00
Mark Andrews
5c2551db52 regen 2001-07-14 23:16:50 +00:00
Mark Andrews
47d48791fc 933. [bug] configure failed doing libbind on platforms not
supported by BIND 8.  [RT #1496]
2001-07-14 23:14:09 +00:00
Brian Wellington
b9be76ed89 lwres.h wasn't installed [RT #1494] 2001-07-14 18:41:33 +00:00
Andreas Gustafsson
86a733bc74 use ISC_PLATFORM_RLIMITTYPE unconditionally, eliminating
the need for the HAVE_RLIM_T macro
2001-07-14 01:55:08 +00:00
Mark Andrews
0792e396ea regen 2001-07-13 02:46:21 +00:00
Mark Andrews
5e68d98eff add libtool support to libbind [RT #1491] 2001-07-13 02:38:28 +00:00
Danny Mayer
c4958494a9 Updates to support LIBISC_EXTERNAL_DATA and misc. cleanup 2001-07-12 05:58:28 +00:00
Mark Andrews
c70896e026 namespace collision [RT #1399] 2001-07-12 03:51:14 +00:00
Mark Andrews
39ebcd5955 #927
check for DUMPNEEDED in dns_zone_flush.
check for zone->masterfile != NULL in zone_dump().
2001-07-11 23:15:14 +00:00
Andreas Gustafsson
dc9b928cf6 net.h has moved 2001-07-11 21:42:25 +00:00
Brian Wellington
b6d7e96688 LOCK_ZONE/UNLOCK_ZONE, not LOCK/UNLOCK 2001-07-11 19:12:53 +00:00
Brian Wellington
529017a705 The testing framework didn't handle T_UNTESTED at all. It also sucks. 2001-07-11 18:51:22 +00:00
David Lawrence
37aa910318 ISC_PLATFORM_USEDECLSPEC hook for Microsoft DLL declaration junk 2001-07-11 05:32:55 +00:00
Mark Andrews
e9596e1fb3 927. [bug] Don't hold the zone lock for the entire dump to disk.
[RT #1423]
2001-07-11 05:20:26 +00:00
Danny Mayer
ad38e19578 Fix isabsolute for absolute path names 2001-07-11 04:32:15 +00:00
Bob Halley
c54210716e avoid deadlock with the ADB when shutting down [RT #1324] 2001-07-11 01:19:56 +00:00
Brian Wellington
9a43e47721 ordering 2001-07-10 23:38:44 +00:00
Brian Wellington
3fcf6b956f 925. [cleanup] Remove openssl from the distribution; require that
--with-openssl be specified if DNSSEC is needed.
2001-07-10 21:40:10 +00:00
Brian Wellington
6614bac268 oops, don't return an isc_boolean_t as an isc_result_t. 2001-07-10 21:27:59 +00:00
Andreas Gustafsson
1858039a0e spacing 2001-07-10 21:13:07 +00:00
Andreas Gustafsson
3d4d93c35b misplaced cast could cause EDNS extended RCODE bits to be lost [RT #1483] 2001-07-10 20:09:24 +00:00
Andreas Gustafsson
55a96dbea0 need sys/time.h on some platforms 2001-07-10 19:54:01 +00:00
Brian Wellington
5939aa7265 wording 2001-07-10 19:08:28 +00:00
Brian Wellington
3b31ce9da9 functions can now return DST_R_NOCRYPTO 2001-07-10 19:05:53 +00:00
Andreas Gustafsson
34729dbcb3 split lwres/net.h into separate Unix and Win32 version to facilitate
porting; rely on that header for networking definitions rather than redundantly
including OS-dependent headers from the various lwres .c files
2001-07-10 18:26:12 +00:00
Andreas Gustafsson
5d97773191 rewrote isc_file_isabsolute() 2001-07-10 17:31:05 +00:00
Danny Mayer
14597c218d Fix memory leak [RT 1478] 2001-07-10 06:27:44 +00:00
Danny Mayer
bb48ac4f81 array bounds error in isc_file_isabsolute and REQUIRE != NULL fixes [RT 1470] 2001-07-10 06:24:15 +00:00
Brian Wellington
28e2058c5f macro style 2001-07-10 05:12:43 +00:00
Brian Wellington
9622173ccb only create a memory pool if OPENSSL is defined. 2001-07-10 05:00:42 +00:00
Brian Wellington
4f0187f10c DST_R_NOCRYPTO 2001-07-10 04:34:36 +00:00
Brian Wellington
bb5de15290 REQUIRE that parameters are not NULL in many functions [RT #1470] 2001-07-10 04:23:01 +00:00
Brian Wellington
024550401d #if defined(OPENSSL) ==> #ifdef OPENSSL
remove unused #include <openssl/rand.h>
2001-07-10 04:01:19 +00:00
Andreas Gustafsson
a8f94d29b3 compile the version number into the isccfg and isccc libraries,
like we do with all other libraries
2001-07-09 22:25:29 +00:00
Andreas Gustafsson
38fed7505d do multiple inclusion protection in all header files, and using the established ISC style 2001-07-09 21:34:44 +00:00
Andreas Gustafsson
ec4f2e859f 80 columns 2001-07-09 21:27:45 +00:00
Andreas Gustafsson
e76d4c91bf coding style 2001-07-09 21:06:30 +00:00
Mark Andrews
9d99e3fda1 924. [port] Extend pre-RFC2133 support. [RT #987] 2001-07-09 08:07:41 +00:00
Mark Andrews
de18d9daa6 regen 2001-07-09 07:35:03 +00:00
Mark Andrews
752b0c0fa7 install as ${prefix}/bind/*. [RT #1472] 2001-07-09 07:33:11 +00:00
Danny Mayer
36d26b9d26 add export for isc_ntfile_printf 2001-07-08 07:22:42 +00:00
Danny Mayer
11045ab3d1 code style cleanup 2001-07-08 05:16:13 +00:00
Danny Mayer
68c2ccc953 code style cleanup 2001-07-08 05:09:35 +00:00
Brian Wellington
0a2d5c9905 924. [port] Apply #910 to lib/lwres. [RT #987] 2001-07-07 00:03:26 +00:00
Andreas Gustafsson
f2ee3341c7 spacing 2001-07-06 22:53:48 +00:00
Andreas Gustafsson
886db6ade3 make install failed in lib/bind/include due to lack of a mkinstalldirs script
in lib/bind
2001-07-06 22:23:42 +00:00
Andreas Gustafsson
305795c093 finish app.h move 2001-07-06 22:12:21 +00:00
Andreas Gustafsson
1e71bc82b8 coding style 2001-07-06 21:57:22 +00:00
Andreas Gustafsson
718d6eadd4 spacing 2001-07-06 21:47:15 +00:00
Andreas Gustafsson
96ed624253 923. [bug] Multiline TSIG secrets (and other multiline strings)
were not accepted in named.conf. [RT #1469]
2001-07-06 20:34:12 +00:00
Andreas Gustafsson
ad493ef9dd spacing 2001-07-06 20:15:08 +00:00
Andreas Gustafsson
675a191f43 moved <isc/app.h> to OS-independent include directory 2001-07-06 19:50:05 +00:00
Andreas Gustafsson
8e3366bd7c simplified 2001-07-06 19:40:33 +00:00
Andreas Gustafsson
19b34f979c removed initializations of nonexistent variables at Danny's request 2001-07-06 17:35:04 +00:00
Mark Andrews
221a206115 IN6_IS_ADDR_V4COMPAT and IN6_IS_ADDR_V4MAPPED are also broken in glibc 2.1 2001-07-06 07:25:51 +00:00
Mark Andrews
f5af89cdee IN6_ARE_ADDR_EQUAL and IN6_IS_ADDR_UNSPECIFIED are broken in glibc 2.1 2001-07-06 06:13:19 +00:00
Danny Mayer
2c50ab702f stat routines 2001-07-06 06:00:17 +00:00
Danny Mayer
7fb411cfd1 plaform specific header 2001-07-06 05:59:09 +00:00
Danny Mayer
b02635aa75 offset header 2001-07-06 05:58:00 +00:00
Danny Mayer
1ee7ce8fbd win32-specific runtime path header 2001-07-06 05:57:19 +00:00
Danny Mayer
b22d62aa69 ntfile FILE replacement headers 2001-07-06 05:56:25 +00:00
Danny Mayer
bcf5804255 win32 keyboard routines 2001-07-06 05:51:45 +00:00
Danny Mayer
a0f854291f IPv6 on Win32 header 2001-07-06 05:50:42 +00:00
Danny Mayer
12d08bf91e win32-specific integer definitions 2001-07-06 05:49:22 +00:00
Danny Mayer
c15033634e Initial win32 release 2001-07-06 05:48:27 +00:00
Danny Mayer
83a373fc81 BIND Event information header 2001-07-06 05:46:37 +00:00
Danny Mayer
f950ce9932 BIND registry header information 2001-07-06 05:45:21 +00:00
Danny Mayer
c5e84ff0e4 app headers 2001-07-06 05:44:32 +00:00
Danny Mayer
f210fb51ef Version information for libisc module 2001-07-06 05:43:17 +00:00
Danny Mayer
d4cfec8537 I/O header definitions 2001-07-06 05:42:24 +00:00
Danny Mayer
39a1539c7a Header file for win32 emulation of syslog use the event log 2001-07-06 05:40:41 +00:00
Danny Mayer
f3f064ba86 win32 emulation of syslog use the event log 2001-07-06 05:39:57 +00:00
Danny Mayer
9ecea05b89 stdio routines 2001-07-06 05:38:47 +00:00
Danny Mayer
fd61d0cab1 Initial release of socket code 2001-07-06 05:37:46 +00:00
Danny Mayer
ca5c761cde Resources Available 2001-07-06 05:37:10 +00:00
Danny Mayer
1c456bcdb4 O/S specific code 2001-07-06 05:36:13 +00:00
Danny Mayer
72c0894efa functions to determine locations of configuration files at runttime 2001-07-06 05:35:09 +00:00
Danny Mayer
e397736476 win32 overrides of FILE function to centralize I/O stream and avoid problems with iob array 2001-07-06 05:34:06 +00:00
Danny Mayer
48b785fe6b win32 version of netdb.h headers 2001-07-06 05:32:44 +00:00
Danny Mayer
602f0b8e48 net routines 2001-07-06 05:30:51 +00:00
Danny Mayer
e1bdeeadb3 libisc workspace file 2001-07-06 05:29:58 +00:00
Danny Mayer
fc72de271b libisc project file 2001-07-06 05:29:24 +00:00
Danny Mayer
1d7574a6de Export link File 2001-07-06 05:28:32 +00:00
Danny Mayer
0b38e0a117 Keyboard Routines 2001-07-06 05:27:37 +00:00
Danny Mayer
e2d579a021 ipv6 variables initialization 2001-07-06 05:26:58 +00:00
Danny Mayer
3d8c1213d9 Interface Iteration routines 2001-07-06 05:25:20 +00:00
Danny Mayer
fc4bae7e83 header file for error routines 2001-07-06 05:24:22 +00:00
Danny Mayer
9fe3c2060d error routines 2001-07-06 05:23:58 +00:00
Danny Mayer
a38e51e5ef Fixed duplicate routines 2001-07-06 05:22:46 +00:00
Danny Mayer
6f5d6e3f8c isc_app_* routines 2001-07-06 05:21:44 +00:00
Danny Mayer
1e36937976 Entry point routine for libisc 2001-07-06 05:20:33 +00:00
Danny Mayer
e35c1bb3ec Initial win32 Release 2001-07-06 05:08:39 +00:00
Danny Mayer
2773eae702 Fix variable declarations and remove initializations 2001-07-06 02:57:40 +00:00
Danny Mayer
4da4fef481 Fix printf's to use fprintf(stdout... to be consistent and set data initializations in main since they are runtime addresses 2001-07-06 02:56:47 +00:00
Brian Wellington
ed95ebaa42 remove references to vms_idhacks.h, since VMS doesn't seem to need it.
[RT #1432]
2001-07-05 19:06:07 +00:00
Brian Wellington
b6d5ee2fb2 ignore lib/bind/timestamp and lib/bind/port/*/include/Makefile 2001-07-05 18:50:39 +00:00
Mark Andrews
c8366d92f7 add port_before.h/port_after.h 2001-07-05 06:18:43 +00:00
Mark Andrews
3b8c76cb25 regen 2001-07-05 06:13:15 +00:00
Mark Andrews
9565793aed pullup BIND 8.
1239.   [bug]           call res_ndestroy() in net_data_destroy().
2001-07-04 08:10:23 +00:00
Mark Andrews
e598df739d Add getnetgrent_r.c prototype 2001-07-04 05:32:42 +00:00
Mark Andrews
93373a8c3c silence broken IN6ADDR_{ANY,LOOPBACK}_INIT macros 2001-07-04 05:18:12 +00:00
Mark Andrews
60d17e54ea singed/unsigned 2001-07-04 04:51:05 +00:00
Mark Andrews
567fb9c5e7 silence __sputaux 2001-07-04 03:48:43 +00:00
Brian Wellington
64b92523f9 check for getc_unlocked() 2001-07-04 00:34:44 +00:00
Andreas Gustafsson
37c961df41 extra space in error message string 2001-07-03 17:12:19 +00:00
Mark Andrews
2ef189c6d7 missed one 2001-07-03 13:44:53 +00:00
Mark Andrews
7cbf7d6613 nsprom() was unused. 2001-07-03 08:11:51 +00:00
Mark Andrews
5a20525ef3 unreachable statement 2001-07-03 07:53:36 +00:00
Mark Andrews
b8c618c852 remove unreachable code.
move&correct error statement.
2001-07-03 07:43:02 +00:00
Mark Andrews
7fff9e8cea unused variable 2001-07-03 06:55:04 +00:00
Mark Andrews
2b959a1fad regen 2001-07-03 06:52:15 +00:00
Mark Andrews
7050586959 silence aix (+others) compiler warnings re accept, getsockname, getpeername,
recvfrom etc.
2001-07-03 06:49:55 +00:00
Mark Andrews
265c5051d7 cp was being assign from the wrong pointer 2001-07-03 06:47:32 +00:00
Mark Andrews
b0a599b02e regen 2001-07-03 03:56:47 +00:00
Mark Andrews
a1703aa367 ISC_SOCKADDR_LEN_T 2001-07-03 03:55:42 +00:00
Andreas Gustafsson
00380255bd regenerated 2001-07-02 21:29:16 +00:00
Andreas Gustafsson
47ad4fad77 922. [func] Added two new lwres_getrrsetbyname() result codes,
ERR_NONAME and ERR_NODATA.
2001-07-02 21:28:56 +00:00
Brian Wellington
5733d25b06 921. [bug] lwres returned an incorrect error code if it received
a truncated message.

 920.	[func]		Increase the lwres receive buffer size to 16K.
			[RT #1451]
2001-07-02 20:46:31 +00:00
Andreas Gustafsson
5f62432db2 removed extraneous empty line 2001-07-02 20:44:30 +00:00
Andreas Gustafsson
2b8e5a5254 errors were logged as warnings and vice versa 2001-07-02 17:48:27 +00:00
Andreas Gustafsson
207c7c1ea3 added ISC_FORMAT_PRINTF checks 2001-07-02 17:05:46 +00:00
Mark Andrews
1f90214bb4 pullup from BIND 8:
1236.   [bug]           ignore white space after address of nameserver.
2001-07-02 02:33:45 +00:00
Mark Andrews
8eca454f9f regen 2001-07-02 02:03:54 +00:00
Mark Andrews
9e80f632c8 pullup BIND 8:
Solaris 2.4 (and earlier) USE_FIONBIO_IOCTL support.
2001-07-02 02:02:27 +00:00
Mark Andrews
d4e535315d pullup from BIND 8:
1237.   [bug]           buffer overrun, access mode read.
2001-07-02 00:44:50 +00:00
Danny Mayer
cddd0ddf07 rdclass and rdtype size misdeclaration 2001-06-30 04:13:50 +00:00
Andreas Gustafsson
97e1692460 New function cfg_print_grammar(), which generates a human-readable
summary of the grammar for a given configuration type from its syntax
tables.  Running bin/tests/cfg_test --grammar --named will print a
named.conf grammar summary, and bin/tests/cfg_test --grammar --rndc
will print the rndc.conf grammar summary.
2001-06-29 18:36:13 +00:00
Mark Andrews
545be70a4d regen 2001-06-29 15:26:15 +00:00
Mark Andrews
b0b4e03da5 "make install" should now work. 2001-06-29 15:25:25 +00:00
Andreas Gustafsson
7d8c3693d0 914. [bug] Gobal 'server' statements were rejected when
using views, even though they were accepted
                        in 9.1. [RT #1368]
2001-06-28 21:58:54 +00:00
Andreas Gustafsson
389677e152 removed empty line 2001-06-28 21:34:54 +00:00
Andreas Gustafsson
dcc7ea9717 spacing 2001-06-28 21:34:39 +00:00
Andreas Gustafsson
60dcbecf04 Instead of choosing between memcpy and memmove at run time, call
memmove unconditionally since any reasonable implementation of
memmove will perform such a choice internally, and also doing it
in the caller duplicates the effort.
2001-06-28 21:34:11 +00:00
Andreas Gustafsson
b1a7fea53c brace style 2001-06-28 21:21:39 +00:00
Brian Wellington
ff8335f908 regen 2001-06-28 17:45:05 +00:00
Brian Wellington
ea562e4401 Properly set _GNU_SOURCE on linux 2001-06-28 17:44:53 +00:00
Brian Wellington
cab94c1516 'make distclean' should remove files created by configure. 2001-06-28 17:35:49 +00:00
Mark Andrews
dee489d6c1 incremental_cleaning_action() is now re-called as a result of normal event
processing, not as the result of timer action.
2001-06-28 13:51:40 +00:00
Danny Mayer
f47c41b5fe htons expects an unsigned short for the argument 2001-06-28 06:02:18 +00:00
Mark Andrews
1e34f21f4c regen 2001-06-28 04:29:07 +00:00
Mark Andrews
93810b1ace add aix 2001-06-28 04:27:56 +00:00
Mark Andrews
73620f726a regen 2001-06-28 02:58:27 +00:00
Mark Andrews
c3a5709c2b autoconf swallowed the [ ] in case statement 2001-06-28 02:57:23 +00:00
Mark Andrews
c18d42b96b use MEM_RECORD rather than debugging > 1 2001-06-28 01:57:34 +00:00
Mark Andrews
594a685c8d Add ISC_MEM_DEBUGGING to set default compile time flags.
Remember ISC_MEM_DEBUGRECORD state when isc_mem_create() is called as
it is dangerous to change this afterwards.
2001-06-28 01:51:20 +00:00
Mark Andrews
950d71eee3 allow maximum inuse memory to be tracked. 2001-06-27 23:29:29 +00:00
David Lawrence
6817b32d2c Revert "incremental cleaning should actually clean" because it already did.
dns_dbiterator_setcleanmode(cleaner->iterator, ISC_TRUE) causes
dns_dbiterator_current() to do node expiry.
2001-06-27 20:18:03 +00:00
Mark Andrews
ba94ff2e56 incremental cleaning should actually clean.
end_cleaning wants busy not idle
2001-06-27 14:48:21 +00:00
Mark Andrews
c86b6051b6 hp cleanup 2001-06-27 12:29:41 +00:00
Danny Mayer
53bc020d74 modified to use isc_file_rename instead of rename 2001-06-27 04:37:11 +00:00
Danny Mayer
11c7a43642 type needed to be defined as dns_rdatatype_t instead of int in rdataset_totext() 2001-06-27 04:30:37 +00:00
Brian Wellington
f215881bb0 removed unnecessary const [RT #1440] 2001-06-27 04:21:18 +00:00
Mark Andrews
b6f0efbf3e aix namespace collision ERR -> EV_ERRR 2001-06-27 03:55:48 +00:00
Mark Andrews
98b2d12313 rejen 2001-06-25 13:27:29 +00:00
Mark Andrews
51cb4eba54 aix & hp 2001-06-25 13:22:33 +00:00
Mark Andrews
2bc98b7d91 910. [port] Some pre-RFC2133 IPv6 do not define IN6ADDR_ANY_INIT. 2001-06-25 03:56:58 +00:00
Mark Andrews
9432c5ee8b pullup:
64 bit alignment is only required on 64 bit machines
2001-06-25 00:30:46 +00:00
Mark Andrews
768d8c0ceb _SOCKADDR_LEN 2001-06-23 04:02:24 +00:00
Mark Andrews
14c32141f7 regen 2001-06-23 03:45:35 +00:00
Mark Andrews
008616624a extra commas 2001-06-23 03:44:11 +00:00
Mark Andrews
0cbda00d11 regen 2001-06-23 02:17:13 +00:00
Mark Andrews
bf92294d2a osf sethostent_r 2001-06-23 02:16:13 +00:00
Mark Andrews
a4786a3117 uint#_t 2001-06-23 02:11:08 +00:00
Mark Andrews
5f229adf3a regen 2001-06-23 02:03:26 +00:00
Mark Andrews
8264cdf2f1 add port/decunix 2001-06-23 02:02:01 +00:00
Mark Andrews
3d112f226f regen 2001-06-23 01:50:27 +00:00
Mark Andrews
cd7564646e OSF 5.0 setpwent_r() support 2001-06-23 01:49:21 +00:00
David Lawrence
9bfa90768a 907. [func] The ability to get entropy from either the
random device, a user-provided file or from
			the keyboard was migrated from the DNSSEC tools
			to libisc as isc_entropy_usebestsource().
2001-06-22 17:05:54 +00:00
Mark Andrews
de8e172e44 regen 2001-06-22 05:11:52 +00:00
Mark Andrews
7ae2ccb5d1 linux netbsd 2001-06-22 05:11:05 +00:00
David Lawrence
2d67c24744 906. [port] Separated the system independent portion of
lib/isc/unix/entropy.c into lib/isc/entropy.c
			and added lib/isc/win32/entropy.c.
2001-06-21 14:19:20 +00:00
Mark Andrews
2ef3e44fc8 regen 2001-06-21 09:04:21 +00:00
Mark Andrews
45a0264e76 alternate getnetgrent_r signature 2001-06-21 09:03:16 +00:00
Mark Andrews
e481f1dd57 distclean -> config.cache 2001-06-21 08:53:15 +00:00
Mark Andrews
c288005389 add IN6ADDR_LOOPBACK_INIT 2001-06-21 08:51:21 +00:00
Mark Andrews
e2935ef152 clean/distclean to remove libbind.a 2001-06-21 08:50:34 +00:00
Mark Andrews
527302c4fe BIND 8.3.0-T1A sync 2001-06-21 08:26:27 +00:00
Mark Andrews
74f16d58a3 regen 2001-06-21 08:04:16 +00:00
Mark Andrews
800764304d spelling of HAVE_SOCKADDR_STORAGE 2001-06-21 08:03:21 +00:00
Mark Andrews
85bdc128fc Relax REQUIRES() in *fromstruct() and unconditionally call
mem_maybedup() in *tostruct().
TXT is one or more (not zero or more) strings.
2001-06-21 04:00:47 +00:00
Andreas Gustafsson
77efdc854b spacing; typo 2001-06-21 01:30:22 +00:00
Andreas Gustafsson
08a44b06ef the length of the NULL record RDATA can be zero;
do not assert the contrary
2001-06-20 17:43:31 +00:00
Andreas Gustafsson
ac299c4f5c Removed statements to the effect that certain functions
perform assertion checks.  Such statements are inappropriate as they
document the implementation rather than the public interface.  The
functions are not required to perform assertion checks, but the caller
is required to pass arguments that conform to the API requirements.
2001-06-18 22:56:35 +00:00
Andreas Gustafsson
d748172fd7 added one end tag too many 2001-06-18 22:11:59 +00:00
Andreas Gustafsson
86b0285d7e missing end tags; other cleanup 2001-06-18 22:07:02 +00:00
Andreas Gustafsson
474a81662f missing end tags; other cleanup 2001-06-18 17:56:54 +00:00
Andreas Gustafsson
19872fdfb7 convert more socket errors to specific ISC error codes, notably ECONNRESET 2001-06-15 22:07:51 +00:00
Brian Wellington
2196128fc2 When doing best-effort parsing (in dig, for example) on a message with multiple
questions where an unrecoverable error is seen after 2 or more questions have
been parsed, memory would be leaked from msg->namepool, and would trigger an
ENSURE() in dns_message_destroy().
2001-06-15 05:24:24 +00:00
Brian Wellington
0a9a3d8c6d 904. [bug] The server would leak memory if attempting to use
an expired TSIG key. [RT #1406]
2001-06-15 02:24:02 +00:00
Andreas Gustafsson
d1ecee17a5 remove the other blank line before .TH, too 2001-06-14 19:10:14 +00:00
Andreas Gustafsson
23ac0d8259 comments for dns_message_parse() referred to
nonexistent arguments
2001-06-14 18:38:48 +00:00
Mark Andrews
9a6573e16b sys/select.h not sys/socket.h 2001-06-12 01:35:42 +00:00
Andreas Gustafsson
509ef0c871 Keep track of the number of times the system malloc() has
failed, to help determine whether a server crash resulted
from a bug in the handling of an out-of-memory condition
or not.
2001-06-11 20:27:16 +00:00
Andreas Gustafsson
8de7014e56 removed CVS Id from machine-generated man page files -- it is no longer needed
now that they are ignored by update_copyrights
2001-06-11 19:02:45 +00:00
Andreas Gustafsson
c44072c299 uninitialized pointer could potentially (but not likely)
be passed to free_adbfind(); if it happened, it would look like RT #1393
(caught by bwelling)
2001-06-11 04:26:41 +00:00
David Lawrence
eda73d8aad redo 1.64 "potential null pointer dereference" more consistent with the style
of the function and file (i.e., not returning from the middle of a function)
2001-06-10 17:06:45 +00:00
David Lawrence
95e8c0f8f5 removed blank line before .TH 2001-06-10 13:58:29 +00:00
David Lawrence
2b403f22d4 Removed an obsolete XXXMLG comment, with the assent of Michael Graff. 2001-06-08 23:53:41 +00:00
David Lawrence
04260c5c48 895. [func] New function, isc_dir_current(), akin to POSIX's
getcwd().
2001-06-08 23:50:32 +00:00
Brian Wellington
ba9e9a88c8 The last change didn't compile due to faulty cut&paste. 2001-06-08 22:48:28 +00:00
David Lawrence
504f7802d4 893. [func] Removed isc_file_test() and added isc_file_exists()
for the basic functionality that was being added
			with isc_file_test().
2001-06-08 21:53:49 +00:00
Brian Wellington
3b6bcedffe 891. [bug] Return an error when a SIG(0) signed response to
an unsigned query is seen.  This should actually
			do the verification, but it's not currently
			possible. [RT #1391]
2001-06-08 19:37:29 +00:00
Andreas Gustafsson
841179549b 889. [port] Eliminated blank lines before .TH in nroff man
pages since they cause problems with some versions
                        of nroff. [RT #1390]
2001-06-08 19:33:02 +00:00
Brian Wellington
01535cfb3a removed erroneous UNUSED macro 2001-06-08 19:16:15 +00:00
Brian Wellington
9af6e1c548 Don't die when trying to delete a nonexistent key [RT #1392] 2001-06-08 18:29:31 +00:00
Mark Andrews
4585aeb2cc 866. [func] Close debug only file channels when debug is set to
zero. [RT #1246]
2001-06-08 02:57:13 +00:00
Andreas Gustafsson
56877490bc 865. [bug] The new configuration parser did not allow
the optional debug level in a "severity debug"
                        clause of a logging channel to be omitted.
                        This is now allowed and treated as "severity
                        debug 1;" like it did in BIND 8.2.4, not as
                        "severity debug 0;" like it did in BIND 9.1.
                        [RT #1367]
2001-06-08 01:03:00 +00:00
Andreas Gustafsson
11c8a04f9b grammar 2001-06-07 20:11:30 +00:00
Andreas Gustafsson
d358eea93e megabytes is abbreviated MB, not mb 2001-06-07 18:31:54 +00:00
Mark Andrews
c69d61c69b realloc -> malloc 2001-06-07 02:14:52 +00:00
Andreas Gustafsson
8b9fa5b005 redid RT #1353 fix in 1.53 so that it does not free
file names while they are still referenced from the parse tree
2001-06-07 01:58:49 +00:00
Brian Wellington
90c845947a #include <time.h> 2001-06-07 00:45:35 +00:00
Mark Andrews
6cefb60af5 pullup from BIND 8
862.   [bug]           Use after realloc(), non portable pointer arithmetic in
                        grmerge().
2001-06-07 00:22:35 +00:00
Brian Wellington
224e84bc0e misc. stuff related to [RT #1293] 2001-06-07 00:21:53 +00:00
Brian Wellington
571688b02f Revert part of the ISC_MAGIC/ISC_MAGIC_VALID change. Because
common.impmagic is not the first four bytes of the struct,
ISC_MAGIC_VALID() cannot be used.
2001-06-06 22:03:58 +00:00
Brian Wellington
338d559b3e remove extraneous blank line 2001-06-06 21:02:43 +00:00
Mark Andrews
cd8c92da37 pullup from BIND8:
DE_CONST bind(arg 2)
2001-06-06 01:56:32 +00:00
Mark Andrews
99a8d30559 860. [func] Drop cross class glue in zone transfers. 2001-06-05 23:43:15 +00:00
David Lawrence
f991461dc1 The most notable change is that incremental_cleaning_action() will now
wait at least six seconds between each pass of the tree.  This keeps
the CPU from being bogged down in a persistent overlimit condition, and
because it uses timers also lets the cache cleaner know right away when
the server is being shut down, so it can stop trying to clean.

Also fixed an unlocked access to cache->live_tasks in dns_cache_detach().

Also fixed a problem with repeated calls to dns_cache_setcachesize() setting
the database as not overmem, even though it might have still been in
the process of cleaning from a previous limit.  Just set the new
isc_mem_setwater() limits instead and let the mem.c call water() if cleaning
needs to be either started or stopped because of the new limits.

Minor code cleanups.
2001-06-05 22:27:51 +00:00
David Lawrence
65640f401a Removed the requirement for isc_mem_setwater() that when the callback function
is not null then hi_water must exceed lo_water and both must be > 0.
Now requires hi_water >= lo_water, and they can both be 0.  Not allowing
them to be equal was just an unnecessary restriction, and letting them be 0
is useful for the case where the context has had non-zero values set, went
over hi_water and called the callback, and then wanted to remove limits
(perhaps because of a reconfiguration).  This allows the callback to
be signaled as ISC_MEM_LOWATER on the next isc_mem_put(), which the caller
might need to terminate any outstanding action that was triggered by
the hi_water.
2001-06-05 22:14:20 +00:00
Mark Andrews
92296c744e complete the rollback 2001-06-05 09:23:14 +00:00
Mark Andrews
8af4b7042d rollback individual RR. 2001-06-05 09:17:21 +00:00
Mark Andrews
03f91269f5 856. [func] Allow partial rdatasets to be returned in answer and
authority sections to help non-TCP capable clients
                        recover from truncation.  [RT #1301]
2001-06-05 09:02:16 +00:00
Brian Wellington
7e93abafe6 spelling & style 2001-06-05 06:34:45 +00:00
Brian Wellington
33e49e8fdc #include <isc/magic.h> 2001-06-05 06:34:11 +00:00
Mark Andrews
afb0a628ef 855. [bug] Stop spurious "using RFC 1035 TTL semantics" warnings. 2001-06-05 05:12:47 +00:00
Brian Wellington
17dba29ba5 854. [bug] The config parser didn't properly handle config
options that were specified in units of time other
			than seconds.  [RT #1372]
2001-06-04 21:51:27 +00:00
Brian Wellington
fe61fbe14e ignore Makefiles and autoconf stuff 2001-06-04 21:48:52 +00:00
David Lawrence
163e27991b Revert part of the ISC_MAGIC/ISC_MAGIC_VALID change. Because
common.impmagic is not the first four bytes of the struct,
ISC_MAGIC_VALID() cannot be used.
2001-06-04 20:57:25 +00:00
David Lawrence
92ef1a9b9d use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land 2001-06-04 19:33:39 +00:00
Brian Wellington
deb588e256 typo that caused an assertion failure [RT #1368] 2001-06-03 23:53:50 +00:00
Brian Wellington
c39911afea functions returning void should not return the result of other functions
returning void. [RT #1372]
2001-06-03 19:03:37 +00:00
Mark Andrews
3042b3e271 851. [bug] Handle responses from servers which do not know
about IXFR.
2001-06-01 15:22:56 +00:00
Mark Andrews
989f808405 851. [cleanup] support-ixfr is obsolete, use request-ixfr. 2001-06-01 15:17:19 +00:00
Bob Halley
eba5c23154 undo 1.54, which was an accidental commit 2001-06-01 03:07:54 +00:00
Bob Halley
875542855a update to 9.3.0, now that the 9.2 release branch has been created 2001-06-01 03:05:07 +00:00
Brian Wellington
d0b6ece407 ISC_LANG_BEGINDECLS -> ISC_LANG_ENDDECLS 2001-06-01 01:11:28 +00:00
Brian Wellington
59d5cc31e5 #include <dns/types.h> 2001-06-01 01:09:10 +00:00
Brian Wellington
53aba5065d man pages were not properly installed in separate-object-dir builds 2001-06-01 00:45:04 +00:00
David Lawrence
7fe56f41ec slight optimization for dns_rbt_findnode() when bitstrings are involved:
skip the hashing attempts entirely when not at the root of a level
2001-05-31 22:32:46 +00:00
David Lawrence
68f4a1696f In dns_rbt_findnode() when using hashing, check for a bitstring after
each failure to find the hash_name, not just when the name has multiple labels.
2001-05-31 21:52:22 +00:00
David Lawrence
11c4f6b687 Reversed the sense of my earlier change to hmacmd5 key generation that
required good entropy only when 'param' (to dst_key_generate) was non-zero.
Since the default was always to require good entropy, that default behavior
has been restored and now a non-zero param means that pseudorandom is ok.
2001-05-31 18:34:51 +00:00
David Lawrence
b79e66b06d While searching in dns_rbt_findnode(), cope with the possibility that
a bitstring label might be founding things from any label of a
multilabel search_name.
2001-05-31 11:03:33 +00:00
David Lawrence
64c7a503c2 ensure that INADDR_LOOPBACK is defined 2001-05-31 10:54:51 +00:00
David Lawrence
ed8daea264 enforce a minimum cache size of 2mb 2001-05-31 10:53:42 +00:00
David Lawrence
50b7860fff new function isc_file_test() as framework for determining various attributes
of a pathname
2001-05-31 10:53:14 +00:00
David Lawrence
719f0c0028 A trivial change (added a blank line) so I could add the comment I
*wanted* to add on the last check-in.

The second argument to hmacmd5_generate is no longer unused, it is a flag
to say whether good entropy is needed or not.  This change was approved
by Brian.  The control channel key generator needed it to be able to do
its job all on-the-fly.
2001-05-31 10:49:28 +00:00
David Lawrence
d744418e64 hmac_link.c 2001-05-31 10:47:17 +00:00
David Lawrence
25efbc557e set the permissions on a symmetric keyfile before anything is written to it,
rather than after it is closed
2001-05-31 10:45:32 +00:00
David Lawrence
fe2d25382f don't define INADDR_LOOPBACK; isc/net.h should be ensuring it exists 2001-05-31 10:43:37 +00:00
David Lawrence
4f36774273 include <dns/soa.h> for dns_soa_serial() prototype 2001-05-31 10:38:01 +00:00
Mark Andrews
9dbbd48523 new 2001-05-31 06:13:27 +00:00
Mark Andrews
45d75e9b26 copyrights 2001-05-31 05:54:07 +00:00
Brian Wellington
6d28d54e6f be more tolerant of blank lines 2001-05-31 00:38:07 +00:00
Brian Wellington
1969ab5360 copyright updates 2001-05-30 20:31:08 +00:00
Brian Wellington
a78196366c move variable initialization 2001-05-29 23:07:28 +00:00
Brian Wellington
cbb781f277 uninitialized variable 2001-05-29 22:54:07 +00:00
Brian Wellington
8358be5851 uninitialized variable 2001-05-29 22:44:12 +00:00
Brian Wellington
dd0fdd4426 the array of error messages was incomplete. 2001-05-29 22:40:10 +00:00
Brian Wellington
9547c4a3f8 potential null pointer dereference 2001-05-29 22:35:54 +00:00
Brian Wellington
e2fd12f3a0 841. [bug] When sdb modules were not declared threadsafe, their
create and destroy functions were not serialized.
2001-05-29 18:34:24 +00:00
Mark Andrews
b96a1d9fa3 sync multiple changes from BIND 8. 2001-05-28 08:38:32 +00:00
Mark Andrews
7ca2d9c6ed pullup from BIND 8:
1175.   [bug]           statp->nsort could fail to be re-initialised if
                        resolv.conf goes away.
2001-05-28 06:36:15 +00:00
Mark Andrews
94039cf2c3 pullup from BIND 8:
1172.   [bug]           allow res_{n}update to take a single unlinked element.
2001-05-28 06:25:42 +00:00
Brian Wellington
cf74d05a50 840. [bug] The config file parser could print the wrong file
name if an error was detected after an included file
			was parsed. [RT #1353]
2001-05-28 06:05:24 +00:00
Mark Andrews
3b3a726ae4 pullup from BIND 8:
1215.  [bug]           long UNIX domain control socket names were not being
                       printed in full.
2001-05-25 05:21:25 +00:00
Mark Andrews
ba10e25d1c pullup from BIND 8.
1214.   [bug]           getrgnam()/getgrgid() leaked memory.
2001-05-25 03:32:40 +00:00
Mark Andrews
3dd53ffbd7 remove unnecessary call to res_nsearch() from reverse lookup path. 2001-05-22 22:53:24 +00:00
Mark Andrews
cae062ee07 #include <arpa/nameser.h> for ns_tsig_key 2001-05-22 22:51:31 +00:00
Andreas Gustafsson
508d17362c 834. [func] Accept (but warn about) master files beginning with
an SOA record without an explicit TTL field and
			lacking a $TTL directive, by using the SOA MINTTL
			as a default TTL.  This is for backwards compatibility
			with old versions of BIND 8, which accepted such
			files without warning although they are illegal
			according to RFC1035.
2001-05-22 01:44:37 +00:00
Andreas Gustafsson
e7a4f58d55 833. [cleanup] Moved dns_soa_*() from <dns/journal.h> to
<dns/soa.h>, and extended them to support
			all the integer-valued fields of the SOA RR.
2001-05-21 23:56:34 +00:00
Andreas Gustafsson
ec4df1f908 consistently use lower case in error messages 2001-05-21 22:49:24 +00:00
Brian Wellington
0716b32560 remove unnecessary const 2001-05-21 22:10:23 +00:00
Mark Andrews
1cfecfd34f Bitstring labels are independent of DNAMEs.
Provide a runtime mechanism to set the IPv6 suffixes for reverse lookups.
Provide a runtime mechanism to disable each of the IPv6 reverse lookup
methods.
Provide a mechanism to free memory allocated by res_{n}init().
2001-05-21 14:31:32 +00:00
Mark Andrews
097dc0a693 add sys/types.h for FreeBSD 2.1 2001-05-18 03:02:45 +00:00
Andreas Gustafsson
1242c132a8 removed comment that was no longer correct 2001-05-17 18:14:36 +00:00
Mark Andrews
d972d65d69 add initial support for unix based platforms. 2001-05-17 06:26:01 +00:00
Andreas Gustafsson
d76b6ae2ad isc_print_vsnprintf() could throw an assertion failure when
given a %lld format, causing a deadlock when logging the assertion if invoked
from the logging system.  Since the %qd format does not have the bug, this only
affects platforms where the native quad format is %lld and that lack a native
vsnprintf().  The only known such platform is SunOS 5.5.1. [RT #1312]
2001-05-16 00:52:55 +00:00
Andreas Gustafsson
21a0926b4f the epoch of time() is sytem dependent - use isc_stdtime_get()
instead [RT #1300]
2001-05-15 22:05:35 +00:00
Bob Halley
4e9d4ceadf Take two of new semantics for ANY queries at zone cut points. Now doing
an ANY query at a zone cut point will return a delegation, except if
DNS_DBFIND_GLUEOK is set, in which case DNS_R_ZONECUT will be returned as
before.  Someday it would probably be a good idea to get rid of DNS_R_ZONECUT
entirely and just return DNS_R_GLUE in that case, but I was afraid to do
that now since it might break things.  These changes pass all system tests.
2001-05-15 05:35:27 +00:00
Andreas Gustafsson
0d205b805a backed out changes to handling of DNS_DBFIND_VALIDATEGLUE
option in previous commit - they broke DNS_DBFIND_GLUEOK lookups,
causing several of the system tests to fail
2001-05-15 03:52:31 +00:00
Andreas Gustafsson
740ae0808f when returning a socket error, use isc__errno2result() instead
of always returning ISC_R_UNEXPECTED
2001-05-14 23:58:33 +00:00
Andreas Gustafsson
135b1206c9 don't retry UDP receives after they return an error -
an error return from the socket library means the library has already
decided that the error is not retryable and likely to throw
us into an infinite loop if retried
2001-05-14 23:10:19 +00:00
Andreas Gustafsson
054777a694 eliminated redundant assignments to disp->shutting_down;
if shutting down due to error, set disp->shutdown_why to the appropriate result
code, not to ISC_R_EOF
2001-05-14 22:07:40 +00:00
Brian Wellington
50097b38c0 830. [func] Implement 'rndc status'. 2001-05-14 20:44:16 +00:00
Bob Halley
751aa24c98 only return DNS_R_ZONECUT from secure zones 2001-05-14 19:25:59 +00:00
Brian Wellington
ecf4962155 more of 'rndc status' 2001-05-14 19:06:47 +00:00
Andreas Gustafsson
fd5847ef09 828. [bug] The errno value from recvfrom() could be overwritten
by logging code. [RT #1293]
2001-05-14 18:20:03 +00:00
Mark Andrews
2510f0bd84 axi changes 2001-05-14 07:59:46 +00:00
Mark Andrews
a9aeae8dc0 more #824 fine tuning.
ictx->drop is inherited when a include file is pushed.
NOTE: it is *not* restored when the include file is subsequently popped as
	the current owner is restored to the state it was before the file
	was pushed.
we missed setting source & line after one successful pushfile().
2001-05-14 06:22:40 +00:00
Mark Andrews
378f5abd5f fine tune #824 2001-05-11 02:35:37 +00:00
Brian Wellington
177ede307a minor internal reorganization (yes, this will all become clear at some point) 2001-05-10 19:07:18 +00:00
Andreas Gustafsson
a9ef485446 If IXFR fails, fall back to AXFR 2001-05-10 17:51:49 +00:00
Andreas Gustafsson
344a21e7c7 the return value of ixfr_apply() was not checked 2001-05-10 16:27:14 +00:00
Andreas Gustafsson
17ed6b7945 when subtracting a nonempty rdataset from a nonexistent rdataset
and the DNS_DBSUB_EXACT flag, dns_db_subtractrdataset() should return
DNS_R_NOTEXACT, not DNS_R_UNCHANGED.
2001-05-10 16:26:07 +00:00
Mark Andrews
6ddea57cb4 ais 2001-05-10 07:33:31 +00:00
Mark Andrews
9259ea7e4b aix 2001-05-10 07:29:54 +00:00
Brian Wellington
a62b21afd3 DST_TYPE_PUBLIC|DST_TYPE_PRIVATE 2001-05-10 06:05:54 +00:00
Mark Andrews
4dad906c2f port aix 2001-05-10 05:38:33 +00:00
Mark Andrews
84844522a2 AIX 2001-05-10 05:10:30 +00:00
Mark Andrews
ac7fa9937e sync 2001-05-10 05:10:11 +00:00
Mark Andrews
ba4e2f658e Aix: HOST_R_SET_RESULT HOST_R_SET_RETURN 2001-05-10 05:09:06 +00:00
Brian Wellington
4bd95a4965 fix a cut-and-paste-o and a warning 2001-05-10 04:50:28 +00:00
Mark Andrews
2ddb88d5d4 cync: aix 2001-05-10 04:29:17 +00:00
Mark Andrews
fa358dd30f aix 2001-05-10 04:28:22 +00:00
Mark Andrews
00c6d2626b Add aix 2001-05-10 04:23:15 +00:00
Brian Wellington
8e4da48fa7 consolidated duplicated code for filename mangling, removed sanity checks that
weren't.
2001-05-09 23:04:50 +00:00
Brian Wellington
35582313f7 add dns_zt_zonecount(), which counts the number of zones in a zonetable. 2001-05-09 21:34:19 +00:00
Mark Andrews
f3dd74f1cd ignore in no longer needed in commit. 2001-05-09 07:18:38 +00:00
Bob Halley
42dfa2455d bump version to avoid horrible confusion 2001-05-09 06:12:52 +00:00
Mark Andrews
69d44b2f5a 825. [bug] zone.c:ns_query() detached from the wrong zone
reference.  [RT #1263]
2001-05-09 05:20:28 +00:00
Mark Andrews
f08f3c6cae 824. [bug] Correct line numbers reported by dns_master_load().
[RT #1263].
2001-05-09 03:41:47 +00:00
Andreas Gustafsson
120cf12320 folded lines >80 chars; added comments; removed some unused code 2001-05-09 03:17:02 +00:00
Andreas Gustafsson
c3ebcedbe5 Add isc_file_progname(), with trivial POSIX implementation, and
call it from main().  A separate WIN32 implementation will be needed.
2001-05-08 19:47:55 +00:00
Mark Andrews
dbd6145418 sync 2001-05-08 07:07:11 +00:00
Mark Andrews
dd9b814ace strerror 2001-05-08 07:06:01 +00:00
Mark Andrews
1c81477123 oops2 2001-05-08 06:30:08 +00:00
Mark Andrews
8f7edcb227 more IPv6 macros 2001-05-08 06:25:30 +00:00
Mark Andrews
fcfb81e3c4 oops 2001-05-08 05:18:26 +00:00
Mark Andrews
ff8bc68af4 add various IPv6 macros 2001-05-08 05:15:13 +00:00
Mark Andrews
74186b65a3 add stdio.h 2001-05-08 04:38:28 +00:00
Mark Andrews
cf186bf745 add netbsd 2001-05-08 04:02:54 +00:00
Andreas Gustafsson
9dafd058e3 implemented 'rndc reconfig' 2001-05-07 23:34:24 +00:00
Mark Andrews
25ea25c811 undo part of bind8-823-v6-20010204a.diff 2001-05-07 06:07:44 +00:00
Danny Mayer
94ebc518d0 buffer request needs cast for win32 2001-05-06 02:24:08 +00:00
Danny Mayer
db1bfc3151 htons needs cast for win32 2001-05-06 02:23:06 +00:00
Brian Wellington
d144ea1d1c isc_file_basename should return a (const char *) 2001-05-05 02:47:21 +00:00
David Lawrence
e40cd7f5c9 preserve a reference to the node lock across a call to no_references() in
detachnode
2001-05-05 02:42:38 +00:00
Andreas Gustafsson
bdb60248c3 oops, removed the wrong declaration 2001-05-04 23:57:22 +00:00
Andreas Gustafsson
a08f7f4a6c frombuffer() was declared 'static' but defined
without 'static'
2001-05-04 17:57:33 +00:00
Andreas Gustafsson
2788f21727 don't install the now-nonexistent <dns/namedconf.h> 2001-05-04 17:08:43 +00:00
Brian Wellington
f2194a8ba9 implement isc_file_basename() 2001-05-03 18:59:30 +00:00
Brian Wellington
55ff3f6e65 remove prototypes for nonexistant functions [RT #1240] 2001-05-03 18:40:33 +00:00
Brian Wellington
3f8a9e5196 remove unused byte swapping macros and the associated non-portable includes
[RT #1239]
2001-05-03 18:38:17 +00:00
Brian Wellington
de32cbd34e remove a cut-and-paste-o 2001-05-02 19:25:19 +00:00
Brian Wellington
d2aebe24c4 Allocate the initial buffer for rdata based on the length of the string, to
avoid reallocations and annoying messages.
2001-05-02 18:58:56 +00:00
Andreas Gustafsson
af46049567 removed <dns/namedconf.h>, which pertained to the old
configuration parser
2001-05-02 17:39:51 +00:00
Bob Halley
1a286a6613 In certain cases, the resolver's attempts to restart an address lookup
at the root could cause the fetch to deadlock (with itself) instead of
restarting. [RT #1225]
2001-05-02 17:29:17 +00:00
Brian Wellington
3840dba289 Comment a particularly subtle bit of code. 2001-05-02 00:03:12 +00:00
Brian Wellington
05183bbc4f Signing with a large key didn't work since the static output buffer was too
small; use a dynamic buffer instead.  Also, comment a section
2001-05-02 00:02:28 +00:00
Andreas Gustafsson
570234616c when following A6 chains, glue was inadvertantly ignored 2001-05-01 23:17:48 +00:00
Andreas Gustafsson
784d78b831 commented 2001-04-30 18:27:10 +00:00
Andreas Gustafsson
1dbec28030 removed declarations of nonexistent functions 2001-04-30 18:09:31 +00:00
Tatuya JINMEI 神明達哉
931f35a927 removed one more 'ifdef INET6'. 2001-04-30 18:08:54 +00:00
Tatuya JINMEI 神明達哉
291e6be74f some cleanups and clarifications;
- removed 'ifdef INET6' (libbind's getaddrinfo should always be buildable
   with the INET6 part.)
 - use EAI_NONAME instead of EAI_NODATA (this is an API issue.  I'll raise
   it at the group working on the API).
 - use h_errno instead of __h_errno.
 - clarification on using interface names as link IDs of IPv6 link-local
   addresses.  (not all OSes support this.)
2001-04-30 17:46:58 +00:00
Tatuya JINMEI 神明達哉
520717e82b supported the IPv6 scoped addresses format. 2001-04-30 17:35:17 +00:00
Tatuya JINMEI 神明達哉
4df5fde1a7 - code clenaups (removed redundant macros/blank lines, comment clarifications
etc.)
- use EAI_xxx error code according to draft-ietf-ipngwg-rfc2553bis-03.
  (we may still have to reconsider EAI_NODATA - this is an API issue)
2001-04-30 17:34:02 +00:00
Andreas Gustafsson
1ed0723a1f a pointer argument used to return an "int" value into an "int"
variable is better defined as "int *" than "unsigned int *"
2001-04-28 01:08:07 +00:00
Andreas Gustafsson
9762fd29cc DNAME now has an RFC 2001-04-27 21:02:01 +00:00
Mark Andrews
ecaedd50f4 817. [func] Adjust timeouts for dialup zone queries. 2001-04-27 02:34:18 +00:00
Andreas Gustafsson
5e194abb5b 814. [bug] Socket objects left over from accept() failures
were incorrectly destroyed, causing corruption
                        of socket manager data structures.

 813.   [bug]           File descriptors exceeding FD_SETSIZE were handled
                        badly. [RT #1192]
2001-04-26 23:45:55 +00:00
Andreas Gustafsson
e482a1c91e cache dumps now include trust levels and ncache entries 2001-04-26 21:17:56 +00:00
David Lawrence
2b5f436aeb Make greatest_version() return an isc_result_t, which it should have
been doing all along since there was the possibility isc_dir_open() would
fail and overloading the return value of "0" was bad practice.

If isc_dir_open() fails in greatest_version(), make sure the path separator
is restored to the destination pathname if it was NULified before returning
the error.

The underlying problem of isc_log_open() not having the bad result of
isc_dir_open() reported anywhere will be slightly mediate by a change
to bin/named/logconf.c to test the directory.  lib/isc/log.c can't really
handle it because it has no idea to where such an error should be reported,
and it only shows up during isc_log_open() as part of the isc_log_write()
family of calls, which are all void.
2001-04-25 23:59:44 +00:00
Andreas Gustafsson
cb77fe457a "sending notifies (%u)" -> "sending notifies (serial %u)" 2001-04-24 23:03:04 +00:00
Andreas Gustafsson
0dc1e14537 alphabetized includes 2001-04-24 18:40:07 +00:00
Andreas Gustafsson
92ba2e22ae removed extraneous quotes 2001-04-24 18:13:47 +00:00
Andreas Gustafsson
8eea877894 untabified so that program listings line up properly
in the nroff output
2001-04-24 18:11:27 +00:00
Andreas Gustafsson
09df6c7006 removed unnecessary includes 2001-04-24 17:57:46 +00:00
Bob Halley
38d21a360a only reacquire the lock in no_references() if we actually gave it up 2001-04-24 17:03:54 +00:00
Andreas Gustafsson
6f118c4893 removed redundant 'i++;' 2001-04-24 00:56:17 +00:00
Mark Andrews
dab8e1d00c enable IPv6 resolver support 2001-04-23 02:59:53 +00:00
Mark Andrews
f93659e9a2 IPv6 fixes 2001-04-23 02:59:17 +00:00
Mark Andrews
1e6276aaf8 WANT_IRS_NISGR_OBJ -> WANT_IRS_NISGR_OBJS 2001-04-23 02:57:20 +00:00
David Lawrence
ed1c40264e sigh. do not set the lock from node->locknum until being sure node is not null 2001-04-20 21:22:09 +00:00
David Lawrence
a0e1f68e14 Now that no_references() reacquires the node lock after deleting the node,
all of its callers need to maintain a reference to the lock that doesn't
involve looking at node->locknum after no_references() was called.
2001-04-20 14:35:04 +00:00
Andreas Gustafsson
15254d5865 note that parsers are not reusable 2001-04-19 23:28:17 +00:00
Andreas Gustafsson
cedd0ab1e8 811. [bug] Parantheses were not quoted in zone dumps. [RT #1194] 2001-04-19 18:39:42 +00:00
Brian Wellington
59c85e1636 Return ISC_R_NOSPACE if the buffer isn't large enough to hold the DNS header. 2001-04-19 18:28:35 +00:00
Mark Andrews
f6c845a79b build libbind from .o's 2001-04-18 11:08:28 +00:00
David Lawrence
f6f8d61a77 reacquire the node lock the caller held before returning from no_references() 2001-04-18 08:06:11 +00:00
Andreas Gustafsson
ebea68ec9c regenerated man pages with pdated docbook2man-spec.pl;
now the function prototypes are formatted correctly
2001-04-17 18:01:53 +00:00
Brian Wellington
8c3989000a 810. [bug] The signer name in SIG records was not properly
downcased when signing/verifying records. [RT #1186]
2001-04-17 17:20:27 +00:00
David Lawrence
1bd5b8aac6 use ISC_MAGIC to define magic number 2001-04-17 14:36:45 +00:00
David Lawrence
79ed194592 sigh. always test recompile things even after a minor change. after deciding
to _not_ much with the lock tracing/printing facility for the last change,
i forgot to also add the new result variable back into the stack
declarations, where i had correctly put it the first time.
2001-04-17 13:42:32 +00:00
David Lawrence
8e60ba90e0 unlock the mutex when non-blocking locking is attempted and the lock is busy. 2001-04-17 04:07:38 +00:00
Brian Wellington
ec57fd24fc The isccc headers weren't installed at all. Oops. 2001-04-16 22:50:18 +00:00
Brian Wellington
98e8f87a6d actually list all of the headers. 2001-04-16 22:44:43 +00:00
Brian Wellington
4e56b9615f remove the (now) redundant setting of the magic number. 2001-04-16 21:14:27 +00:00
Brian Wellington
ac6afcd0ca 809. [bug] Configuring a non-local address as a transfer-source
could cause an assertion failure during load.
2001-04-16 18:50:32 +00:00
David Lawrence
900d7d9c9b forgot to actually change the macro call that needed the deconst argument 2001-04-14 00:20:07 +00:00
David Lawrence
ddb8f23a09 a different approach to shutting up compilers about an empty file, one that
does not cause all the compilers to complain about a variable being
defined but not used.
2001-04-13 02:26:32 +00:00
David Lawrence
0109515495 use ISC_TF() to set an isc_boolean_t 2001-04-12 22:58:34 +00:00
David Lawrence
ae6860081f a different fix for the lwres_net_aton problem in lwres_create_addr, that
addresses any alignment issues that might have existed with casting
an unsigned char pointer to a struct pointer.
2001-04-12 22:45:12 +00:00
David Lawrence
79b19f175c added a single static variable declaration to prevent compilers from
complainig about an effectively empty input file.
2001-04-12 22:26:41 +00:00
David Lawrence
de6fe5ebe2 cleared up a const issue with IN6_IS_ADDR_V4MAPPED on some platforms 2001-04-12 21:23:21 +00:00
David Lawrence
ceda09e07a removed stale #define DEBUG that my own comment said I was supposed to remove. 2001-04-12 21:18:14 +00:00
David Lawrence
6f053cd485 use ISC_TF() to set an isc_boolean_t 2001-04-12 21:04:14 +00:00
David Lawrence
4ab0eb3be8 mgr was set but not used in dns_dispatch_detach(); removed it 2001-04-12 21:03:37 +00:00
David Lawrence
947295d886 warning cleanup for HPUX-10.20: trivial unsigned vs sign char pointer issues. 2001-04-12 20:39:04 +00:00
David Lawrence
7944c8c5f7 case unsigned char addrbuf pointer to struct in_addr * when used as second
argument to lwres_net_aton, to quiet compiler warning
2001-04-12 20:23:48 +00:00
David Lawrence
3507ae5d59 #include <time.h> for the utimes() prototype 2001-04-12 19:46:39 +00:00
Mark Andrews
d29ec04e37 checkpoint 2001-04-12 02:32:32 +00:00
Mark Andrews
2f2513df09 checkpoint 2001-04-12 02:14:22 +00:00
Mark Andrews
2fbcc2b863 <sting.h>
bad return from void function
2001-04-12 01:57:35 +00:00
David Lawrence
cace8ff3bd use ISC_MAGIC to define the magic number 2001-04-12 00:37:55 +00:00
David Lawrence
383b800c62 Fixed up iteration problems related to name cleaning. In a nutshell,
the node at the end of a chain always needed to have its reference
count incremented, not only when the iterator was paused.  [RT #1007]
2001-04-11 22:17:38 +00:00
David Lawrence
f3083bc781 In incremental_cleaning_action(), detach the node returned by
dns_dbiterator_current(). [RT #1007]
2001-04-11 22:15:00 +00:00
Brian Wellington
c20ffa38de 808. [func] Add 'rndc flush' to flush the server's cache. 2001-04-11 20:37:50 +00:00
Mark Andrews
e91eeda769 stdio on hpux work around 2001-04-11 08:13:11 +00:00
Mark Andrews
42ca0077ae checkpoint 2001-04-11 04:00:21 +00:00
Mark Andrews
c57c8dd9d3 checkpoint 2001-04-11 03:49:05 +00:00
Mark Andrews
ea5aa5c36c checkpoint 2001-04-11 03:39:01 +00:00
Mark Andrews
53e274dc39 -ld4r 2001-04-11 03:19:55 +00:00
Mark Andrews
328b31fb20 gethostbyname_r 2001-04-11 02:38:24 +00:00
Mark Andrews
8fead63972 checkpoint 2001-04-11 02:30:08 +00:00
Mark Andrews
5ae17a93cd endhostent_r 2001-04-11 02:16:22 +00:00
Mark Andrews
2779002c16 checkpoint 2001-04-11 01:30:12 +00:00
Mark Andrews
6993f1431a remove -Werror 2001-04-11 01:24:49 +00:00
Mark Andrews
3047ad312b remove gcc specific -Werror 2001-04-11 01:23:48 +00:00
Mark Andrews
2b7a77a68e 807. [bug] xfrin was not ignoring the transfer-source port. 2001-04-10 23:54:03 +00:00
Brian Wellington
d4ef65050f copyright updates
(note - this doesn't touch lib/bind at all.  Mark, whenever you're done with
lib/bind, make sure to do the copyright magic)
2001-04-10 21:52:17 +00:00
Andreas Gustafsson
7900390a52 Previous change turned invalid peer address returns from accept()
into hard errors - they should be soft errors
2001-04-10 21:48:27 +00:00
Andreas Gustafsson
a84cfaa3f2 The bug fix in socket.c 1.189 was less than ideal: if a socket
got wedged in a state where accept() always returns EBADF, the server would loop calling
internal_accept() repeatedly.  Implemented an alternative fix where a hard
error in accept() causes an event with a nonzero result code to be sent, and
the new socket object to be freed
2001-04-10 21:38:33 +00:00
Brian Wellington
8865eeaf14 Don't log a generic "sending notifies" message if there are no servers to
be notified.
2001-04-10 19:19:49 +00:00
Mark Andrews
86529bb697 806. [bug] DNS_R_SEENINCLUDE was failing to propogate back up
the calling stack to the zone maintence level.
2001-04-10 03:05:55 +00:00
Andreas Gustafsson
abd51a9a96 removed unused label 2001-04-10 00:18:27 +00:00
Mark Andrews
e22fa3a686 hpux 2001-04-09 09:17:16 +00:00
Mark Andrews
dcab756185 Solaris 2.8 header files are broken for getnetbyaddr(). Both cases
of the #ifdef/#else/#endif are the same.
2001-04-09 06:06:20 +00:00
Mark Andrews
b9614c7d79 checkpoint 2001-04-09 05:02:53 +00:00
Mark Andrews
01de82c03a checkpoint 2001-04-09 04:57:28 +00:00
Mark Andrews
6339db444a getpwent_r 2001-04-09 04:43:16 +00:00
Mark Andrews
194a73cc32 db.h 2001-04-09 03:21:22 +00:00
Mark Andrews
897cef1269 cut&paste error 2001-04-06 07:02:34 +00:00
Mark Andrews
8957799312 checkpoint 2001-04-06 07:00:58 +00:00
Mark Andrews
0aea8f69cd checkpoint 2001-04-06 06:22:00 +00:00
Mark Andrews
6c89ab9e56 checkpoint 2001-04-06 06:02:24 +00:00
Mark Andrews
0c05c12213 checkpoint 2001-04-06 05:58:57 +00:00
Mark Andrews
3c3d1d0e7e checkpoint 2001-04-06 05:49:52 +00:00
Mark Andrews
225fe2c82c checkpoint 2001-04-06 05:35:41 +00:00
Mark Andrews
da3c3119fe add passwd suport 2001-04-05 07:01:11 +00:00
Mark Andrews
199da345a1 regen 2001-04-05 06:31:21 +00:00
Mark Andrews
8c71da6b2e solaris/posix 2001-04-05 06:31:02 +00:00
Mark Andrews
6942af8143 posix/solaris ~!@#$ 2001-04-05 06:19:32 +00:00
Brian Wellington
f8b3c62794 804. [bug] Attempting to obtain entropy could fail in some
situations.  This would be most common on systems
			with user-space threads. [RT #1131]
2001-04-04 20:57:35 +00:00
Mark Andrews
baa8aebc5b regen 2001-04-04 07:09:44 +00:00
Mark Andrews
3a66cfbc4c hack_POSIX_PTHREAD_SEMANTICS 2001-04-04 07:08:55 +00:00
Mark Andrews
ab628cb652 regen 2001-04-04 06:19:28 +00:00
Mark Andrews
9680305c8b checkpoint 2001-04-04 06:18:40 +00:00
Mark Andrews
ce664dbd95 POSIX_GETGRGID_R 2001-04-04 06:00:57 +00:00
Mark Andrews
2c81d53b9f regen 2001-04-04 05:57:12 +00:00
Mark Andrews
49d4440533 checkpoint 2001-04-04 05:56:10 +00:00
Mark Andrews
216a4baa50 regenerate 2001-04-04 05:45:14 +00:00
Mark Andrews
5f2308318f checkpoint 2001-04-04 05:44:15 +00:00
Mark Andrews
441991722c checkpoint 2001-04-04 05:32:27 +00:00
Brian Wellington
daad43e5a4 802. [bug] DNSSEC key tags were computed incorrectly in almost
all cases. [RT #1146]
2001-04-04 02:02:58 +00:00
Andreas Gustafsson
2901eed986 cfg_type_rndcconf was declared twice 2001-04-04 01:41:06 +00:00
Mark Andrews
65f67161a3 regenerate 2001-04-03 22:59:32 +00:00
Mark Andrews
605263f9e9 checkpoint 2001-04-03 22:41:38 +00:00
Mark Andrews
33f7d8bf2f checkpoint 2001-04-03 13:46:25 +00:00
Mark Andrews
a685e49c98 checkpoint
cvs: ----------------------------------------------------------------------
2001-04-03 08:03:47 +00:00
Mark Andrews
c14f058cc2 checkpoint 2001-04-03 07:56:04 +00:00
Mark Andrews
7f2f148059 checkpoint 2001-04-03 07:47:22 +00:00
Mark Andrews
323b5028ef checkpoint 2001-04-03 07:43:10 +00:00
Mark Andrews
4218e29472 checkpoint 2001-04-03 07:33:07 +00:00
Mark Andrews
8a3e0f66c1 checkpoint 2001-04-03 07:21:35 +00:00
Mark Andrews
3b371eaa5d ALIGN 2001-04-03 07:11:35 +00:00
Mark Andrews
da3db8e2a1 getnetbyaddr_r 2001-04-03 06:52:23 +00:00
Mark Andrews
8ab9428e6b checkpoint 2001-04-03 06:42:33 +00:00
Mark Andrews
2dafe8a9f3 missig semi-colon 2001-04-03 06:01:36 +00:00
Mark Andrews
b0d36cc22b checkpoint 2001-04-03 05:53:02 +00:00
Mark Andrews
bd326fdc6e checkpoint 2001-04-03 02:53:40 +00:00
Mark Andrews
4d8800e571 checkpoint 2001-04-03 02:30:58 +00:00
Mark Andrews
27998b5bbd initial 2001-04-03 02:17:12 +00:00
Brian Wellington
cc0c9a92d6 remove unused base64 <--> binary conversion functions 2001-04-03 00:48:09 +00:00
Brian Wellington
9a28507cde regenerate 2001-04-03 00:29:18 +00:00
Brian Wellington
9bd186cd9a Remove dnssafe, cylink, and the broken dst random generator. 2001-04-03 00:28:16 +00:00
Brian Wellington
7b1ab9e210 don't do 0.0.0.0 -> 127.0.0.1 conversion for netmasks. 2001-04-02 23:05:14 +00:00
Brian Wellington
765eb27068 call inet_aton, not inet_pton when parsing resolv.conf 2001-04-02 22:33:31 +00:00
Mark Andrews
9de63e99af char array index 2001-04-02 09:42:20 +00:00
Mark Andrews
94803c4a46 MIN and MAX 2001-04-02 08:06:18 +00:00
Mark Andrews
d091280d77 MAXHOSTNAMELEN 2001-04-02 07:56:05 +00:00
Mark Andrews
12a7ea1c51 make structures private 2001-04-02 07:53:19 +00:00
Mark Andrews
68a1ce3cee private structures 2001-04-02 07:52:33 +00:00
Mark Andrews
5d989a8b8b checkpoint 2001-04-02 07:23:56 +00:00
Mark Andrews
87c7112365 sync 2001-04-02 07:05:00 +00:00
Mark Andrews
ba980b2c1e checkpoint 2001-04-02 07:03:56 +00:00
Mark Andrews
25ddc215c4 new 2001-04-02 06:42:17 +00:00
Mark Andrews
8122657ebf sync 2001-04-02 06:39:06 +00:00
Mark Andrews
28454712ae checkpoint 2001-04-02 06:38:19 +00:00
Mark Andrews
10e9ae3676 checkpoint 2001-04-02 06:29:21 +00:00
Mark Andrews
8e59dace1f sync 2001-04-02 05:57:53 +00:00
Mark Andrews
8d7927f73a checkpoint 2001-04-02 05:57:11 +00:00
Mark Andrews
2eb2d69130 sync checkpoint 2001-04-02 01:25:32 +00:00
Mark Andrews
ca05034308 checkpoint 2001-04-02 01:24:32 +00:00
Andreas Gustafsson
dcd3db4310 install man page aliases by linking 2001-03-31 00:34:16 +00:00
Andreas Gustafsson
ddccd5811f man page docbook conversion 2001-03-31 00:08:23 +00:00
Bob Halley
907620b5e0 The ADB didn't find AAAA glue in a zone unless A6 glue was also present. 2001-03-30 17:27:29 +00:00
Brian Wellington
414d289686 oops, cut-and-paste-o 2001-03-30 00:34:52 +00:00
Brian Wellington
e0bab4386b Treat a zone as secure only if it has a zone key and a signed NXT at the apex. 2001-03-30 00:33:39 +00:00
Brian Wellington
5684e37a3a #ifdef HAVE_SA_LEN 2001-03-29 23:19:51 +00:00
Mark Andrews
6475a59ca4 make/* need to be created _before_ the Makefiles are created. 2001-03-29 07:01:32 +00:00
Mark Andrews
d380990548 Initial pull over from BIND 8 2001-03-29 06:31:59 +00:00
Andreas Gustafsson
4b01d45a49 first cut at mandoc -> docbook conversion 2001-03-29 02:43:28 +00:00
Brian Wellington
672056d560 797. [func] Issue a warning if the 'directory' option contains
a relative path. [RT #269]
2001-03-29 02:33:48 +00:00
Andreas Gustafsson
9ffbbce6a6 first cut at mandoc -> docbook conversion 2001-03-29 02:23:11 +00:00
Brian Wellington
ec56b96c79 log sending of notifies at info level, and include the serial number. Also
clean up some weird code. [RT #1088]
2001-03-28 23:36:53 +00:00
Brian Wellington
c996e500f1 remove the errno handling code, which was only used by readsymtab/writesymtab 2001-03-28 23:11:41 +00:00
Brian Wellington
0368474a75 remove isccc_cc_readsymtab/isccc_cc_writesymtab 2001-03-28 23:10:39 +00:00
David Lawrence
2a86ee1f54 simplify the test about whether to roll; one expression was redundant 2001-03-28 05:48:16 +00:00
David Lawrence
9027e1bcf1 796. [func] When a size limit is associated with a log file,
only roll it when the size is reached, not every
			time the log file is opened. [RT #1096]
2001-03-28 04:16:32 +00:00
Brian Wellington
caa55a6557 When printing KEY records with COMMENT and MULTILINE, the line would often
be too long.
2001-03-28 02:57:26 +00:00
Brian Wellington
668f8d91db 795. [func] Add the +multiline option to dig.
(which requires dns_message_totext(), etc. to take a style parameter)
2001-03-28 02:42:56 +00:00
Andreas Gustafsson
bed7a35293 dns_master_questiontotext() needs a style argument after all 2001-03-28 00:58:15 +00:00
Andreas Gustafsson
bfe313722d dns_masterfile_style_debug -> dns_master_style_debug 2001-03-28 00:54:40 +00:00
Andreas Gustafsson
531eafa302 use dns_master_rdatasettotext() &co; removed unused flag
DNS_MESSAGETEXTFLAG_OMITDOT
2001-03-28 00:50:05 +00:00
Andreas Gustafsson
421551db8a new functions dns_master_rdatasettotext() and dns_master_questiontotext(),
replacing dns_rdataset_totext()
2001-03-28 00:22:16 +00:00
Brian Wellington
d7ba3622ff 794. [func] Implement the "port" and "default-port" statements
in rndc.conf.
2001-03-28 00:16:09 +00:00
Brian Wellington
45e22378fc dns_name_tofilenametext() now downcases the name, which means the callers
don't need to.
2001-03-27 23:43:15 +00:00
Brian Wellington
7d7215baf8 Add dns_name_tofilenametext(), and use it in the dnssec tools. 2001-03-27 22:57:48 +00:00
Brian Wellington
cb3e854e18 oops, use the nominum copyright for lib/isccc. Also fix the update_copyrights
script to do @YEARS@ expansion on 2 lines.
2001-03-27 20:08:15 +00:00
Andreas Gustafsson
9d2d409333 removed unused function isccc_ccmsg_keepbuffer();
fixed incorrect header multi-inclusion protection macros;
changed comment referring to 'DNS message' to say 'command channel message'
2001-03-27 18:34:56 +00:00
Brian Wellington
2999a3a988 remove erroneously added copyright 2001-03-27 02:25:34 +00:00
Brian Wellington
022d19c138 copyright updates 2001-03-27 02:06:13 +00:00
Brian Wellington
badf66abe0 Remove OMAPI. 2001-03-27 00:53:58 +00:00
Brian Wellington
1d92d8a245 792. [cleanup] Replace the OMAPI command channel protocol with a
simpler one.
2001-03-27 00:44:59 +00:00
Andreas Gustafsson
b52a5b0630 790. [bug] Wildcards created using dynamic update or IXFR
could fail to match. [RT #1111]
2001-03-27 00:06:34 +00:00
Brian Wellington
6eccf5bd07 788. [feature] Add the "match-mapped-addresses" options, which
causes IPv6 v4mapped addresses to be treated as
			IPv4 addresses for the purpose of acl matching.
2001-03-26 21:33:07 +00:00
Brian Wellington
0a10d7722e remove comment referring to dead code. 2001-03-26 21:11:33 +00:00
Andreas Gustafsson
9efa0d2ae3 do not capitalize error message strings 2001-03-24 02:18:42 +00:00
Brian Wellington
b8a85202af 786. [bug] When signing/verifying data, names were not properly
downcased.
2001-03-23 03:51:04 +00:00
Andreas Gustafsson
c52683ae45 'serial-query-rate 1;' caused an assertion failure 2001-03-23 00:33:28 +00:00
Brian Wellington
734ae1f7c6 isc_{base64|hex}_decodestring took an unused mctx. Remove the mctx. 2001-03-22 00:07:07 +00:00
Brian Wellington
27422dd5db typo [RT #1094] 2001-03-21 20:45:55 +00:00
Andreas Gustafsson
1824b43f62 parse_mapbody() could return ISC_R_SUCCESS when it failed, triggering
an assertion
2001-03-21 19:01:36 +00:00
Andreas Gustafsson
b879ed05f4 785. [bug] A race condition in the resolver could cause
an assertion failure. [RT #673, #872, #1048]
2001-03-20 22:13:00 +00:00
Brian Wellington
48565891e8 784. [bug] nsupdate and other programs would not quit properly
if some signals were blocked by the caller. [RT #1081]
2001-03-20 21:45:20 +00:00
Brian Wellington
dde4382b7f fix comment 2001-03-19 22:44:52 +00:00
Brian Wellington
54d64c7994 782. [feature] Implement the serial-query-rate option. 2001-03-19 22:34:14 +00:00
Brian Wellington
c302b021cc the sdb returned the wrong answer when querying for dnames below other dnames
and ANY queries at delegation points.
2001-03-17 02:52:29 +00:00
Brian Wellington
ae114ded82 Fix a bunch of unused variable warnings that only occurred with assertions
turned off.
2001-03-16 22:53:20 +00:00
Brian Wellington
0d19c777ae Use a counter instead of a flag to indicate if the resolver is in the
process of connecting.  There's a possibility that a connect might not
have sent a completion event when another one starts, and this could cause
bad things to happen since the query would only know about one connect.
2001-03-16 21:50:59 +00:00
Brian Wellington
fc0d37fa3a init the name in dns_message_gettempname(). This means it'll be done twice
in many cases, but it means dns_message_puttempname() can safely be called
on the name in all cases.
2001-03-15 03:00:50 +00:00
Brian Wellington
2048bb8c0c dns_message_parse() cannot return DNS_R_MOREDATA. 2001-03-15 02:00:15 +00:00
Bob Halley
d911284333 add support for minimal-responses 2001-03-14 21:53:29 +00:00
Bob Halley
9ac88d91b4 Simplify some code in protocol_setvalue(), eliminating the "sigsize"
variable which was causing a compiler warning.
2001-03-14 17:59:25 +00:00
Brian Wellington
2f02f32f04 exit(1), not exit(-1) 2001-03-14 06:31:17 +00:00
Andreas Gustafsson
52c17deb58 some variables which should have been static weren't 2001-03-14 00:30:06 +00:00
Mark Andrews
b01cd0d5c7 Use dns_dispatch_getlocaladdress() to retrieve the local address to bind too. 2001-03-13 05:49:58 +00:00
Mark Andrews
a674e7ecec add dns_dispatch_getlocaladdress(). 2001-03-13 05:48:41 +00:00
Andreas Gustafsson
b31c8af1d9 name libisccfg logging functions consistently with
other libisccfg functions [RT #1020]
2001-03-13 03:04:09 +00:00
Brian Wellington
d03fd76636 add a cast [RT #1013] 2001-03-12 22:39:36 +00:00
Brian Wellington
461260ac15 add casts [RT #1017] 2001-03-12 22:27:15 +00:00
Mark Andrews
a65826596f Add const to declaration of start_directory(); 2001-03-12 01:05:52 +00:00
Andreas Gustafsson
dd57718608 #include <isc/print.h> 2001-03-09 23:38:00 +00:00
Brian Wellington
e608c9829f - Detect selective forwarding errors in the configuration checker.
- Clean up selective forwarding configuration.
- Fixed a few minor unrelated bugs in the configuration checker.
2001-03-09 19:07:30 +00:00
Bob Halley
c6237585d8 Fix some typos in the non-threaded version of isc_rwlock_trylock() that
were preventing compilation.
2001-03-08 19:52:13 +00:00
David Lawrence
f3432e1b48 moved INADDR_LOOPBACK definition to lwres/net.h, because it was causing
redefinition warnings on multiple platforms
2001-03-08 16:09:41 +00:00
David Lawrence
2283923028 a last minute edit added one too many conditions for putting a node on the
deletions list
2001-03-08 03:31:29 +00:00
David Lawrence
85e80b5b69 Remove name/node from the rbtdb in no_references().
Iterator uses 'cleaning' flag to expire nodes.
2001-03-08 01:35:27 +00:00
David Lawrence
03609d0b8f Use a cleaning iterator (dns_dbiterator_setcleanmode()).
Reworked some overmem thread handling.
2001-03-08 01:22:48 +00:00
David Lawrence
31d3e8d2fe new function, dns_dbiterator_setcleanmode(), which enables cleaning
in the rbtdb
2001-03-08 01:16:06 +00:00
David Lawrence
a09c545af1 join_nodes is removed; node joining is no longer done at any time, because
it corrupts active chains and can change the data at a node which
someone might be using.  (In the latter case, though the full name from
the root was still intact, and the ->data member was not altered, other
values like the partial name ndata and offsets could change.)

New functions dns_rbt_fullnamefromnode() and dns_rbt_formatnodename(),
for getting a dns_name_t and filling a char buffer, respectively, with
the complete name of a node from the root.

rbtnode.is_root was being treated as isc_boolean_t even though it was bitfield
of width 1.  This worked fine, but wasn't consistent with ISC style, and
would have puked if someone decided to change isc_true from 1 (unlikely
as that is).  Yeah, anal, I know.
2001-03-08 01:08:39 +00:00
Brian Wellington
8b9b498009 Check for duplicate zone and key statements. Note that duplicate server
and view statements are not detected, because they're harder.
2001-03-08 00:55:50 +00:00
David Lawrence
a82fd2c01b added non-blocking locking, isc_rwlock_trylock() 2001-03-08 00:55:15 +00:00