Commit graph

53 commits

Author SHA1 Message Date
Doug Barton
0a1b168539 Update to the -P1 versions of the current BIND ports which contain
the fix for the following vulnerability: https://www.isc.org/node/373

Description:
Return values from OpenSSL library functions EVP_VerifyFinal()
and DSA_do_verify() were not checked properly.

Impact:
It is theoretically possible to spoof answers returned from
zones using the DNSKEY algorithms DSA (3) and NSEC3DSA (6).

In short, if you're not using DNSSEC to verify signatures you have
nothing to worry about.

While I'm here, address the issues raised in the PR by adding a knob
to disable building with OpenSSL altogether (which eliminates DNSSEC
capability), and fix the configure arguments to better deal with the
situation where the user has ssl bits in both the base and LOCALBASE.

PR:		ports/126297
Submitted by:	Ronald F.Guilmette <rfg@tristatelogic.com>
2009-01-08 08:18:45 +00:00
Doug Barton
3926df4216 Update after repo-copy for BIND 9.6.0 2009-01-04 07:15:46 +00:00
Doug Barton
c802f49098 Upgrade to version 9.5.1 which includes numerous bug fixes and performance
improvements, including, "Additional support for query port randomization
including performance improvement and port range specification."

When building on amd64 ports' configure doesn't properly recognize our
arch, so help it along a bit. [1]
Submitted by:	ivan jr sy <ivan_jr@yahoo.com> [1]
2008-12-29 21:29:33 +00:00
Doug Barton
6ed39ee6e5 All -P2 versions now have PGP signatures with ISC's standard
signing key.

PR:		ports/126389 (for bind9)
Submitted by:	Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
2008-08-09 07:23:35 +00:00
Doug Barton
da42c80ed9 Update to patchlevel 2 for all versions:
- performance improvement over the P1 releases, namely
   + significantly remedying the port allocation issues
   + allowing TCP queries and zone transfers while issuing as many
      outstanding UDP queries as possible
   + additional security of port randomization at the same level as P1

- also includes fixes for several bugs in the 9.5.0 base code
2008-08-02 07:01:20 +00:00
Doug Barton
ab54e43037 Upgrade to the -P1 versions of each port, which add stronger randomization
of the UDP query-source ports. The server will still use the same query
port for the life of the process, so users for whom the issue of cache
poisoning is highly significant may wish to periodically restart their
server using /etc/rc.d/named restart, or other suitable method.

In order to take advantage of this randomization users MUST have an
appropriate firewall configuration to allow UDP queries to be sent and
answers to be received on random ports; and users MUST NOT specify a
port number using the query-source[-v6] option.

The avoid-v[46]-udp-ports options exist for users who wish to eliminate
certain port numbers from being chosen by named for this purpose. See
the ARM Chatper 6 for more information.

Also please note, this issue applies only to UDP query ports. A random
ephemeral port is always chosen for TCP queries.

This issue applies primarily to name servers whose main purpose is to
resolve random queries (sometimes referred to as "caching" servers, or
more properly as "resolving" servers), although even an "authoritative"
name server will make some queries, primarily at startup time.

This update addresses issues raised in:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1447
http://www.kb.cert.org/vuls/id/800113
http://tools.ietf.org/html/draft-ietf-dnsext-forgery-resilience
2008-07-09 19:02:01 +00:00
Doug Barton
2389c0df9a Update for 9.5.0
Some of the important features of BIND 9 are:

DNS Security: DNSSEC (signed zones), TSIG (signed DNS requests)
IP version 6: Answers DNS queries on IPv6 sockets, IPv6 resource records (AAAA)
     Experimental IPv6 Resolver Library
DNS Protocol Enhancements: IXFR, DDNS, Notify, EDNS0
     Improved standards conformance
Views: One server process can provide multiple "views" of the DNS namespace,
     e.g. an "inside" view to certain clients, and an "outside" view to others.
Multiprocessor Support, including working threads in this version

BIND 9.5 has a number of new features over previous versions, including:
GSS-TSIG support (RFC 3645), DHCID support
Experimental http server and statistics support for named via xml
More detailed statistics counters, compatible with the ones supported in BIND 8
Faster ACL processing
Efficient LRU cache cleaning mechanism.
NSID support (RFC 5001).
2008-07-03 07:26:14 +00:00
Doug Barton
5920e1781c Update to BIND 9.4.2. Many bugs are fixed, please see the CHANGES
file for more details.

Approved by:	portmgr (erwin)
2007-12-01 21:53:34 +00:00
Doug Barton
83aa56c48f Update to 9.4.1-P1, which has fixes for the following:
1. The default access control lists (acls) are not being
correctly set. If not set anyone can make recursive queries
and/or query the cache contents.

See also:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2925

2. The DNS query id generation is vulnerable to cryptographic
analysis which provides a 1 in 8 chance of guessing the next
query id for 50% of the query ids. This can be used to perform
cache poisoning by an attacker.

This bug only affects outgoing queries, generated by BIND 9 to
answer questions as a resolver, or when it is looking up data
for internal uses, such as when sending NOTIFYs to slave name
servers.

All users are encouraged to upgrade.

See also:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2926
2007-07-24 22:02:16 +00:00
Doug Barton
086ad81b2c Update to version 9.4.1, a security update from ISC:
2172.   [bug]       query_addsoa() was being called with a non zone db.
                    [RT #16834]

	If you are running BIND 9.4.0 (either pre-release or final),
	you are advised to upgrade as soon as possible to BIND 9.4.1.
2007-05-01 01:00:01 +00:00
Doug Barton
d192a302c6 Update to the release version of 9.4.0. 2007-02-26 07:57:58 +00:00
Doug Barton
79a046498a Complete the update for bind94 after the repocopy, and hook it up. 2007-01-28 22:45:54 +00:00
Doug Barton
b7bd298280 Upgrade to version 9.3.4, the latest from ISC, which addresses the
following security issues. All users of BIND are encouraged to upgrade
to this version.

2126.	[security]	Serialise validation of type ANY responses. [RT #16555]

2124.	[security]	It was possible to dereference a freed fetch
			context. [RT #16584]

2089.	[security]	Raise the minimum safe OpenSSL versions to
			OpenSSL 0.9.7l and OpenSSL 0.9.8d.  Versions
			prior to these have known security flaws which
			are (potentially) exploitable in named. [RT #16391]

2088.	[security]	Change the default RSA exponent from 3 to 65537.
			[RT #16391]

2066.   [security]      Handle SIG queries gracefully. [RT #16300]

1941.   [bug]           ncache_adderesult() should set eresult even if no
                        rdataset is passed to it. [RT #15642]
2007-01-25 01:57:42 +00:00
Doug Barton
4dc8dde88e Upgrade to version 9.3.3, the latest from ISC. This is
a maintenance release, with the usual round of bug and
security fixes.

All users of BIND 9 are encouraged to upgrade to this
version.
2006-12-09 22:20:38 +00:00
Doug Barton
49b20cc2f2 Update to version 9.3.2-P2, which addresses the vulnerability
announced by ISC dated 31 October (delivered via e-mail to the
bind-announce@isc.org list today):

Description:
	Because of OpenSSL's recently announced vulnerabilities
	(CAN-2006-4339, CVE-2006-2937 and CVE-2006-2940) which affect named,
	we are announcing this workaround and releasing patches.  A proof of
	concept attack on OpenSSL has been demonstrated for CAN-2006-4339.

	OpenSSL is required to use DNSSEC with BIND.

Fix for version 9.3.2-P1 and lower:
	Upgrade to BIND 9.2.3-P2, then generate new RSASHA1 and
	RSAMD5 keys for all old keys using the old default exponent
	and perform a key rollover to these new keys.

	These versions also change the default RSA exponent to be
	65537 which is not vulnerable to the attacks described in
	CAN-2006-4339.
2006-11-03 07:47:21 +00:00
Doug Barton
e1099e8d62 Upgrade to version 9.3.2-P1, which addresses the following security
vulnerabilities:

http://www.niscc.gov.uk/niscc/docs/re-20060905-00590.pdf?lang=en
2066.  [security]      Handle SIG queries gracefully. [RT #16300]

http://www.kb.cert.org/vuls/id/697164
1941.  [bug]           ncache_adderesult() should set eresult even if no
                       rdataset is passed to it. [RT #15642]

All users of BIND 9 are encouraged to upgrade to this version.
2006-09-06 18:42:40 +00:00
Doug Barton
cf2106bfeb Update to 9.3.2, the latest from ISC 2005-12-28 01:07:22 +00:00
Doug Barton
622fd39b2a Add SHA256 checksums to my ports 2005-11-24 00:08:51 +00:00
Doug Barton
8f80a0e30e Upgrade to 9.3.1, the latest version from ISC. This version contains
several important fixes, including a remote (although unlikely) exploit.
See the CHANGES file for details.

All users of BIND 9 are highly encouraged to upgrade to this version.

Changes to the port include:
1. Remove ISC patch to 9.3.0 that addressed the remote exploit
2. Change to OPTIONS, and thereby
3. --enable-threads is now the default. Users report that the new thread
code in 9.3.x works significantly better than the old on all versions of
FreeBSD.
4. Add a temporary shim for the old PORT_REPLACES_BASE_BIND9 option.
The OPTIONS framework requires knobs to start with WITH_ or WITHOUT_
5. Remove patch that shoehorned named.conf.5 into the right place,
it has been fixed in the code.
2005-03-13 10:52:52 +00:00
Doug Barton
400315c158 Include a patch from ISC to deal with the following vulnerability:
Name:			BIND: Self Check Failing [Added 2005.25.01]
Versions affected:	BIND 9.3.0
Severity:		LOW
Exploitable:		Remotely
Type:			Denial of Service
Description:
An incorrect assumption in the validator (authvalidated) can result in a
REQUIRE (internal consistancy) test failing and named exiting.

Workarounds:
Turn off dnssec validation (off by default) at the options/view level.

	dnssec-enable no;

Active Exploits:	None known

Bump PORTREVISION accordingly.

It should be noted that the vast majority of users would not have
DNSSEC enabled, and therefore are not vulnerable to this bug.
2005-01-28 20:47:44 +00:00
Doug Barton
d4984bf979 Update to BIND 9.3.0, the latest from ISC. This version has several
significant updates, not the least of which is the new and improved
DNSSEC code based on the latest standards (including DS).

Various updates to the port, including:
1. Download the PGP signature
2. If running on ${OSVERSION} >= 503000, configure with threads
3. Update pkg-descr re IPv6 RRs
4. Update pkg-message to reflect a world with 6-current

There is also a patch to correct a man page installation error.
This problem should be fixed in the next release.

Approved by:	portmgr (marcus)
2004-09-24 04:03:31 +00:00
Doug Barton
eade3ab710 Now that the SIZE thing has stabilized, add it to the ports I maintain. 2004-03-14 00:17:57 +00:00
Doug Barton
30538e2406 Upgrade to the 9.2.3 release version 2003-10-24 23:10:57 +00:00
Doug Barton
fbfadf0fbc Upgrade to version 9.2.3rc4.
The 9.2.3 code has many many bugs fixed from 9.2.2, check CHANGES
for more information.

The rc4 code has the delegation-only options. Check the ARM for
information on how to enable it.
2003-09-25 05:08:39 +00:00
Doug Barton
d891e5ba6c * Update to version 9.2.2, the latest from ISC. This version contains no
new features compared to 9.2.1, only bug fixes. Users of BIND 9 are
highly encouraged to upgrade.

* Switch to Makefile COMMENT
2003-03-04 09:44:15 +00:00
Doug Barton
5c2fc66d06 Upgrade to 9.2.2rc1. This version has been available for several months, and
is widely considered to be more stable than 9.2.1. I would have preferred
a -REL version, but better is better.

* Clean up the Makefile a little
* Just say no to threads
* Add the PORT_REPLACES_BASE magic, similar to the bind8 port
2003-01-26 08:42:01 +00:00
Doug Barton
b00185e8b6 Update to the latest release version 2002-05-22 05:22:31 +00:00
Doug Barton
31d52c8c98 Upgrade to 9.2.1rc2, the latest from ISC. Numerous bugs were fixed,
see /usr/local/share/doc/bind9/CHANGES after installation for details.
2002-04-08 08:32:47 +00:00
Doug Barton
f5fbcb7753 Upgrade to the latest release candidate, 9.2.1rc1. Numerous 9.x bugs
are fixed in this version, however BIND 9 is still recommended only
for early adopters, and those that have time to closely monitor
their name service.

* Change PORTNAME to bind9 so that 'pkg_add -r bind' does the right thing
* Use the local version of openssl, and disable threads on all but
the most recent -current. Thread support is still considered experimental.
2002-03-17 06:47:25 +00:00
Doug Barton
832ba252d4 Update port version to ISC's latest stable release 2001-07-24 18:10:31 +00:00
Doug Barton
83c87ae0b7 Upgrade to 9.1.3rc1, whose most significant change is a fix for
some IXFR problems.
2001-05-28 08:27:10 +00:00
Doug Barton
cc95368efa Upgrade to BIND 9.1.2-Release. There is no newe functionality, but
it is highly recommended that all users of BIND 9 upgrade to this
maintenance release.
2001-05-09 06:32:43 +00:00
Doug Barton
683eaaa4ff Update to the actual release version of 9.1.1. If you're using
bind 9, upgrade to this version.
2001-04-03 07:37:00 +00:00
Doug Barton
233ba03753 Latest bug fixes, FOR GREAT JUSTICE !! 2001-03-27 08:45:23 +00:00
Doug Barton
18a209367d Latest bug fixes and documentation updates. 2001-03-23 14:37:41 +00:00
Doug Barton
27b6c96d7e Latest bug fixes, no features added. 2001-03-19 09:11:31 +00:00
Doug Barton
e9605e1f63 Upgrade to ISC's latest. No new features, but a few useful bug fixes. 2001-03-10 20:56:44 +00:00
Doug Barton
cd9640f64f Update to ISC's latest 2001-02-27 08:08:59 +00:00
Doug Barton
db375cb582 Latest update from ISC. Truly just bugfixes. 2001-02-13 07:33:34 +00:00
Doug Barton
6fd266d4aa Update to ISC's bug fix release. For those who wish to (or need to)
use BIND 9 this upgrade is highly recommended.
2001-02-08 08:35:46 +00:00
Will Andrews
e5a7427bfb Update to 9.1.0; replace Makefile.in patch with perl regex.
Requested by:	Joong Hyun Kim <better@ns1.betterbox.net>
2001-01-21 00:42:49 +00:00
Doug Barton
d4d172612f Update to 9.0.1
PR:		ports/22941
Submitted by:	Leif Neland, leifn@neland.dk
2000-11-19 19:21:02 +00:00
Will Andrews
12d1966fa8 Update to BIND version 9.0.0, now with better DNSSEC support among lots
of other neat things like that.  Sorry for the delay.

Repo-copy by:	asami
2000-10-29 04:45:17 +00:00
Satoshi Asami
420e6de25f Temporarily remove bind9, it is a repo-copy from bind8 not updated.
The history is safe, so just "cvs add" the files back when bind9 is
ready to be committed.
2000-10-21 21:05:58 +00:00
Justin M. Seger
2d8e4c1345 Upgrade to 8.2.2 patch 5 1999-11-15 01:03:44 +00:00
Justin M. Seger
838b14af65 Upgrade to bind-8.2.2.p3 + patch4. Fixes some security issues.
Many people submitted patches for  this one, and a combination of them
were used.
1999-11-12 06:40:39 +00:00
Justin M. Seger
1d778e52e5 Upgrade to bind 8.2.1
Submitted by:	ust@cert.siemens.de
PR:		ports/12875
1999-08-08 18:03:46 +00:00
Bill Fumerola
15c5eaf394 Bring back bind8, even -CURRENT only has 8.1.2, this port is more up-to-date.
Requested By:	a bazillion people both on mailing lists and #FreeBSD.
1999-06-28 21:25:34 +00:00
Justin M. Seger
ce5fc21e50 Nuke bind8, it's been in the base system for a while now. 1999-06-25 20:22:17 +00:00
Justin M. Seger
4df78b912f Use latest patches from ISC.
PR:		ports/11784
1999-05-31 17:36:29 +00:00