Commit graph

6291 commits

Author SHA1 Message Date
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