Commit Graph

178 Commits

Author SHA1 Message Date
reed 90b621c7d8 Replace docbook tag with roff.
(It was used in wrong context so wasn't replaced.)
I reported this upstream and provided fix to lwresd.docbook.
I didn't commit fix here for docbook file, because
NetBSD doesn't regenerate the manual page.
2008-09-24 21:14:07 +00:00
christos 1a8ca97519 Don't fill up /var/log/messages when the network is down; log EDNS failures
at debug 3.
2008-08-27 05:28:42 +00:00
he 2b2bbd444f Resolve conflicts from import of bind 9.5.0-P2. 2008-08-15 14:51:26 +00:00
he d552782165 Import bind 9.5.0-P2 2008-08-15 14:41:33 +00:00
he 8df376afb4 Import bind 9.5.0-P2 2008-08-15 14:39:30 +00:00
dsl 345ef58291 Comment out the 'continue' in EXPECTEOL().
It only terminates execution of the 'do .. while (0)' loop.
EXPECTEOL() is always followed by 'continue' when called.
2008-07-25 22:09:52 +00:00
christos 7d50e0f80c resolve conflicts 2008-07-10 21:18:37 +00:00
christos 0a48355ff6 Import bind 9.5.0-P1 2008-07-10 14:17:08 +00:00
christos 14a6095c32 don't initialize fetch twice. 2008-06-23 18:10:26 +00:00
christos 362bb1e6c4 don't initialize the same variable twice. 2008-06-23 17:54:01 +00:00
christos b06624789f fix prototype 2008-06-21 20:55:56 +00:00
christos c3d3a6e4b6 Resolve conflicts 2008-06-21 18:59:24 +00:00
christos d50bc8ead7 import bind-9-5-0 2008-06-21 18:25:42 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
matt c27877a59b progname is const char *, not char * 2008-02-20 18:24:22 +00:00
matt 05ec472001 constify a few arrays 2008-02-20 18:23:50 +00:00
matt 273fa51a4d progname is defined as const char *, not char * 2008-02-20 18:21:39 +00:00
mrg 313548c7c8 fix a MKCRYPTO=no bug - default_memalloc()/default_memfree() are
defined static but not used.
2008-02-03 04:07:34 +00:00
christos 4e783482fa Fix off-by-one buffer overflow. VU#203611, CVE-2008-0122 2008-01-18 16:20:57 +00:00
tls 642c01f5cd Mollify NetBSD's lint (which brokenly doesn't define __STDC__ and thus
picks up a bogus assert() macro from assert.h) by not putting double
quotes too close to macro using assert().
2007-11-04 22:02:35 +00:00
christos 5b94024b59 Import bind 9.4.1-P1
2206.   [security]      "allow-query-cache" and "allow-recursion" now
                        cross inherit from each other.

                        If allow-query-cache is not set in named.conf then
                        allow-recursion is used if set, otherwise allow-query
                        is used if set, otherwise the default (localnets;
                        localhost;) is used.

                        If allow-recursion is not set in named.conf then
                        allow-query-cache is used if set, otherwise allow-query
                        is used if set, otherwise the default (localnets;
                        localhost;) is used.

                        [RT #16987]

2203.   [security]      Query id generation was cryptographically weak.
                        [RT # 16915]

2202.   [security]      The default acls for allow-query-cache and
                        allow-recursion were not being applied. [RT #16960]

2193.   [port]          win32: BINDInstall.exe is now linked statically.
                        [RT #16906]

2192.   [port]          win32: use vcredist_x86.exe to install Visual
                        Studio's redistributable dlls if building with
                        Visual Stdio 2005 or later.
2007-07-24 23:52:54 +00:00
christos 92b1ea3abe Import bind 9.4.1-P1 2007-07-24 23:32:11 +00:00
christos 2d0d2fc81d merge conflicts 2007-05-01 22:15:12 +00:00
christos 5f9b8877e1 Import bind 9.4.1 2007-05-01 21:51:06 +00:00
ghen 94364b1084 Resolve conflicts. 2007-03-30 19:40:47 +00:00
ghen cc483ecacb Import bind-9.4.0. 2007-03-30 19:15:20 +00:00
christos f987814949 include <types.h> 2007-01-30 18:12:48 +00:00
christos 03f10a71aa provide non-atomic versions so that things compile for now. 2007-01-30 00:46:52 +00:00
christos fd07b4b277 handle resolv_mt.h 2007-01-27 23:02:37 +00:00
christos d7aeceb511 deal with base64.c 2007-01-27 22:28:22 +00:00
christos 4455b59ff4 Use __inline consistently so that we avoid unused warnings. 2007-01-27 21:30:22 +00:00
christos 4674124bb1 resolve conflicts 2007-01-27 21:24:09 +00:00
christos c1a4ad93e3 Import bind-9.4.0-rc2 from ftp.isc.org 2007-01-27 21:02:43 +00:00
reed 93b5694767 Remove () from end of the BIND 9 ARM as it is not a man page.
(I am not committing the fix to dist/bind/bin/named/named.conf.docbook
as we don't use that docbook file.)
2006-12-14 02:17:14 +00:00
adrianp ee74a1421a Fixes for CVE-2006-4095 and CVE-2006-4096 from bind-9.3.2-P1
* Assertion failure in ISC BIND SIG query processing (CVE-2006-4095)

- Recursive servers
Queries for SIG records will trigger an assertion failure if more
than one RRset is returned. However exposure can be minimized by
restricting which sources can ask for recursion.

- Authoritative servers
If a nameserver is serving a RFC 2535 DNSSEC zone and is queried
for the SIG records where there are multiple RRsets, then the
named program will trigger an assertion failure when it tries
to construct the response.

* INSIST failure in ISC BIND recursive query handling code (CVE-2006-4096)

It is possible to trigger an INSIST failure by sending enough
recursive queries such that the response to the query arrives after
all the clients waiting for the response have left the recursion
queue. However exposure can be minimized by restricting which sources
can ask for recursion.

ok'ed christos@
2006-09-05 19:31:47 +00:00
jnemeth 50fe2341d5 force all assertions on when __COVERITY__ is set 2006-08-23 04:10:51 +00:00
jnemeth 79d79919df Coverity CID: 682 -- remove dead code 2006-07-26 06:23:59 +00:00
christos af2ae0aa2f Initialize rdataset. 2006-05-14 01:18:41 +00:00
mrg 3394a47b32 move is_zone initialisation earlier to avoid a GCC warning. 2006-05-11 09:28:45 +00:00
christos 2e0077c305 Add more coverity assertions. If this does not work, I will have to follow
a different tactic.
2006-04-02 00:53:56 +00:00
christos 1d00887f5d Insert coverity annotations [experimental; I don't know if those work
at the variable declaration level, but we'll see]
2006-03-29 16:40:50 +00:00
christos f252e17155 Coverity CID 2486: Fix uninitialized variable 2006-03-29 16:09:53 +00:00
elad 91ce49cce6 xref named.conf(5) after a complaint from tiocsti. okay veego@.
xml docbook change will be fed upstream as requested by hubertf@
and veego@.
2006-01-16 19:20:15 +00:00
christos deeaa98b3a make this compile when we don't use threads. 2005-12-22 15:14:12 +00:00
christos 719d30b842 resolve conflicts. 2005-12-22 00:26:23 +00:00
christos e471bad6c5 import the real 9.3.2 not 9.2.3. 2005-12-21 23:16:49 +00:00
christos 7ccb4c5f89 import the real 9.3.2 not 9.2.3. 2005-12-21 23:06:48 +00:00
christos 292526bfd4 Resolve conflicts. 2005-12-21 22:34:31 +00:00
christos 348525eba6 from ftp.isc.org 2005-12-21 19:50:15 +00:00
christos 85962585ac Remove inline from rotate_{left,right}. Breaks compilation with gcc-3.3
and macppc. It is fixed in gcc-3.4
2005-02-22 18:42:15 +00:00