Commit Graph
5938 Commits
Author SHA1 Message Date
Brian Wellington b7415ddd79 let isc_lex_destroy() close sources. 2001-11-30 18:26:46 +00:00
Mark Andrews 5e8f2512a6 leave isc_lex_destroy() to close any open streams. 2001-11-30 03:14:50 +00:00
Brian Wellington 2e4bec457d Before signing with a key, make sure that it's not the public-only part.
A sane crypto toolkit would catch this and return an error, but openssl
unceremoniously seg faults.
2001-11-30 02:11:04 +00:00
Andreas Gustafsson 1f1d36a87b Check return values or cast them to (void), as required by the coding
standards; add exceptions to the coding standards for cases where this is
not desirable
2001-11-30 01:59:49 +00:00
Mark Andrews 9ac8796f16 1152. [bug] libbind: read buffer overflows. 2001-11-30 01:19:02 +00:00
Andreas Gustafsson 242bba8991 1151. [bug] nslookup failed to check that the arguments to
the port, timeout, and retry options were
                        valid integers and in range. [RT #2099]

1150.   [bug]           named incorrectly accepted TTL values
                        containing plus or minus signs, such as
                        1d+1h-1s.

1149.   [func]          New function isc_parse_uint32().
2001-11-30 01:02:18 +00:00
Mark Andrews ef29912666 1147. [func] Set IPV6_IPV6ONLY on IPv6 sockets if supported by
the OS.  listen-on-v6 { any; }; should no longer
                        result in IPv4 queries be accepted.  Similarly
                        control { inet :: ... }; should no longer result
                        in IPv4 connections being accepted.  This can be
                        overridden at compile time by defining
                        ISC_ALLOW_MAPPED=1.
2001-11-29 13:14:33 +00:00
Mark Andrews 0cfa2fb26d 1146. [func] Allow IPV6_IPV6ONLY to be set/cleared on a socket if
supported by the OS by a new function
                        isc_socket_ipv6only().
2001-11-29 07:31:25 +00:00
Andreas Gustafsson bfbea562e6 new function dns_diff_applysilently() [RT #2157] 2001-11-29 00:15:35 +00:00
Brian Wellington 3638017bd3 1143. [bug] When a trusted-keys statement was present and named
was built without crypto support, it would leak memory.
2001-11-28 02:35:02 +00:00
Mark Andrews 6737b6ebf0 shutup bogus ambiguous else compiler warning. 2001-11-27 22:53:55 +00:00
Mark Andrews 60213f2815 1139. [func] It is now possible to flush a given name from the
caches via 'rndc flushname name [view]'.  [RT #2051]
2001-11-27 04:06:17 +00:00
Mark Andrews 6c8abf481d 1138. [func] It is now possible to flush given names from the
cache dns_cache_flushname().
2001-11-27 03:10:32 +00:00
Mark Andrews 1e4bfff185 1137. [func] It is now possible to flush given names from the
adb cache dns_adb_flushname().
2001-11-27 03:00:50 +00:00
Andreas Gustafsson 91cd0f93ad sizeof style 2001-11-27 01:56:32 +00:00
Andreas Gustafsson f1b6872550 Do not put a space before ';' when terminating a statement or in a 'for' statement. 2001-11-27 00:56:32 +00:00
Andreas Gustafsson 4d1d37a19d out-of-range SOA timers were silently clamped [RT #2081] 2001-11-26 23:51:21 +00:00
Andreas Gustafsson 751af0ee2f duplicate code consistently 2001-11-26 23:37:24 +00:00
Danny Mayer 022dd8775a Added dns_sdb_putrdata to list of visible functions 2001-11-22 04:33:33 +00:00
Danny Mayer d67b892041 isc__strerror was being used incorrectly. Return value is the result and not a pointer to the error message 2001-11-22 03:08:12 +00:00
Andreas Gustafsson d9d6d2f77f 1134. [bug] Multithreaded servers could deadlock in ferror()
when reloading zone files. [RT #1951, #1998]
2001-11-21 22:26:46 +00:00
Mark Andrews eb2c518a38 1133. [bug] IN6_IS_ADDR_LOOPBACK not portably defined on platforms
without IN6_IS_ADDR_LOOPBACK. [RT #2106]
2001-11-21 13:06:20 +00:00
Danny Mayer d5f394f4c4 Change strerror references to use isc__strerror [RT #1689] 2001-11-21 05:07:25 +00:00
Andreas Gustafsson 4f30395c97 Suppress compiler warnings about empty translation units 2001-11-20 21:28:41 +00:00
Brian Wellington 81f6192a0c spacing 2001-11-20 18:42:26 +00:00
Andreas Gustafsson 945f7311ca Don't return a value from isc__strerror(); it was never used, and
casting it to void everywhere as required by the coding standards would have been silly
and pointless
2001-11-20 01:45:49 +00:00
Andreas Gustafsson 17453368fa Reimplemented the built-in CHAOS zones using sdb. 2001-11-20 01:18:15 +00:00
Andreas Gustafsson 6cd7bd1fb5 spacing 2001-11-19 22:32:04 +00:00
Andreas Gustafsson 459d31fa83 consistently put the LIBDNS_EXTERNAL_DATA before the const 2001-11-19 21:34:31 +00:00
Danny Mayer e61793f086 Added LIB*_EXTERNAL_DATA Macros necessary to make lib extern variables globally visible in Win32 2001-11-19 03:08:44 +00:00
Danny Mayer 33b8775d3a Updated to support tree organization changes and to support the lib/bind9 library code 2001-11-18 03:11:06 +00:00
Danny Mayer 74dfe6155f Add win32 support for bind9 library 2001-11-17 03:57:12 +00:00
Mark Andrews d1abb8bb02 1130. [bug] Out of range serial number were not being logged.
[RT #2076]
2001-11-16 10:50:00 +00:00
Brian Wellington db0e722d83 oops, remove the other call to freehostent() 2001-11-16 06:48:22 +00:00
Brian Wellington 09ce736e9a unitialized variable [RT #2075] 2001-11-16 04:43:04 +00:00
Brian Wellington d972554740 mismatched parens, missing failure return, remove incorrect use of
freehostent() [RT #2075]
2001-11-16 04:41:58 +00:00
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
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
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
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