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

29 Commits

Author SHA1 Message Date
Doug Barton
543df633d3 Upgrade to 9.6-ESV-R7-P1, 9.7.6-P1, 9.8.3-P1, and 9.9.1-P1, the latest
from ISC. These patched versions contain a critical bugfix:

  Processing of DNS resource records where the rdata field is zero length
  may cause various issues for the servers handling them.

  Processing of these records may lead to unexpected outcomes. Recursive
  servers may crash or disclose some portion of memory to the client.
  Secondary servers may crash on restart after transferring a zone
  containing these records. Master servers may corrupt zone data if the
  zone option "auto-dnssec" is set to "maintain". Other unexpected
  problems that are not listed here may also be encountered.

All BIND users are strongly encouraged to upgrade.
2012-06-04 21:51:34 +00:00
Doug Barton
7d79b1b01f Upgrade to BIND versions 9.9.1, 9.8.3, 9.7.6, and 9.6-ESV-R7,
the latest from ISC. These versions all contain the following:

Feature Change

*  BIND now recognizes the TLSA resource record type, created to
   support IETF DANE (DNS-based Authentication of Named Entities)
   [RT #28989]

Bug Fix

*  The locking strategy around the handling of iterative queries
   has been tuned to reduce unnecessary contention in a multi-
   threaded environment.

Each version also contains other critical bug fixes.

All BIND users are encouraged to upgrade to these latest versions.
2012-05-23 04:41:19 +00:00
Doug Barton
3adb7aaf27 Update to version 9.7.5, the latest from ISC, which contains numerous bug fixes.
For the port, switch to using the PORTDOCS macro.

Feature safe:   yes
2012-04-04 21:49:17 +00:00
Doug Barton
59eefda0a9 Upgrade to the latest security patch releases to address the
following DDOS bug:

Recursive name servers are failing with an assertion:
INSIST(! dns_rdataset_isassociated(sigrdataset))

At this time it is not thought that authoritative-only servers
are affected, but information about this bug is evolving rapidly.

Because it may be possible to trigger this bug even on networks
that do not allow untrusted users to access the recursive name
servers (perhaps via specially crafted e-mail messages, and/or
malicious web sites) it is recommended that ALL operators of
recursive name servers upgrade immediately.

For more information see:
https://www.isc.org/software/bind/advisories/cve-2011-tbd
which will be updated as more information becomes available.

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-4313

Feature safe:	yes
2011-11-16 23:41:13 +00:00
Doug Barton
2b1dacc826 Remove more tags from pkg-descr files fo the form:
- Name
em@i.l

or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
2011-10-24 04:17:37 +00:00
Doug Barton
bf583d94c7 BIND version 9.7 with support for sdb database drivers, including ldap and
postgresql.

WWW: https://www.isc.org/software/bind/

PR:		ports/157752
Submitted by:	Josh Carroll <josh.carroll@gmail.com>
2011-09-09 20:55:32 +00:00
Doug Barton
ceb0439ba5 Update to version 9.7.4 which contains various bug fixes and improvements:
ftp://ftp.isc.org/isc/bind9/9.7.4/RELEASE-NOTES-BIND-9.7.4.html
2011-08-02 07:03:06 +00:00
Doug Barton
5dd3657b45 Remove patch incorporated into version 9.7.4 2011-08-02 07:01:37 +00:00
Doug Barton
2b4caa4539 Fix the location of the default pid file in named.8
Problem pointed out in the PR

PR:		conf/155006
Submitted by:	Helmut Schneider <jumper99@gmx.de>
2011-07-17 04:08:59 +00:00
Doug Barton
f62fd077b1 Update to versions 9.7.3-P3, and 9.6-ESV-R4-P3.
ALL BIND USERS ARE ENCOURAGED TO UPGRADE IMMEDIATELY

This update addresses the following vulnerability:

CVE-2011-2464
=============
Severity:	High
Exploitable:	Remotely

Description:

A defect in the affected BIND 9 versions allows an attacker to remotely
cause the "named" process to exit using a specially crafted packet. This
defect affects both recursive and authoritative servers. The code location
of the defect makes it impossible to protect BIND using ACLs configured
within named.conf or by disabling any features at compile-time or run-time.

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-2464
https://www.isc.org/software/bind/advisories/cve-2011-2464
2011-07-05 21:18:24 +00:00
Doug Barton
15406a2370 Fix PKGVERSION for 9.7.3-P1
Submitted by:	Craig Leres <leres@ee.lbl.gov>
2011-05-28 00:16:58 +00:00
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