1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
Doug Barton
55533b257f Upgrade to 9.6-ESV-R4-P1 and 9.7.3-P1, which address the following issues:
1. Very large RRSIG RRsets included in a negative cache can trigger
an assertion failure that will crash named (BIND 9 DNS) due to an
off-by-one error in a buffer size check.

This bug affects all resolving name servers, whether DNSSEC validation
is enabled or not, on all BIND versions prior to today. There is a
possibility of malicious exploitation of this bug by remote users.

2. Named could fail to validate zones listed in a DLV that validated
insecure without using DLV and had DS records in the parent zone.

Add a patch provided by ru@ and confirmed by ISC to fix a crash at
shutdown time when a SIG(0) key is being used.
2011-05-27 23:47:39 +00:00
Doug Barton
31ae302eb6 Miscellaneous cleanups and fixes, some of the windowmaker stuff
gracefully provided by danfe.
2011-05-16 05:22:09 +00:00
Doug Barton
29ea282225 Update to 9.7.3, the latest from ISC:
* Zones may be dynamically added and removed with the "rndc addzone"
   and "rndc delzone" commands. These dynamically added zones are
   written to a per-view configuration file. Do not rely on the
   configuration file name nor contents as this will change in a
   future release. This is an experimental feature at this time.
 * A new command "rndc secroots" was added to dump a combined summary
   of the currently managed keys combined with statically configured
   trust anchors.
 * Added support to load new keys into managed zones without signing
   immediately with "rndc loadkeys". Added support to link keys with
   "dnssec-keygen -S" and "dnssec-settime -S".
2011-02-15 01:47:13 +00:00
Doug Barton
4e6ba6d16c CONFLICTS for bind98 2010-12-18 02:19:41 +00:00
Doug Barton
8a993c4fbb Update to version 9.7.2-P3, the latest from ISC, which addresses
the following security vulnerabilities.

For more information regarding these issues please see:
http://www.isc.org/announcement/guidance-regarding-dec-1st-2010-security-advisories

1. Cache incorrectly allows ncache and rrsig for the same type

   http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3613

   Affects resolver operators whose servers are open to potential
   attackers. Triggering the bug will cause the server to crash.

   This bug applies even if you do not have DNSSEC enabled.

2. Using "allow-query" in the "options" or "view" statements to
   restrict access to authoritative zones has no effect.

   http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3615

   Affects authoritative server operators who wish to generally
   restrict queries to their authoritative zones, and are running
   9.6.2-P2 or any version of 9.7.x. The bug will allow unauthorized
   end users to receive answers to queries they should not.

3. Key algorithm rollover

   http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3614

   Affects resolver operators who have 9.7.2-P2 installed,
   are validating with DNSSEC, and querying zones which are
   in a key rollover period. The bug will cause answers to
   incorrectly be marked as insecure.

For the port:
1. Add CONFLICT for the ../bind-tools port
2. Switch to pkg-install to create the symlinks to /etc/namedb/ as
   requested in [1]

PR:		ports/151635 [1]
Submitted by:	Benjamin Lee <ben@b1c1l1.com> [1]
2010-12-03 22:39:44 +00:00
Doug Barton
3fef21d400 Convert this to a master port for ../bind-tools
Remove CONFLICTS for the now-removed BIND 9.3

Remove OPTION for threads on < RELENG_7

Remove MD5 from distinfo
2010-12-03 19:39:48 +00:00
Doug Barton
3a31fdeb00 Update to 9.7.2-P2, the latest version from ISC 2010-10-18 21:06:09 +00:00
Doug Barton
472fcbc24a Updgrade to version 9.7.1-P2 which addresses a DNSSEC-related bug.
If a query is made explicitly for a record of type 'RRSIG' to a validating
recursive server running BIND 9.7.1 or 9.7.1-P1, and the server has one or
more trust anchors configured statically and/or via DLV, then if the answer
is not already in cache, the server enters a loop which repeatedly generates
queries for RRSIGs to the authoritative servers for the zone containing the
queried name.

CVE:	http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0213
CERT:	http://www.kb.cert.org/vuls/id/211905

Versions affected:	9.7.1, 9.7.1-P1
Severity:		High
Exploitable:		remotely

http://www.isc.org/software/bind/advisories/cve-2010-0213
2010-07-17 07:54:40 +00:00
Doug Barton
31cf3e8ea8 Upgrade to version 9.7.1-P1. The patch addresses 2 areas in the resolver
code where the 9.7.x series tightened its adherence to the DNS protocol
as written, vs. the 9.6.x series which was more liberal in what it accepted.

Specifically:
1. Restore processing of certain forms of negative responses that do
   not contain all of the required elements to avoid aggressive
   re-querying of authority servers.
2. Accept answers from authority servers without the AA bit set
   if they meet the other requirements of an answer packet.

More detail can be found here:
https://www.isc.org/community/blog/201007/compatibility-issues-bind-970-and-971
2010-07-10 21:36:05 +00:00
Doug Barton
250f5e070c Turns out that the bind.keys.h file is not a new dependency, so my previous
fix was too hasty. Employ a more robust fix that removes the _perl_ dep for
both this file and bind9.xsl.h. The pre-generated versions of these files
are identical to the newly generated ones, which is why this perl issue
never came up previously.

I still have reservations about baking the ISC DLV key into named, but given
that this was already done in 9.7.0+ at least this way we don't violate POLA.
2010-06-18 05:41:26 +00:00
Doug Barton
a1effa157f The newly added bind.keys.h file requires perl for its creation,
which is a problem, however what it's doing is baking the ISC
DLV key into named which is not something I think is reasonable
to do by default.

So, instead of adding perl as a build dependency eliminate the
need for the file altogether.
2010-06-18 02:29:06 +00:00
Doug Barton
69c8e47689 Update to version 9.7.1, the latest from ISC.
This version has numerous minor bug fixes, please refer to the
CHANGES file for details. Many (but not all) of the fixes are
DNSSEC-related, and all users who are doing DNSSEC validation
are encouraged to upgrade to this version.
2010-06-17 22:35:10 +00:00
Doug Barton
7509c01a81 Update to the latest patch set from ISC, which addresses the following:
Named could return SERVFAIL for negative responses
   from unsigned zones.
2010-05-20 06:34:15 +00:00
Doug Barton
e0bc892a0e Update to the latest patchfix releases to deal with the problems
related to the handling of broken DNSSEC trust chains.

This fix is only necessary for those who have DNSSEC validation
enabled and configure trust anchors from third parties, either
manually, or through a system like DLV.
2010-03-17 05:35:03 +00:00
Doug Barton
064004f4ef Update to the release version of BIND 9.7.0, and remove the -devel
suffix as a result.

Feature safe:	yes
2010-02-17 06:13:15 +00:00
Doug Barton
f89b15d117 Update to 9.7.0rc2 which has numerous bug fixes, especially
for DNSSEC.
2010-02-01 20:57:31 +00:00
Doug Barton
271ea45669 Disable the (optional, debugging) symtable feature till I can figure
out the depth of the perl dependency.
2009-12-14 07:50:20 +00:00
Doug Barton
57152b64e6 Add BIND 9.7.0rc1 with a -devel suffix for now so that people can
start testing it sooner rather than later. When the final version
is released the -devel will be removed.

Some of the new features of BIND 9.7.x are:

	- Fully automatic signing of zones by "named"
	- Simplified configuration of DNSSEC Lookaside Validation (DLV)
	- Simplified configuration of Dynamic DNS, using the "ddns-confgen"
	  command line tool or the "local" update-policy option
	- New named option "attach-cache" that allows multiple views to
	  share a single cache
	- DNS rebinding attack prevention
	- New default values for dnssec-keygen parameters
	- Support for RFC 5011 automated trust anchor maintenance
	  (see README.rfc5011 for additional details)
	- Smart signing: simplified tools for zone signing and key
	  maintenance
	- Improved PKCS#11 support
2009-12-14 06:25:17 +00:00