Commit graph

6996 commits

Author SHA1 Message Date
Mark Andrews
ee879f2763 1429. [bug] Prevent the cache getting locked to old servers. 2003-05-13 03:57:53 +00:00
Mark Andrews
1cc4319081 1420. [port] solaris: work around gcc optimiser bug. 2003-05-13 03:26:38 +00:00
Mark Andrews
3976f3b17a 1424. [bug] EDNS version not being correctly printed. 2003-05-12 07:18:37 +00:00
Mark Andrews
da017eeec4 1408. [bug] distclean was not complete. [RT #4700] 2003-05-12 06:39:54 +00:00
Mark Andrews
58baf5e191 1407. [bug] lfsr incorrectly implements the shift register.
[RT #4617]
2003-05-12 06:18:07 +00:00
Mark Andrews
0027901a89 1406. [bug] dispatch initialises one of the LSFR's with a incorrect
polynomial.  [RT #4617]
2003-05-12 06:11:52 +00:00
Mark Andrews
e0c73b8923 1401. [bug] adb wasn't clearing state when the timer expired. 2003-05-12 05:54:57 +00:00
Mark Andrews
704b358bb0 pullup:
1399.   [bug]           Use serial number arithmetic when testing SIG
                        timestamps. [RT #4268]
2003-05-12 05:52:09 +00:00
Mark Andrews
e1b2cb9f1b 1397. [bug] J.ROOT-SERVERS.NET is now 192.58.128.30. 2003-05-12 05:36:48 +00:00
Mark Andrews
064516e76a pullup:
1389.   [bug]           named could fail to rotate long log files.  [RT #3666]
2003-05-12 05:29:24 +00:00
Mark Andrews
6bcd32ed14 1373. [bug] Recovery from expired glue failed under certain
circumstances.
2003-05-12 04:54:17 +00:00
Mark Andrews
9631f485ae pullup:
1387.   [bug]           named could crash due to an access to invalid memory
                        space (which caused an assertion failure) in
                        incremental cleaning.  [RT #3588]
2003-05-12 03:22:44 +00:00
Mark Andrews
71264474fe pullup:
1385.   [bug]           Setting serial-query-rate to 10 would trigger a
                        REQUIRE failure.
2003-05-12 02:54:59 +00:00
Mark Andrews
d20c22f634 check that proc != NULL 2003-05-11 02:24:11 +00:00
Mark Andrews
fc87397df6 1470. [bug] incorrect length passed to snprintf. [RT #5966] 2003-05-08 04:03:25 +00:00
Mark Andrews
1f58c45566 memset the entire lifc structure 2003-05-01 00:35:33 +00:00
Mark Andrews
64655588e7 use-alt-transfer-source when the master refused soa queries. [RT #5528] 2003-04-22 04:03:25 +00:00
Mark Andrews
1a4d687359 1468. [func] Internal zones are nolonger for 'rndc status'.
[RT #4706]
2003-04-17 12:11:39 +00:00
Mark Andrews
397f86cf27 1467. [func] $GENERATES now supports optional class and ttl. 2003-04-17 11:31:02 +00:00
Mark Andrews
f5af519ab5 1465. [bug] isc_base64_decodestring() and isc_base64_tobuffer()
failed to check that trailing bits were zero allowing
                        some invalid base64 strings to be accepted.  [RT #5397]
2003-04-17 06:04:13 +00:00
Mark Andrews
b0c2141b23 1464. [bug] Preserve "out of zone" data for outgoing zone
transfers. [RT #5192]
2003-04-17 05:40:45 +00:00
Mark Andrews
182a34004c 1463. [bug] dns_rdata_from{wire,struct}() failed to catch bad
NXT bit maps. [RT #5577]
2003-04-17 03:43:35 +00:00
Mark Andrews
603658ea65 1462. [bug] parse_sizeval() failed to check the token type.
[RT #5586]
2003-04-17 03:26:58 +00:00
Mark Andrews
163547c0c0 1461. [bug] Remove deadlock from rbtdb code. [RT #5999] 2003-04-17 01:56:35 +00:00
Mark Andrews
8ff31bab2f 1454. [bug] inet_pton() failed to reject certian malformed
IPv6 literals.
2003-04-17 01:52:45 +00:00
Mark Andrews
1b63cb1440 collapse duplicate code 2003-04-13 10:15:03 +00:00
Mark Andrews
69afe00a06 redo:
1459.   [bug]           win32: we were leaking a bits in the exception
                        fd_set resulting in "Socket operation on non-socket"
                        errors from select(). [RT #2966]
2003-04-13 10:11:31 +00:00
Mark Andrews
65bfb99dae 1459. [bug] win32: we were leaking a bits in the exception
fd_set resulting in "Socket operation on non-socket"
                        errors from select(). [RT #2966]
2003-04-13 08:04:36 +00:00
Mark Andrews
c716229384 win32: define S_ISREG if it not already defined. 2003-04-12 04:57:17 +00:00
Mark Andrews
806c235ecf 1458. [cleanup] sprintf() -> snprintf(). 2003-04-11 07:25:31 +00:00
Mark Andrews
935000aa6e 1457. [port] Provide strlcat() and strlcpy() for platforms without
them.
2003-04-10 04:47:56 +00:00
Mark Andrews
2fd63cf561 1455. [bug] <netaddr> missing from server grammar in
doc/misc/options. [RT #5616]
2003-04-10 02:16:11 +00:00
Mark Andrews
817314313f missing #include's 2003-04-10 02:06:51 +00:00
Mark Andrews
8ca42f6318 1454. [port] Use getifaddrs() if available for interface scanning.
--disable-getifaddrs to override.  Glibc currently
                        has a getifaddrs() that does not support IPv6.
                        Use --enable-getifaddrs=glibc to force the use of
                        this version under linux machines.
2003-04-01 05:18:22 +00:00
Tatuya JINMEI 神明達哉
c596c075f9 rt #5222: useing a wrong return type for isc_file_exists().
developer: marka
reviewer: jinmei
2003-03-23 13:18:53 +00:00
Mark Andrews
036f643016 Non-NULL pointer passed when verifing looking for "kal". 2003-03-20 00:43:08 +00:00
Mark Andrews
c480adf955 OSF defines "try" as __builtin_try. 2003-03-20 00:19:55 +00:00
Mark Andrews
af082b1e70 spelling 2003-03-19 17:48:01 +00:00
Mark Andrews
be8aff07bb spelling 2003-03-19 17:43:41 +00:00
Mark Andrews
237f7454d2 regen 2003-03-06 04:55:27 +00:00
Mark Andrews
a7efbe70e7 merge 9.2.2 back into v9_2 2003-03-06 04:38:29 +00:00
Mark Andrews
c1561e8a36 tab -> space 2003-03-03 01:42:59 +00:00
Mark Andrews
602d2e93f7 close of wrong socket [RT #5221] 2003-03-03 01:41:27 +00:00
Mark Andrews
b500de3be9 alt-transfer-source-v4 -> alt-transfer-source 2003-02-27 05:12:47 +00:00
Mark Andrews
6bd8cee983 1450. [bug] Fetching expired glue failed under certian
circumstances.  [RT #5124]
developer: marka
reviewer: explorer
2003-02-27 02:20:15 +00:00
Mark Andrews
8b5de97014 1448. [bug] Handle empty wildcards labels.
developer: marka
reviewer: explorer
2003-02-27 00:19:04 +00:00
Mark Andrews
80b782f356 1447. [bug] We were casting (unsigned int) to and from (void *).
rdataset->private4 is now rdataset->privateuint4
                        to reflect a type change.
developer: marka
reviewer: explorer
2003-02-26 23:52:30 +00:00
Mark Andrews
476386968b 1446. [func] Implemented undocumented alternate transfer sources
from BIND 8.  See use-alt-transfer-source,
                        alt-transfer-source-v4 and alt-transfer-source-v6.

                        SECURITY: use-alt-transfer-source is ENABLED unless
                        you are using views.  This may caues a security risk
                        resulting in accidental disclosure of wrong zone
                        content if the master supplying different source
                        content based on IP address.  If you are not certian
                        ISC recommends setting use-alt-transfer-source no;
developer: marka
reviewer: explorer
2003-02-26 23:29:00 +00:00
Mark Andrews
53cf671865 1445. [bug] DNS_ADBFIND_STARTATROOT broke stub zones. This has
been replaced with DNS_ADBFIND_STARTATZONE which
                        causes the search to start using the closest zone.

1444.   [func]          dns_view_findzonecut2() allows you to specify if the
                        cache should be searched for zonecuts.
developer: marka
reviewer: explorer
2003-02-26 22:54:29 +00:00
Mark Andrews
888bb8bf68 1443. [func] Masters lists can now be specified and referenced
in zone masters clauses and other masters lists.
developer: marka
reviewer: explorer
2003-02-26 06:04:03 +00:00
Mark Andrews
b312748a11 1442. [func] New fuctions for manipulating port lists:
dns_portlist_create(), dns_portlist_add(),
                        dns_portlist_remove(), dns_portlist_match(),
                        dns_portlist_attach() and dns_portlist_detach().

1441.   [func]          It is now possible to tell dig to bind to a specific
                        source port.

1440.   [func]          It is now possible to tell named to avoid using
                        certian source ports (avoid-v4-udp-ports,
                        avoid-v6-udp-ports).
developer: marka
reviewer: explorer
2003-02-26 05:05:16 +00:00
Mark Andrews
463fc8f9d6 1437. [bug] Leave space for stdio to work in. [RT #5033]
developer: marka
reviewer: explorer
2003-02-26 04:00:20 +00:00
Mark Andrews
c3ea698877 1436. [func] dns_zonemgr_resumexfrs() can be used to restart
stalled transfers.

1435.   [bug]           zmgr_resume_xfrs() was being called read locked
                        rather than write locked.  zmgr_resume_xfrs()
                        was not being called if the zone was being
                        shutdown.

1434.   [bug]           "rndc reconfig" failed to initiate the initial
                        zone transfer of new slave zones.
developer: marka
reviewer: explorer
2003-02-26 03:45:59 +00:00
Mark Andrews
9368d7df83 1433. [bug] named could trigger a REQUIRE failure if it could
not get a file descriptor when attempting to write
                        a master file. [RT #4347]
developer: marka
reviewer: explorer
2003-02-26 03:06:46 +00:00
Mark Andrews
e2fb08b85d 1432. [func] The advertised EDNS UDP buffer size can now be set
via named.conf (edns-udp-size).
developer: marka
reviewer: explorer
2003-02-26 02:04:00 +00:00
Mark Andrews
71dfe8bb7a spelling 2003-02-26 01:21:09 +00:00
Mark Andrews
22a9cd54c0 1431. [bug] isc_print_snprintf() "%s" with precision could walk of
end of arguement. [RT #5191]
2003-02-25 21:32:07 +00:00
Mark Andrews
21ba6c18e4 1430. [port] linux: IPv6 interface scanning support.
reviewed: jinmei
developer: marka
This is a interim solution that needs to be compared to getifaddrs()
and PF_NETLINK solution spaces which Jinmei is exploring.  It's not
clear which linux kernels support which of these three interfaces.
2003-02-24 01:46:11 +00:00
Mark Andrews
a9bdaa1772 engine pointer not set to NULL on free. 2003-02-18 06:25:11 +00:00
Mark Andrews
7418c7cc78 silence compiler 2003-02-18 06:07:40 +00:00
Mark Andrews
8e9cc3ced1 spelling 2003-02-07 02:39:06 +00:00
Mark Andrews
2ae647b423 pullup:
1382.   [bug]           make install failed with --enable-libbind. [RT #3656]
2003-02-07 02:23:59 +00:00
Mark Andrews
e70b069e38 spelling 2003-02-07 01:54:56 +00:00
Mark Andrews
b587e1d83f spelling 2003-02-07 01:13:13 +00:00
Mark Andrews
a1301ef891 undo (wrong branch) 2003-02-04 06:10:09 +00:00
Mark Andrews
ab4bec8504 checkpoint 2003-02-04 05:44:32 +00:00
Mark Andrews
59f51f864c 1425. [port] linux/libbind: define __USE_MISC when testing *_r()
function prototypes in netdb.h.  [RT #4921]
2003-01-24 05:03:45 +00:00
Mark Andrews
a207a2835e 1424. [bug] EDNS version not being correctly printed. 2003-01-24 04:25:53 +00:00
Mark Andrews
d788d738e3 Differentiate between NXDOMAIN and NXRRSET 2003-01-22 06:37:04 +00:00
Mark Andrews
0f09ef5a50 1420. [port] solaris: work around gcc optimiser bug. 2003-01-21 04:32:19 +00:00
Mark Andrews
9bd478a5e6 1417. [func] ID.SERVER/CHAOS is now a built in zone.
See "server-id" for how to configure.
2003-01-20 05:46:11 +00:00
Mark Andrews
421e4cf66e 1416. [bug] Empty node should return NOERROR NODATA, not NXDOMAIN.
[RT #4715]
developer: marka
reviewer: explorer
2003-01-18 03:18:31 +00:00
Mark Andrews
b0c15bd979 1415. [func] DS TTL now derived from NS ttl. NXT TTL now derived
from SOA MINIMUM.

1414.   [func]          Support for KSK flag.
2003-01-18 02:40:59 +00:00
Mark Andrews
0ffaee887f 1412. [func] You can now specify servers to be tried if a nameserver
has IPv6 address and you only support IPv4 or the
                       reverse. See dual-stack-servers.
2003-01-16 03:59:28 +00:00
Mark Andrews
d548131d6a support for high optimisation levels 2003-01-15 05:24:29 +00:00
Mark Andrews
1d84c2b146 we may have NS information from the child zone. 2003-01-15 05:05:13 +00:00
Mark Andrews
32b03bf0b6 SOCKET vs int 2003-01-14 23:39:03 +00:00
Mark Andrews
2f4fbeb360 SOCKET vs int 2003-01-14 23:37:06 +00:00
Mark Andrews
5f89a1ee9e 1411. [bug] empty nodes should stop wildcard matches. [RT #4802]
developer: marka
reviewer: explorer
2003-01-14 00:38:07 +00:00
Mark Andrews
c86eed4bde 1410. [func] handle records that live in the parent zone, e.g. DS.
developer: marka
reviewer: explorer
2003-01-14 00:28:50 +00:00
Mark Andrews
3c2127744f update comment 2003-01-10 02:43:56 +00:00
Mark Andrews
3369e61105 remove unused code 2003-01-08 04:42:22 +00:00
Mark Andrews
3d00f74888 When processing the authority section process the NS records first. 2003-01-05 23:19:29 +00:00
Mark Andrews
6874dcf6a0 style 2002-12-31 05:40:15 +00:00
Mark Andrews
f4cbe536b1 cygwin support 2002-12-27 03:29:37 +00:00
Mark Andrews
af623d1cd2 cygwin support 2002-12-27 03:13:51 +00:00
Mark Andrews
602274b30f isc_net_probeipv6() was #ifdef'd out 2002-12-24 05:12:50 +00:00
Mark Andrews
d457997b3b AI_ADDRCONFIG is not allowed by the old getaddinfo() spec. Try with
then without AI_ADDRCONFIG if the former faile with BADFLAGS.
2002-12-20 04:10:03 +00:00
Mark Andrews
12ff7274fe 1409. [bug] DS should have attibute DNS_RDATATYPEATTR_DNSSEC. 2002-12-20 01:19:20 +00:00
Mark Andrews
876da2a83d Check that the NS/AAAA/A RRsets have not expired seeing if they don't need to
be replaced.
2002-12-16 12:47:39 +00:00
Mark Andrews
81aea2f2d3 undo wrong branch 2002-12-13 02:51:41 +00:00
Mark Andrews
0020640ff6 checkpoint 2002-12-13 02:37:35 +00:00
Mark Andrews
8b212c623d undo 2002-12-13 02:11:12 +00:00
Mark Andrews
9d3ad53203 1408. [bug] distclean was not complete. [RT #4700] 2002-12-13 02:01:52 +00:00
Mark Andrews
def8e47c68 use isc_random_get() rather than rand()/arc4random() directly.
developer: marka
reviewer: bwelling
2002-12-05 04:36:26 +00:00
Mark Andrews
767fd19da4 1407. [bug] lfsr incorrectly implements the shift register.
[RT #4617]
2002-12-05 04:01:54 +00:00
Mark Andrews
8da0b50e8a 1406. [bug] dispatch initialises one of the LSFR's with a incorrect
polynomial.  [RT #4617]
2002-12-05 03:55:09 +00:00
Mark Andrews
815a44abf5 arc4random() lower bits are truly random so there in no need to shift the
result to get truly random data.
2002-12-04 04:54:28 +00:00
Mark Andrews
5b76a09697 1405. [func] Use arc4random() if available.
from: jakob@crt.se
reviewed: marka
2002-12-04 01:19:28 +00:00
Mark Andrews
6388dcf8e6 pullup from bind8:
1404.   [bug]           libbind: ns_name_ntol() could overwite a zero length
                        buffer.
2002-12-03 05:39:10 +00:00
Mark Andrews
c5689081b7 define PATH_MAX if not defined. [RT #4602 + others] 2002-11-29 01:42:18 +00:00
Mark Andrews
49a940dc68 1402. [cleanup] A6 has been moved to experimental and is no longer
fully supported.
developer: jinmei
reviewer: marka
2002-11-27 09:52:58 +00:00
Mark Andrews
646182a67f missing include
adjust prototype for isc_netscope_pton() to use void *.
2002-11-26 04:36:46 +00:00
Mark Andrews
41f5cf4ac1 check for the existance of if_nametoindex().
developer: jinmei
reviewer: marka
2002-11-26 03:53:42 +00:00
Mark Andrews
aebe37a461 ensure that zone id is set to zero.
only look for BSD internal scope if platform supports scope_id.
reviewer: marka
developer: jinmei
2002-11-26 03:16:31 +00:00
Mark Andrews
d92770e851 1401. [bug] adb wasn't clearing state when the timer expired. 2002-11-16 17:20:03 +00:00
Mark Andrews
c972e36de6 reversed timestamp sanity test on SIG 2002-11-15 21:25:21 +00:00
Michael Graff
e34efaccfa merge adb_race branch 2002-11-13 00:07:04 +00:00
Michael Graff
e903df2f01 merge 4319 2002-11-12 23:58:14 +00:00
Michael Graff
43ee20a821 merge rt4112 2002-11-12 23:38:12 +00:00
Michael Graff
6434457b0b merge 4090 2002-11-12 23:24:45 +00:00
Michael Graff
972cbaa79e merge rt3598 (code by marka, pullup by me) 2002-11-12 22:22:32 +00:00
Mark Andrews
59ab128c97 1400. [bug] Block the addition of wildcard NS records by IXFR
or UPDATE. [RT #3502]
developer: marka
reveiwer: ogud
2002-11-12 20:16:30 +00:00
Mark Andrews
90295f915c 1399. [bug] Use serial number arithmetic when testing SIG
timestamps. [RT #4268]
developer: marka
reviewer: ogud
2002-11-12 19:50:51 +00:00
Mark Andrews
142d155dd6 1397. [bug] J.ROOT-SERVERS.NET is now 192.58.128.30. 2002-11-05 22:21:28 +00:00
Mark Andrews
2ffb3eb384 1395. [port] OpenSSL 0.9.7 defines CRYPTO_LOCK_ENGINE but doesn't
have a working implementation.  [RT #4079]
2002-10-31 04:35:02 +00:00
Mark Andrews
aa39170da8 1394. [func] It is now possible to check if a particular element is
in a acl.  Remove duplicate entries from the localnets
                        acl.

1393.   [port]          Bind to individual IPv6 interfaces if IPV6_IPV6ONLY
                        is not available in the kernel to prevent accidently
                        listening on IPv4 interfaces.
developer: jinmei
reviewer: marka
2002-10-29 04:40:26 +00:00
Mark Andrews
2357adb0d4 use family specific socket to lookup interface flags, etc. 2002-10-28 06:12:13 +00:00
Mark Andrews
925c021f1f u_int32_t -> isc_uint32_t 2002-10-28 02:35:36 +00:00
Mark Andrews
e12b02b62c u_int32_t -> isc_uin32_t 2002-10-28 02:23:54 +00:00
Mark Andrews
a3bcfd4660 u_int#_t -> isc_uint#_t 2002-10-28 02:16:21 +00:00
Mark Andrews
cbc0becf05 isc_netaddr_fromsockaddr failed to set zone for AF_INET 2002-10-25 02:36:42 +00:00
Mark Andrews
6526fd032f 1391. [func] Add support for IPv6 scoped addresses in named. 2002-10-24 03:52:35 +00:00
Tatuya JINMEI 神明達哉
959cf5e112 (RT #3666) named could fail to rotate long log files.
developer: marka
reviewer: jinmei
2002-10-16 13:15:30 +00:00
Mark Andrews
bc50732bab remove repeated "keep" in comment. 2002-10-15 03:15:28 +00:00
Tatuya JINMEI 神明達哉
1e850a433a in dbiterator_destroy(), gained a reference to db before using an mctx
associated with the db, in case that we had the last reference.
[RT #3588]
2002-10-10 13:50:02 +00:00
Mark Andrews
2945ac15af 1385. [bug] Setting serial-query-rate to 10 would trigger a
REQUIRE failure.
2002-09-30 06:37:49 +00:00
Mark Andrews
ca70688bf6 1383. [func] Track the serial number in a IXFR response and log if
a mismatch occurs.  This is a more specific error than
                        "not exact". [RT #3445]
2002-09-24 01:04:03 +00:00
Mark Andrews
8b0ee8448b 1382. [bug] make install failed with --enable-libbind. [RT #3656]
top_srcdir was being defined via make/rules.in and was over riding that
correct definition from Makefile.in.  Use the abosolute version in
make/rules.in.
2002-09-18 05:18:18 +00:00
Mark Andrews
aec2d57d5b 1381. [bug] named failed to correctly process answers that
contained DNAME records where the resulting CNAME
                        resulted in a negative answer.
2002-09-12 04:52:13 +00:00
Mark Andrews
acfbd7a478 report type and class when logging failures via add_bad 2002-09-12 04:42:46 +00:00
Mark Andrews
c0c9d2b566 Remove layer violation. [RT #3615] 2002-09-12 02:44:29 +00:00
Mark Andrews
1a1148360e Add missing space to fprintf. 2002-09-12 00:28:52 +00:00
Mark Andrews
a29ef27b39 When a lookup resulted in an nxrrset match of a wildcard, the wildcard
attribute wasn't set on foundname.
Move "else" body to mainline, "if" body end in unconditional goto.
2002-09-10 13:35:54 +00:00
Mark Andrews
a9ae9d743c 1380. [func] 'rndc recursing' dump recursing queries to
'recursing-file = "named.recursing";'.
2002-09-10 04:45:54 +00:00
Mark Andrews
798c83548f add explict dependancies for the generated header files. 2002-09-10 04:45:06 +00:00
Mark Andrews
75ace6601e 1379. [func] 'rndc stats' now reports tcp and recursion quota
states.

1378.   [func]          Improved positive feedback for 'rndc {reload|refresh}.

1377.   [func]          dns_zone_load{new}() now reports if the zone was
                        loaded, queued for loading to up to date.

1376.   [func]          New function dns_zone_logc() to log to specified
                        category.
2002-09-10 02:23:46 +00:00
Mark Andrews
ba4aec8c18 1375. [func] 'rndc dumpdb' now dumps the adb cache along with the
data cache.
2002-09-10 02:06:49 +00:00
Mark Andrews
550085fed1 1374. [func] dns_adb_dump() now logs the lame zones associated
with each server.
* DP now supports debbugging at non-debug levels.
* log fetch failure reasons at DEF_LEVEL.
2002-09-10 02:01:15 +00:00
Mark Andrews
f411c2e81c 1373. [bug] Recovery from expired glue failed under certian
circumstances.
2002-09-10 00:53:31 +00:00
Michael Graff
de6aca419d Rework previous slightly, to only signal if we were using WAITUNTIL() and we
actually have a due time
2002-09-09 21:15:58 +00:00
Michael Graff
e5242f042b When scheduling a new timer, check to see if we missed our last wakeup
by more than 15 seconds.  If we have, SIGNAL().
2002-09-09 20:04:10 +00:00
Michael Graff
88f7da4690 add a new log module, timer 2002-09-09 20:02:22 +00:00
Mark Andrews
6125833e82 isc_timer_poke is thread specific 2002-09-09 06:01:06 +00:00
Mark Andrews
252cebc0fa developer: marka
reviewer: jinmei
TRIEDFIND test had wrong sence.
2002-09-09 02:54:18 +00:00
Michael Graff
c68b63e0be change many debug(3) to debug(1), and several debug(*) to info 2002-09-08 18:37:47 +00:00
Michael Graff
4f39334027 change a message about trailing garbage in a packet from debug(1) to debug(3) 2002-09-08 18:37:12 +00:00
Michael Graff
371147fdc5 add isc_timer_gettype() (useful in debugging code) and a temporary hack of isc_timermgr_poke 2002-09-08 18:35:55 +00:00
Michael Graff
3e42be4026 rename 'worklimited' to 'idle' 2002-09-08 18:35:20 +00:00
Michael Graff
8f7b56e275 add goo for error checking mutexes on (at least) tru64 2002-09-08 18:32:38 +00:00
Tatuya JINMEI 神明達哉
dac197a39f pull up the fix on RT 3509 for 9.2. 2002-09-04 02:47:08 +00:00
Tatuya JINMEI 神明達哉
e992af4209 fixed a bug that named crashes with an assertion failure on exit when sharing
the same port for listening and querying, and changing listening addresses
several times. [RT# 3509]

additionally,
  + limited the canceled socket tasks in dispatch.c
  + made dns_dispatch_changeattributes() care about the NOLISTEN mask
  + described side effects of dns_dispatch_changeattributes() in its
    description comment
2002-09-04 02:26:13 +00:00
Mark Andrews
a39a2424bb '\0' terminate code.
All reasons for marking a server bad should be logged to the lame channel.
2002-08-29 07:01:49 +00:00
Mark Andrews
b6309ed962 developer: jinmei
reviewer: marka
1368.   [func]          remove support for bitstring labels.
2002-08-27 04:53:43 +00:00
Mark Andrews
39fe146f2a developer: marka
reviewed: jinmei
1364.  [func]          Use response times to select forwarders.
2002-08-23 00:27:10 +00:00
Mark Andrews
741a75f81b reviewed: marka
developer: mayer
relative paths
build against openssl 0.9.6g
2002-08-17 01:34:09 +00:00
Mark Andrews
d8ec783e6d reviewed: jinmei
who: marka
1359.   [bug]           remove IF_RUNNING test when scanning interfaces.
2002-08-16 00:05:57 +00:00
Danny Mayer
15e7c81d57 file changes as well as addition of the use of IpHlpApi from the MS Platform SDK 2002-08-11 03:32:56 +00:00
Danny Mayer
24e0175a62 Win32 version for using the registry or resolv.conf for resolver information 2002-08-11 03:29:32 +00:00
Danny Mayer
1433d8f5f4 changed keyword option to options for the resolv.conf file 2002-08-11 03:26:26 +00:00
Mark Andrews
5bd76af084 1358. [func] log the reason for rejecting a server when resolving
queries.
2002-08-09 06:12:50 +00:00
Mark Andrews
ba853e4f14 use lwres_inet_ntop instead of inet_ntop 2002-08-08 21:29:07 +00:00
Mark Andrews
8acbf11b48 backout last change as we have fixed the caller 2002-08-08 21:27:47 +00:00
Mark Andrews
49d69bbad8 use lwres_inet_ntop instead of inet_ntop 2002-08-08 21:14:13 +00:00
Danny Mayer
b983e4618c Change openSSL references to use 0.9.6e instead of 0.9.6b 2002-08-08 19:16:39 +00:00
Danny Mayer
3358dfc691 Add macros for the inet_* unctions to use the lwres functions 2002-08-08 19:13:36 +00:00
Mark Andrews
0456b84736 1357. [bug] --enable-libbind would fail when not built in the
source tree for certain OS's.
2002-08-08 06:31:24 +00:00
Mark Andrews
8bcb0f297b 1257. [bug] --enable-libbind would fail when not built in the
source tree for certian OS's.
2002-08-08 05:54:12 +00:00
Mark Andrews
b3007386ec reviewed: jinmei
1355.   [bug]           It was possible to trigger a INSIST when debugging
                        large dynamic updates. [RT #3390]
2002-08-08 04:54:30 +00:00
Mark Andrews
5c10f54fe3 1355. [bug] It was possible to trigger a INSIST when debugging
large dynamic updates. [RT #3390]
2002-08-06 14:33:08 +00:00
Mark Andrews
bfea32015e update_copyrights 2002-08-06 06:09:07 +00:00
Mark Andrews
e063de4c1a update for 9.2.2rc0 2002-08-06 05:40:47 +00:00
Mark Andrews
bef1bfc2fa 1351. [bug] lwres_getipnodebyname() returned the wrong name
when given a IPv4 literal, af=AF_INET6 and AI_MAPPED
                        was set.
2002-08-06 04:18:44 +00:00
Danny Mayer
8c17b6f1e4 Updated code to support more than 63 accepts and connects by adding capability to add more event_wait threads on demand 2002-08-06 03:32:53 +00:00
Mark Andrews
4b0dcf3782 1355. [tuning] Reduce the number of events / quantum for zone tasks. 2002-08-06 02:24:15 +00:00
Mark Andrews
f1a43a3018 1330. [bug] When processing events (non-threaded) only allow
the task one chance to use to use its quantum.
2002-08-06 02:20:39 +00:00
Mark Andrews
1feb76edcb 1355. [tuning] Reduce the number events / quantum for zone tasks. 2002-08-06 02:16:09 +00:00
Mark Andrews
4c342614f8 1354. [bug] Fix DNSSEC wildcard proof for CNAME/DNAME. 2002-08-06 01:50:28 +00:00
Mark Andrews
891c424e56 update_copyrights 2002-08-05 06:57:16 +00:00
Mark Andrews
cffb3284d6 add 'man' target 2002-08-05 05:06:07 +00:00
Mark Andrews
1bc4e9229e 1354. [doc] lwres man pages had illegal nroff. 2002-08-05 05:04:34 +00:00
Mark Andrews
e72d4d8929 1354. [doc] lwres man pages had illegal nroff. 2002-08-05 04:56:50 +00:00
Mark Andrews
931daf7a9d add "man" target 2002-08-03 04:33:22 +00:00
Danny Mayer
834aa90500 Change isc_win32_version_check name to isc_win32_versioncheck and fix return value to be as reported in the header 2002-08-03 01:36:24 +00:00
Danny Mayer
70406959df Fix NTReportError which needed an array of strings instead of just a pointer to a string 2002-08-03 01:34:14 +00:00
Mark Andrews
bb6936058e 1351. [bug] lwres_getipnodebyname() returned the wrong name
when given a IPv4 literal, af=AF_INET6 and AI_MAPPED
                        was set.
2002-08-02 12:16:57 +00:00
Mark Andrews
b0fbeb1884 1335. [bug] When performing a nonexistence proof, the validator
should discard parent NXTs from higher in the DNS.
2002-08-02 05:39:56 +00:00
Mark Andrews
a914318b06 1334. [bug] When signing/verifying rdatasets, duplicate rdatas
need to be suppressed.
2002-08-02 05:08:49 +00:00
Mark Andrews
47ce2c2150 1340. [bug] Delay and spread out the startup refresh load. 2002-08-02 04:28:03 +00:00
Danny Mayer
5da7016a6c Message header is per I/O and not per socket. Changes made to make them per I/O. 2002-08-02 03:45:56 +00:00
Mark Andrews
77fc134355 spelling 2002-08-02 03:19:36 +00:00
Mark Andrews
4d16509a5a 1097. [func] libbind: RES_PRF_TRUNC for dig. 2002-08-02 03:16:25 +00:00
Mark Andrews
636be34d1e 1089. [func] libbind: inet_{cidr,net}_{pton,ntop}() now have IPv6
support.
2002-08-02 02:17:21 +00:00
Mark Andrews
8d4036ef7b reviewed: marka
1350.   [bug]           dns_name_fromtext() failed to handle too many labels
                        gracefully.
2002-08-02 00:33:05 +00:00
Mark Andrews
0ad5cb4782 1350. [bug] dns_name_fromtext() failed to handle too many labels
gracefully.
2002-08-02 00:25:15 +00:00
Danny Mayer
dd472802de ipv6 cleanup and reorganization of header information 2002-08-01 03:56:08 +00:00
Danny Mayer
5a18a1174d Version-specific functions 2002-08-01 03:54:30 +00:00
Danny Mayer
931e557ecf Fixed code to check for NULL before freeing buffer 2002-08-01 03:52:14 +00:00
Danny Mayer
1ceb6aa154 Added Windows-specific error codes to list 2002-08-01 03:50:24 +00:00
Danny Mayer
4d9aec9c8c Redesigned sockets to use I/O Completion Ports and Events and eliminating multiple socket bugs reported 2002-08-01 03:46:21 +00:00
Danny Mayer
de4f4b6c58 Added NTReportError to use when the Event Log is not open for updates 2002-08-01 03:43:31 +00:00
Danny Mayer
498e1c30b2 Moved Win32 Version information to Win32os.c 2002-08-01 03:41:49 +00:00
Danny Mayer
d3e0cb0000 Win32 Version information 2002-08-01 03:40:21 +00:00
Danny Mayer
ace73367af Added files and functions 2002-08-01 03:37:01 +00:00
Danny Mayer
59d1535572 casts required 2002-08-01 03:31:44 +00:00
Danny Mayer
ae5b8edf7d Fix the timeout to really use microseconds and not milliseconds that were mistakenly used for the timeval structure. 2002-07-31 03:10:58 +00:00
Mark Andrews
87f4715d6c 1344. [func] Log if the serial number on the master has gone backwards.
If you have multiple machines specified in the masters
                        clause you may want to set 'multi-master yes;' to suppress
                        this warning.
2002-07-29 06:58:46 +00:00
Mark Andrews
3733c24efa 1342, [func] Log remote address with TCP dispatch failures. 2002-07-29 01:03:24 +00:00
Mark Andrews
c8b06dc2f9 "make install" failed to install grammar.h and namedconf.h 2002-07-29 00:43:40 +00:00
Mark Andrews
2ee2c1be18 EAI_NODATA is platform dependent. 2002-07-29 00:35:17 +00:00
Mark Andrews
012a2b979e 1341. [func] Allow a rate limiter to be stalled. 2002-07-26 06:42:02 +00:00
Mark Andrews
f6ff008101 1340. [bug] Delay and spread out the startup refresh load. 2002-07-26 06:27:31 +00:00
Mark Andrews
f0471ca4b7 1336. [func] Nibble lookups under IP6.ARPA are now supported by
dns_byaddr_create().  dns_byaddr_createptrname() is
                        deprecated, use dns_byaddr_createptrname2() instead.
2002-07-24 06:42:32 +00:00
Mark Andrews
03d337f54a For some zones, querying for a DS record before anything else would SERVFAIL. 2002-07-23 03:41:44 +00:00
Mark Andrews
638fe804a5 1255. [bug] When performing a nonexistence proof, the validator
should discard parent NXTs from higher in the DNS.
2002-07-22 03:00:49 +00:00
Mark Andrews
9db3d9d14e 1254. [bug] When signing/verifying rdatasets, duplicate rdatas
need to be suppressed.
2002-07-22 02:49:14 +00:00
Mark Andrews
0b75a2dd3b 1252. [func] Report the current serial with periodic commits when
rolling forward the journal.
2002-07-22 02:06:04 +00:00
Mark Andrews
c54c1eaf26 1251. [func] Generate DNSSEC wildcard proofs. 2002-07-19 03:50:42 +00:00
Mark Andrews
0d993c02ba 1250. [bug] When processing events (non-threaded) only allow
the task one chance to use to use its quantum.
2002-07-19 03:39:44 +00:00
Mark Andrews
ff30cdeb78 The validator didn't handle missing DS records correctly. 2002-07-19 03:29:15 +00:00
Mark Andrews
4d9f3f00d9 1249. [func] named-checkzone will now check if nameservers that
appear to be IP addresses.  Available modes "fail",
                        "warn" (default) and "ignore" the results of the
                        check.
2002-07-19 02:34:58 +00:00
Mark Andrews
d196b45738 1248. [bug] The validator could incorrectly verify an invalid
negative proof.
2002-07-15 03:27:44 +00:00
Mark Andrews
86f6b92e35 1248. [bug] The validator could incorrectly verify an invalid
negative proof.

When checking the range of the nxt record, the code needs to handle
the case where the 'next name' field points to the origin.  The way
that the origin was determined was looking at the 'signer' field
of the first SIG NXT, since NXTs are signed by the zone key.  This
doesn't work, because the first SIG could have been spoofed.  It
now defers checking the nxt range until both the SOA and NXT have
been verified, and uses the owner of the SOA name as the origin.
bwelling
2002-07-15 03:25:28 +00:00
Mark Andrews
0b2aba2cd2 reviewed: marka/bwelling
1247.   [bug]           The validator would incorrectly mark data as insecure
                        when seeing a bogus signature before a correct
                        signature.
2002-07-15 03:02:56 +00:00
Mark Andrews
25276bd1ec 1247. [bug] The validator would incorrectly mark data as insecure
when seeing a bogus signature before a correct
                        signature.
2002-07-15 02:57:14 +00:00
Mark Andrews
0d4c51dfd6 reviewed: marka
1246.   [bug]           DNAME/CNAME signatures were not being cached when
                        validation was not being performed. [RT #3284]
2002-07-15 02:28:07 +00:00
Mark Andrews
320d6ee24e 1246. [bug] DNAME/CNAME signatures were not being cached when
validation was not being performed. [RT #3284]
2002-07-15 02:23:58 +00:00
Mark Andrews
a009918e2f reviewed: bwelling
1314.   [func]          libbind: no longer attempts bit string labels for
                        IPv6 reverse resolution.  Try IP6.ARPA then IP6.INT
                        for nibble style resolution.
2002-07-14 04:31:45 +00:00
Mark Andrews
2099644f0d reviewed: bwelling
1096.   [func]          libbind: "DNSSEC OK" (DO) support.
2002-07-14 04:26:59 +00:00
Mark Andrews
a2537d9b00 reviewed: bwelling
1095.   [func]          libbind: resolver option: no-tld-query.  disables
                        trying unqualified as a tld.  no_tld_query is also
                        supported for FreeBSD compatability.
2002-07-14 02:27:10 +00:00
Mark Andrews
981e5046e0 max-journal-size is a zone option 2002-07-13 00:53:34 +00:00
Mark Andrews
e41340e97a make distclean should remove "make/rules", "make/includes" and "make/mkdep" 2002-07-12 01:45:59 +00:00
Mark Andrews
0996973920 distclean 2002-07-12 01:42:22 +00:00
Mark Andrews
c1a634d46b remove dead code 2002-07-12 01:23:16 +00:00
Mark Andrews
d600a66f52 white space 2002-07-12 01:20:15 +00:00
Mark Andrews
e2f5e9a858 reviewed: halley
1339.   [func]          libbind: log attempts to exploit #1338.
2002-07-12 01:10:23 +00:00
Mark Andrews
29a9388fc1 regen 2002-07-12 00:54:39 +00:00
Mark Andrews
96afc32570 silence warning 2002-07-12 00:51:41 +00:00
Mark Andrews
84805b3216 reviewed: bwelling
gettimeofday.h is no longer require (prototype in port_after.h).
2002-07-12 00:49:52 +00:00
Mark Andrews
65bbe3a2cb pullup:
There are four "i":s in "initialize"
2002-07-12 00:17:28 +00:00
Mark Andrews
2dbeb26f3d reviewed: bwelling
1094.   [func]          libbind: add support gcc's format string checking.
2002-07-11 23:32:35 +00:00
Mark Andrews
41df3594b4 libtool 2002-07-11 06:02:37 +00:00
Mark Andrews
b839c5abec 1338. [bug] libbind: Remote buffer overrun. 2002-07-11 05:55:05 +00:00
Mark Andrews
e368e45536 reviewed: bwelling
1242.   [bug]           named-checkzone failed if a journal existed. [RT #2657]
2002-07-11 05:44:11 +00:00
Mark Andrews
ee5bf99761 reviewed: bwelling
1337.   [port]          libbind: TrueUNIX 5.1 does not like __align as a
                        element name.
2002-07-11 04:15:20 +00:00
Mark Andrews
04a4e2f5c0 reviewed: bwelling
pullup: ns_r_badvers extended error code
2002-07-11 04:10:34 +00:00
Mark Andrews
c3cdf325b5 reviewed: bwelling
1336.   [bug]           libbind: gethostans() could get out of sync parsing
                        the response if there was a very long CNAME chain.
2002-07-11 04:08:06 +00:00
Mark Andrews
c6ce103cf8 reviewed: bwelling
1334.   [port]          Handle ECONNRESET from sendmsg() [unix].
2002-07-11 04:04:26 +00:00
Mark Andrews
d322581e16 reviewed: bwelling
1331.   [bug]           lwres_getrrsetbyname leaked memory.  [RT #3159]
2002-07-11 04:01:17 +00:00
Mark Andrews
380a309889 reviewed: bwelling
1318.   [bug]           The CINCLUDES macro in lib/dns/sec/dst/Makefile
                        could be left with a trailing "\" after configure
                        has been run.
2002-07-11 03:47:17 +00:00
Mark Andrews
a968e6b0b1 reviewed: bwelling
1317.   [port]          linux: make handling EINVAL from socket() no longer
                        conditional on #ifdef LINUX.
2002-07-11 03:43:19 +00:00
Mark Andrews
b33cab0cdc reviewed: bwelling
1316.   [bug]           isc_log_closefilelogs() needed to lock the log
                        context.
2002-07-11 03:39:06 +00:00
Mark Andrews
90656e32ea reviewed: bwelling
1315.   [bug]           isc_log_setdebuglevel() needed to lock the log
                        context.
2002-07-11 02:32:35 +00:00
Mark Andrews
3e99d38a74 reviewed: bwelling
1308.   [bug]           Adjusted REQUIRE's in lib/dns/name.c to better
                        reflect written requirements.
2002-07-11 01:29:00 +00:00
Mark Andrews
456813d719 reviewed: bwelling
1307.   [bug]           REQUIRE that DNS_DBADD_MERGE only be set when adding
                        a rdataset to a zone db in the rbtdb implementation of
                        addrdataset.
2002-07-10 07:03:04 +00:00
Mark Andrews
35f725a8b6 reviewed: bwelling
1306.   [bug]           dns_name_downcase() enforce requirement that
                        target != NULL or name->buffer != NULL.
2002-07-10 06:48:29 +00:00
Mark Andrews
c4610cb161 reviewed: bwelling
1304.  [bug]           The RTT estimate on unused servers was not aged.
                       [RT #2569]
2002-07-10 06:43:01 +00:00
Mark Andrews
ecb325ac83 reviewed: bwelling
1302.   [port]          libbind: hpux 11.11 interface scaning.
2002-07-10 06:36:26 +00:00
Mark Andrews
c3fad928e8 reviewed: bwelling
1300.   [bug]           libbind: escape '(' and ')' when coverting to
                        presentation form.
2002-07-10 06:32:48 +00:00
Mark Andrews
2ea0604c6f reviewed: bwelling
1299.   [port]          Darwin uses (unsigned long) for size_t. [RT #2590]
2002-07-10 06:10:45 +00:00
Mark Andrews
05151ddebe reviewed: bwelling
1294.   [bug]           Memory leak in lwres_gnbarequest_parse().
2002-07-10 06:05:07 +00:00
Mark Andrews
8b46b247f8 reviewed: bwelling
1293.  [port]          libbind: solaris: 64 bit binary compatability.
2002-07-10 06:01:52 +00:00
Mark Andrews
a2564ceb47 reviewed: bwelling
1286.   [bug]           ISC_LINK_INIT, ISC_LINK_UNLINK, ISC_LIST_DEQUEUE,
                        __ISC_LINK_UNLINKUNSAFE and __ISC_LIST_DEQUEUEUNSAFE
                        are not C++ compatible, use *_TYPE versions instead.
2002-07-10 05:30:01 +00:00
Mark Andrews
b42b4dba28 reviewed: bwelling
1285.   [bug]           libbind: LINK_INIT and UNLINK were not compatible with
                        C++, use LINK_INIT_TYPE and UNLINK_TYPE instead.
2002-07-10 05:22:34 +00:00
Mark Andrews
22f851eb69 reviewed: bwelling
1281.   [func]          libbind: ns_sign2() and ns_sign_tcp() now provide
                        support for compressed TSIG owner names.
2002-07-10 05:19:27 +00:00
Mark Andrews
ecf4ee42f5 reviewed: bwelling
1280.   [func]          libbind: res_update can now update IPv6 servers,
                        new function res_findzonecut2().
2002-07-10 05:15:24 +00:00
Mark Andrews
ca4723bccb 1279. [bug] libbind: get_salen() IPv6 support was broken for OSs
w/o sa_len.
2002-07-10 05:10:35 +00:00
Mark Andrews
fbf3c04dbf reviewed: bwelling
1278.   [bug]           libbind: res_nametotype() and res_nametoclass() were
                        broken.
2002-07-10 04:56:20 +00:00
Mark Andrews
611a2d5f0b reviewed: bwelling
add ECONNREFUSED
2002-07-10 04:49:58 +00:00
Mark Andrews
dd6234eb00 reviewed: bwelling
1245.  [bug]           Treat ENOBUFS, ENOMEM and ENFILE as soft errors for
                       accept().
2002-07-10 00:24:46 +00:00
Mark Andrews
f324e3cfdf reviewed: bwelling
1241.   [bug]           Drop received UDP messsages with a zero source port
                        as these are invariably forged. [RT #2621]
2002-07-10 00:04:57 +00:00
Mark Andrews
53f9ddf27c silence pointer mismatch 2002-07-04 04:19:54 +00:00
Mark Andrews
6244f49146 protect clua_context access w/ #ifdef 2002-07-03 06:25:32 +00:00
Mark Andrews
70fc53059f 1326. [bug] Badly encoded LOC record when the size, horizontal
precision or vertical precision was 0.1m.
2002-07-02 13:53:41 +00:00
Mark Andrews
84a74fe703 1296. [bug] libbind: const pointer conficts in res_debug.c. 2002-07-02 10:15:42 +00:00
Mark Andrews
7fd9fd9e4c TRUCLUSTER support: isc_interfaceiter_first() should set clua_context. 2002-07-02 05:51:43 +00:00
Mark Andrews
676a907102 1295. [port] libbind: hpux: treat all hpux systems as BIG_ENDIAN. 2002-07-02 05:00:17 +00:00
Mark Andrews
b6cb507ae8 reviewed: marka
1275.   [bug]           When verifying that an NXT proves nonexistence, check
                        the rcode of the message and only do the matching NXT
                        check.  That is, for NXDOMAIN responses, check that
                        the name is in the range between the NXT owner and
                        next name, and for NOERROR NODATA responses, check
                        that the type is not present in the NXT bitmap.
2002-07-02 04:02:23 +00:00
Mark Andrews
b6231164de reviewed: bwelling
1330.   [bug]           'rndc stop' failed to cause zones to be flushed
                        sometimes. [RT #3157]
2002-07-02 02:43:34 +00:00
Mark Andrews
89251e453b result undeclared, #include <isc/log.h> 2002-07-01 23:00:38 +00:00
Mark Andrews
ecf7a18125 isc_modules[2] not isc_modules[3] 2002-07-01 01:39:45 +00:00
Mark Andrews
fe4d3e1992 hpux: ioctl(SIOCGLIFCONF) failure -> debug(1) 2002-07-01 01:08:37 +00:00
Mark Andrews
54532c5413 1339. [func] libbind: log attempts to exploit #1338. 2002-06-28 06:12:42 +00:00
Mark Andrews
020f7361a4 1338. [bug] libbind: Remote buffer overrun. 2002-06-28 06:06:24 +00:00
Mark Andrews
e8fb857c20 consistant white space w/ BIND 8 2002-06-28 05:59:22 +00:00
Mark Andrews
1c0927d8a0 1337. [port] libbind: TrueUNIX 5.1 does not like __align as a
element name.
2002-06-28 05:46:10 +00:00
Mark Andrews
e817515a6c pullup: ns_r_badvers extended error code 2002-06-28 05:41:56 +00:00
Mark Andrews
446ff1959c pullup from BIND 8
1336.   [bug]           libbind: gethostans() could get out of sync parsing
                        the response if there was a very long CNAME chain.
2002-06-28 05:00:55 +00:00
Mark Andrews
33c5380153 1334. [port] Handle ECONNRESET from sendmsg() [unix]. 2002-06-26 00:12:54 +00:00
Mark Andrews
51ff296fef regen so both configures are built using the same autoconf 2002-06-24 23:41:06 +00:00
Mark Andrews
d9e0458a89 1331. [bug] lwres_getrrsetbyname leaked memory. [RT #3159] 2002-06-20 02:31:17 +00:00
Mark Andrews
880f50a1e6 Protect both the socket and fifo tests with #ifdef's. 2002-06-20 01:19:51 +00:00
Mark Andrews
de49761421 1330. [bug] 'rndc stop' failed to cause zones to be flushed
sometimes. [RT #3157]
2002-06-19 07:14:48 +00:00
Mark Andrews
5758e9adfb 1329. [func] Log that a zone transfer was covered by a TSIG. 2002-06-19 06:47:25 +00:00
Mark Andrews
b0d31c78bc uninitalised variable 2002-06-19 04:15:12 +00:00
Mark Andrews
0b09763c35 1328. [func] DS (delegation signer) support. 2002-06-17 04:01:37 +00:00
Mark Andrews
e0fa16fe19 1326. [bug] Badly encoded LOC record when the size, horizontal
precision or vertical precision was 0.1m.
2002-06-14 23:40:14 +00:00
Mark Andrews
d9fb0422ae remove change 1284 2002-06-13 07:32:54 +00:00
Mark Andrews
5991ce4236 remove change #1284 2002-06-13 07:25:25 +00:00
Mark Andrews
7d389c324c 1324. [func] New function: dns_zone_name(). 2002-06-13 07:05:47 +00:00
Mark Andrews
e2cf63c5df 1218. [port] Compaq Trucluster support. 2002-06-07 00:03:50 +00:00
Mark Andrews
38ded52dbb Handle OS's with incomplete API's 2002-06-06 00:55:48 +00:00
Mark Andrews
c3184b4e2a 1219. [bug] Set AI_ADDRCONFIG when looking up addresses
via getaddrinfo() (affects dig, host, nslookup, rndc
                        and nsupdate).
2002-06-06 00:27:37 +00:00
Mark Andrews
9b7c023fe6 1218. [bug] The CINCLUDES macro in lib/dns/sec/dst/Makefile
could be left with a trailing "\" after configure
                        has been run.
2002-06-05 22:34:57 +00:00
Mark Andrews
918102a7d2 mask of mode format bits and compare result 2002-06-05 02:20:59 +00:00
Mark Andrews
5ddbaad44e || should have been && in #if test. 2002-06-04 23:26:16 +00:00
Mark Andrews
0a1fa37641 1217. [port] linux: make handling EINVAL from socket() no longer
conditional on #ifdef LINUX.
2002-06-03 06:31:16 +00:00
Mark Andrews
c61ec97ae0 1216. [bug] isc_log_closefilelogs() needed to lock the log
context.
2002-06-03 04:34:19 +00:00
Mark Andrews
49f7d1585e 1215. [bug] isc_log_setdebuglevel() needed to lock the log
context.
2002-06-03 03:39:56 +00:00
Mark Andrews
0b1af13f68 pullup:
1314.   [func]          libbind: no longer attempts bit string labels for
                        IPv6 reverse resolution.  Try IP6.ARPA then IP6.INT
                        for nibble style resolution.
2002-06-03 00:34:58 +00:00
Mark Andrews
945cb085b8 1213. [func] Entropy can now be retrieved from EGDs. [RT #2438] 2002-05-30 04:21:17 +00:00
Mark Andrews
5ed4b0d445 1212. [func] Enable IPv6 support when using ioctl style interface
scanning and OS supports SIOCGLIFADDR using struct
                        if_laddrreq.
2002-05-30 01:28:53 +00:00
Mark Andrews
c549b3a4d5 1211. [func] Enable IPv6 support when using sysctl style interface
scanning.
2002-05-30 01:24:12 +00:00
Mark Andrews
8f96645217 1208. [bug] Adjusted REQUIRE's in lib/dns/name.c to better
reflect written requirements.
2002-05-29 00:27:53 +00:00
Mark Andrews
da091cda77 1207. [bug] REQUIRE that DNS_DBADD_MERGE only be set when adding
a rdataset to a zone db in the rbtdb implementation of
                        addrdataset.
2002-05-28 05:49:20 +00:00
Mark Andrews
d8d489cd8e 1206. [bug] dns_name_downcase() enforce requirement that
target != NULL or name->buffer != NULL.
2002-05-28 03:39:46 +00:00
Mark Andrews
f93fad20d4 check location before dereference 2002-05-27 11:37:40 +00:00
Mark Andrews
5fdea8467e Define SETFAMILYFLAGS, tidy. 2002-05-27 07:54:35 +00:00
Mark Andrews
bdb1394788 1205. [func] lwres: probe the system to see what address families
are currently in use.
2002-05-27 06:54:48 +00:00
Mark Andrews
c8aa2c8311 1204. [bug] The RTT estimate on unused servers was not aged.
[RT #2569]
2002-05-27 06:30:25 +00:00
Mark Andrews
a1edcd1b8d 1203. [func] Use "dataready" accept filter if available. 2002-05-27 00:40:23 +00:00
Mark Andrews
5b1627d469 1302. [port] libbind: hpux 11.11 interface scaning. 2002-05-24 06:52:39 +00:00
Mark Andrews
8989de1059 1300. [bug] libbind: escape '(' and ')' when coverting to
presentation form.
2002-05-24 05:21:42 +00:00
Mark Andrews
acc8b7ac3d 1299. [port] Darwin uses (unsigned long) for size_t. [RT #2590] 2002-05-23 04:32:30 +00:00
Mark Andrews
a2734fa74a isc_file_renameunique() no longer used mkstemp(). 2002-05-22 05:57:17 +00:00
Mark Andrews
b9efcf0a37 1297. [func] You can now create your own customised printing
styles: dns_master_stylecreate() and
                        dns_master_styledestroy().
2002-05-21 06:12:45 +00:00
Mark Andrews
8e5893c36c 1296. [bug] libbind: const pointer conficts in res_debug.c. 2002-05-21 02:07:50 +00:00
Mark Andrews
e396939d49 1295. [port] libbind: hpux: treat all hpux systems as BIG_ENDIAN. 2002-05-20 04:29:29 +00:00
Mark Andrews
9549a96654 1294. [bug] Memory leak in lwres_gnbarequest_parse(). 2002-05-17 02:30:37 +00:00
Mark Andrews
3d822d111c 1293. [port] libbind: solaris: 64 bit binary compatability. 2002-05-16 04:47:56 +00:00
Mark Andrews
a6540ffa21 pullup:
1288.   [port]          Openserver: the value FD_SETSIZE depends on whether
                        <sys/param.h> is included or not.  Be consistant.
2002-05-10 06:54:40 +00:00
Mark Andrews
26cf4737b3 1288. [port] Openserver: the value FD_SETSIZE depends on whether
<sys/param.h> is included or not.  Be consistant.
2002-05-10 06:41:55 +00:00
Mark Andrews
34e5a08809 1287. [func] isc_file_openunique() now creates file using mode
0666 rather than 0600.
2002-05-09 09:08:56 +00:00
Mark Andrews
0cd36f1d15 1286. [bug] ISC_LINK_INIT, ISC_LINK_UNLINK, ISC_LIST_DEQUEUE,
__ISC_LINK_UNLINKUNSAFE and __ISC_LIST_DEQUEUEUNSAFE
                        are not C++ compatible, use *_TYPE versions instead.
2002-05-09 07:09:30 +00:00
Mark Andrews
93649589d4 1285. [bug] libbind: LINK_INIT and UNLINK were not compatible with
C++, use LINK_INIT_TYPE and UNLINK_TYPE instead.
2002-05-09 02:01:27 +00:00
Mark Andrews
ec5f67b8cf 1284. [bug] Memory leak if dns_db_beginload() failed. 2002-05-08 07:23:25 +00:00
Mark Andrews
29f5bb81e2 1284. [bug] Memory leak if dns_db_beginload() failed. 2002-05-08 06:51:52 +00:00
Mark Andrews
0b9f0f114a 1283. [bug] Reference after free error if dns_dispatchmgr_create()
failed.
2002-05-08 06:38:14 +00:00
Mark Andrews
ddc592d128 1283. [bug] Reference after free error if dns_dispatchmgr_create()
failed.
2002-05-08 06:34:30 +00:00
Mark Andrews
bd6ad47c3d 1281. [func] libbind: ns_sign2() and ns_sign_tcp() now provide
support for compressed TSIG owner names.
2002-05-06 06:29:41 +00:00
Mark Andrews
c7c1bf7dc1 1280. [func] libbind: res_update can now update IPv6 servers,
new function res_findzonecut2().
2002-05-06 04:12:55 +00:00
Mark Andrews
9e205a3c51 1279. [bug] libbind: get_salen() IPv6 support was broken for OSs
w/o sa_len.
2002-05-03 06:13:27 +00:00
Mark Andrews
e823642ec0 1278. [bug] libbind: res_nametotype() and res_nametoclass() were
broken.
2002-05-03 06:04:55 +00:00
Mark Andrews
ac70982956 add ECONNREFUSED 2002-05-03 05:43:40 +00:00
Mark Andrews
ab36b9cfee add config.h 2002-05-02 06:55:23 +00:00
Mark Andrews
c99d9017ba 1275. [bug] When verifying that an NXT proves nonexistence, check
the rcode of the message and only do the matching NXT
                        check.  That is, for NXDOMAIN responses, check that
                        the name is in the range between the NXT owner and
                        next name, and for NOERROR NODATA responses, check
                        that the type is not present in the NXT bitmap.
2002-04-29 23:50:26 +00:00
Mark Andrews
c4a9ce445c 1274. [func] preferred-glue option from BIND 8.3. 2002-04-26 00:40:37 +00:00
Mark Andrews
c1e52e6097 update for 9.2.1 2002-04-23 03:38:55 +00:00
Mark Andrews
eeb2e36c5a update_copyrights 2002-04-23 02:28:55 +00:00
Mark Andrews
dee7d91a52 reviewed by: bwelling@nominum.com
1269.   [bug]           Missing masters clause was not handled gracefully.
                        [RT #2703]
2002-04-23 02:00:03 +00:00
Mark Andrews
ced2a93ebc 1178. [bug] Follow and cache (if appropriate) A6 and other
data chains to completion in the additional section.
2002-04-19 01:11:19 +00:00
Mark Andrews
984c39beed 1269. [bug] Missing masters clause was not handled gracefully.
[RT #2703]
2002-04-17 01:23:15 +00:00
Mark Andrews
410b02f399 use relative paths 2002-04-10 03:53:06 +00:00
Mark Andrews
59bbc667bc Use relative paths 2002-04-10 03:51:43 +00:00
Mark Andrews
c311ed52d4 1247. [bug] Don't reset the interface index for link/site local
addresses. [RT #2576]
2002-04-03 06:44:11 +00:00
Mark Andrews
79a6a33184 1246. [func] New functions isc_sockaddr_issitelocal(),
isc_sockaddr_islinklocal(), isc_netaddr_issitelocal()
                        and isc_netaddr_islinklocal().
2002-04-03 06:38:38 +00:00
Mark Andrews
5d26560e2b 1245. [bug] Treat ENOBUFS, ENOMEM and ENFILE as soft errors for
accept().

HPUX 11.11 returns ENOBUFS when the TCP connecting is closed before accept.
ENOMEM and ENFILE were also recommend by HP to be treated as soft for accept().
2002-04-03 05:41:20 +00:00
Mark Andrews
d6fbfd28ea 1243. [bug] It was possible to trigger a REQUIRE() in
dns_message_findtype(). [RT #2659]
2002-04-03 02:44:57 +00:00
Mark Andrews
2eeaed2812 missed one change 2002-04-02 08:04:42 +00:00
Mark Andrews
7791dd06ea 1242. [bug] named-checkzone failed if a journal existed. [RT #2657] 2002-04-02 06:54:07 +00:00
Mark Andrews
abc93ada82 rrset-order cyclic w/ sortlist broken. 2002-04-02 06:06:29 +00:00
Mark Andrews
091b098b49 1241. [bug] Drop received UDP messsages with a zero source port
as these are invariably forged. [RT #2621]
2002-04-02 04:36:52 +00:00
Mark Andrews
42823e32ea pullup:
INSIST that there are no outstanding tasks when the task manager is
about to be destroyed (non-threaded).  This will also produce more
useful core dumps if triggered.
2002-03-29 01:41:01 +00:00
Mark Andrews
0bd9d19281 INSIST that there are no outstanding tasks when the task manager is
about to be destroyed (non-threaded).
2002-03-29 01:25:04 +00:00
Mark Andrews
769c637e95 pullup:
1238.   [bug]           It is possible to lockup the server when shutting down
                        if notifies are being processed. [RT #2591]
2002-03-29 00:20:07 +00:00
Mark Andrews
ee95e5b2d3 pullup:
Change 1236 was incorrect.  [RT #2611]
2002-03-27 23:52:33 +00:00
Mark Andrews
9be230cfca make val unsigned as we are now using strtoul(). 2002-03-27 23:31:32 +00:00
Mark Andrews
f0ffc28f61 1238. [bug] It is possible to lockup the server when shutting down
if a notifies were being processed. [RT #2591]
2002-03-27 04:48:21 +00:00
Mark Andrews
beed6a0e22 Change 1236 was incorrect. [RT #2611] 2002-03-27 03:31:49 +00:00
Mark Andrews
57a877555a update for 9.2.1rc2 2002-03-26 03:39:30 +00:00
Mark Andrews
b2f3e5c308 update_copyrights 2002-03-26 00:55:15 +00:00
Mark Andrews
8c7d74701d pullup:
lock mctx for DELETE_TRACE call in isc__mempool_put()
2002-03-20 22:51:43 +00:00
Mark Andrews
1cf32ab2b3 pullup:
1236.   [bug]           dns_rdata{class,type}_fromtext() didn't handle non
                        NULL terminated text regions. [RT #2588]
2002-03-20 22:41:58 +00:00
Mark Andrews
18360f880c missed it part 2002-03-20 22:25:58 +00:00
Mark Andrews
f8656a8bd6 missed this 2002-03-20 22:20:59 +00:00
Mark Andrews
21ca3480cd 4->5 2002-03-20 22:06:07 +00:00
Mark Andrews
93304856f9 add missing result codes 2002-03-20 21:29:47 +00:00
Mark Andrews
e5a402d95e pullup:
1232.   [bug]           unix/errno2result() didn't handle EADDRNOTAVAIL.
2002-03-20 20:59:39 +00:00
Mark Andrews
034804a048 pullup:
1231.   [port]          HPUX 11.11 recvmsg() can return spurious EADDRNOTAVAIL.
2002-03-20 20:56:44 +00:00
Mark Andrews
9789fdd98b pullup:
1230.   [bug]           isccc_cc_isreply() and isccc_cc_isack() were broken.
2002-03-20 20:53:06 +00:00
Mark Andrews
e4166c0e05 pullup:
1227.   [bug]           dns_lex_getmastertoken() now returns ISC_R_BADNUMBER
                        if a number was expected and some other token was
                        found. [RT#2532]
2002-03-20 20:44:18 +00:00
Mark Andrews
356880d58e pullup:
1222.   [bug]           Specifying 'port *' did not always result in a system
                        selected (non-reserved) port being used. [RT #2537]
2002-03-20 20:39:51 +00:00
Mark Andrews
4da8460d04 pullup:
1218.   [bug]           Named incorrectly returned SERVFAIL rather than
                        NOTAUTH when there was a TSIG BADTIME error. [RT #2519]
2002-03-20 20:27:21 +00:00
Mark Andrews
ba8a105802 pullup:
1216.   [bug]           Multiple server clauses for the same server were not
                        reported.  [RT #2514]
2002-03-20 20:21:15 +00:00
Mark Andrews
a295792f8d pullup:
1214.   [bug]           Win32: isc_file_renameunique() could leave zero length
                        files behind.
2002-03-20 19:50:54 +00:00
Mark Andrews
ede71ed60b pullup:
1212.   [port]          libbind: 64k answer buffers were causing stack space
                        to be exceeded for certian OS.  Use heap space instead.
2002-03-20 19:44:40 +00:00
Mark Andrews
9e7dfa38b4 pullup:
1211.   [bug]           dns_name_fromtext() incorrectly handled certain
                        valid octal bitlabels. [RT #2483]
2002-03-20 19:38:49 +00:00
Mark Andrews
18a3d3ea3d pullup:
1210.   [bug]           libbind: getnameinfo() failed to lookup IPv4 mapped /
                        compatible addresses. [RT #2461]
2002-03-20 19:31:14 +00:00
Mark Andrews
fdae17c884 pullup:
1229.   [bug]           named would crash if it received a TSIG signed
                        query as part of an AXFR response. [RT #2570]
2002-03-20 19:24:37 +00:00
Mark Andrews
d5d160a7bd silence compiler 2002-03-20 19:20:29 +00:00
Mark Andrews
433695cce3 pullup:
1208.   [bug]           dns_master_load*() failed to log a error message if
                        an error was detected when parsing the ownername of
                        a record.  [RT #2448]
2002-03-20 19:15:13 +00:00
Mark Andrews
8695d7b357 1236. [bug] dns_rdata{class,type}_fromtext() didn't handle non
NULL terminated text regions. [RT #2588]
2002-03-20 17:12:29 +00:00
Mark Andrews
f76c4ebaf5 1235. [func] Report 'out of memory' errors from openssl. 2002-03-19 04:30:57 +00:00
Mark Andrews
72b6ec6e5d lock mctx for DELETE_TRACE call in isc__mempool_put() 2002-03-19 02:40:16 +00:00
Brian Wellington
d56fa53141 Only allow hex or decimal when parsing key flags, not octal. 2002-03-17 18:59:43 +00:00
Brian Wellington
81e302788a 1233. [bug] The flags field of a KEY record can be expressed in
hex as well as decimal.
2002-03-17 18:50:21 +00:00
Mark Andrews
c00a1eb423 1232. [bug] unix/errno2result() didn't handle EADDRNOTAVAIL. 2002-03-15 05:01:33 +00:00
Mark Andrews
1e258716ac 1231. [port] HPUX 11.11 recvmsg() can return spurious EADDRNOTAVAIL. 2002-03-15 04:59:03 +00:00
Mark Andrews
d972fa3178 1230. [bug] isccc_cc_isreply() and isccc_cc_isack() were broken. 2002-03-15 04:54:58 +00:00
Brian Wellington
4b171ebd70 1229. [bug] named would crash if it received a TSIG signed
query as part of an AXFR response. [RT #2570]
2002-03-14 18:34:48 +00:00