Commit graph

33 commits

Author SHA1 Message Date
tron
73d05e2276 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:17:32 +00:00
taca
0baf6551a8 Update bind99 to 9.9.5 (BIND 9.9.5).
Security fixes were already covered by 9.9.4pl2.

Some bug fixes and clean up, please refer CHANGES file in detail.
2014-02-02 07:58:20 +00:00
taca
b02f1c0d8b Update bind99 to 9.9.4pl2 (BIND 9.9.4-P2), securify fix for CVE-2014-0591.
pkgsrc change: remove patches/patch-configure.in.

	--- 9.9.4-P2 released ---

3693.	[security]	memcpy was incorrectly called with overlapping
			ranges resulting in malformed names being generated
			on some platforms.  This could cause INSIST failures
			when serving NSEC3 signed zones.  [RT #35120]

3658.	[port]		linux: Address platform specific compilation issue
			when libcap-devel is installed. [RT #34838]
2014-01-13 17:31:00 +00:00
taca
e2dbdc4ca6 Update bind99 to 9.9.4pl1 (BIND 9.9.4-P1).
Security Fixes

   Treat an all zero netmask as invalid when generating the localnets
   acl. A Winsock library call on some Windows systems can return
   an incorrect value for an interface's netmask, potentially
   causing unexpected matches to BIND's built-in "localnets" Access
   Control List. (CVE-2013-6230) [RT #34687]
2013-11-07 04:23:58 +00:00
taca
5ec84352c2 Update bind99 to 9.9.4 (BIND 9.9.4).
(CVE-2013-4854 and CVE-2013-3919 were already fixed in pkgsrc).

Security Fixes

   Previously an error in bounds checking on the private type
   'keydata' could be used to deny service through a deliberately
   triggerable REQUIRE failure (CVE-2013-4854).  [RT #34238]

   Prevents exploitation of a runtime_check which can crash named
   when satisfying a recursive query for particular malformed zones.
   (CVE-2013-3919) [RT #33690]

New Features

   Added Response Rate Limiting (RRL) functionality to reduce the
   effectiveness of DNS as an amplifier for reflected denial-of-service
   attacks by rate-limiting substantially-identical responses. [RT
   #28130]

Feature Changes

   rndc status now also shows the build-id. [RT #20422]

   Improved OPT pseudo-record processing to make it easier to support
   new EDNS options. [RT #34414]

   "configure" now finishes by printing a summary of optional BIND
   features and whether they are active or inactive. ("configure
   --enable-full-report" increases the verbosity of the summary.)
   [RT #31777]

   Addressed compatibility issues with newer versions of Microsoft
   Visual Studio. [RT #33916]

   Improved the 'rndc' man page. [RT #33506]

   'named -g' now no longer works with an invalid logging configuration.
   [RT #33473]

   The default (and minimum) value for tcp-listen-queue is now 10
   instead of 3.  This is a subtle control setting (not applicable
   to all OS   environments).  When there is a high rate of inbound
   TCP connections, it   controls how many connections can be queued
   before they are accepted by named.  Once this limit is exceeded,
   new TCP connections will be rejected.  Note however that a value
   of 10 does not imply a strict limit of 10 queued TCP connections
   - the impact of changing this configuration setting will be
   OS-dependent.  Larger values for tcp-listen queue will permit
   more pending tcp connections, which may be needed where there
   is a high rate of TCP-based traffic (for example in a dynamic
   environment where there are frequent zone updates and transfers).
   For most production servers the new default value of 10 should
   be adequate.  [RT #33029]

   Added support for OpenSSL versions 0.9.8y, 1.0.0k, and 1.0.1e
   with PKCS#11. [RT #33463]

   Added logging messages on slave servers when they forward DDNS
   updates to a master. [RT #33240]

   Changed the logging category for RRL events from 'queries' to
   'query-errors'. [RT #33540]

Bug Fixes

   Fixed the "allow-query-on" option to correctly check the destination
   address. [RT #34590]

   Fix forwarding for  forward only "zones" beneath automatic empty
   zones. [RT #34583]

   Fix DNSSEC auto maintenance so signatures can be removed from a
   zone with only KSK keys for an algorithm. [RT #34439]

   Fix DNSSEC auto maintenance so signatures from newly inactive
   keys are removed (when publishing a new key while deactivating
   another key at the same time). [RT #32178]

   Remove bogus warning log message about missing signatures when
   receiving a query for a SIG record. [RT #34600]

   Fix Response Policy Zones on slave servers so new RPZ changes
   take effect. [RT #34450]

   Fix the "zone-statistics" option to work with the default
   traditional statistics (not new "--enable-newstats" feature).
   [RT #34466]

   named could crash when deleting inline-signing zones with "rndc
   delzone". [RT #34066]

   Improved resistance to a theoretical authentication attack based
   on differential timing.  [RT #33939]

   named was failing to answer queries during "rndc reload" [RT
   #34098]

   win32: Some executables had been omitted from the installer. [RT
   #34116]

   fixed a broken 'Invalid keyfile' error message in dnssec-keygen.
   [RT #34045]

   The build of BIND now installs isc/stat.h so that it's available
   to /isc/file.h when building other applications that reference
   these header files - for example dnsperf (see Debian bug ticket
   #692467).  [RT #33056]

   Better handle failures building XML for stats channel responses.
   [RT #33706]

   Fixed a memory leak in GSS-API processing. [RT #33574]

   Fixed an acache-related race condition that could cause a crash.
   [RT #33602]

   rndc now properly fails when given an invalid '-c' argument. [RT
   #33571]

   Fixed an issue with the handling of zero TTL records that could
   cause improper SERVFAILs. [RT #33411]

   Fixed a crash-on-shutdown race condition with DNSSEC validation.
   [RT #33573]

   Corrected the way that "rndc addzone" and "rndc delzone" handle
   non-standard characters in zone names. [RT #33419]

   Adjusted RRL behavior for recursive queries to defer rate-limiting
   until after recursion is complete.  Also uses correct rcode for
   slipped NXDOMAIN responses. [RT #33604]

   Previously, BIND could erroneously report a missing file
   specification when using inline slave zones.  [RT #33662]
2013-09-21 16:00:34 +00:00
taca
a0b82f9e27 Update bind99 to 9.9.3pl2 (BIND 9.9.3-P2).
--- 9.9.3-P2 released ---

3621.	[security]	Incorrect bounds checking on private type 'keydata'
			can lead to a remotely triggerable REQUIRE failure
			(CVE-2013-4854). [RT #34238]
2013-07-27 03:20:07 +00:00
jperkin
b091c2f172 Bump PKGREVISION of all packages which create users, to pick up change of
sysutils/user_* packages.
2013-07-12 10:44:52 +00:00
taca
5e160ed5a6 Update bind99 to 9.9.3pl1 (BIND 9.9.3-P1).
Please refer CHANGES file for complete changes and here is quote from
release announce.

Introduction

   BIND 9.9.3-P1 is the latest production release of BIND 9.9-ESV.


Security Fixes

   Prevents exploitation of a runtime_check which can crash named
   when satisfying a recursive query for particular malformed zones.
   (CVE-2013-3919) [RT #33690]

   Now supports NAPTR regular expression validation on all platforms,
   and avoids memory exhaustion compiling pathological regular
   expressions. (CVE-2013-2266)  [RT #32688]

   Prevents named from aborting with a require assertion failure
   on servers with DNS64 enabled.  These crashes might occur as a
   result of specific queries that are received.  (CVE-2012-5688)
   [RT #30792 / #30996]

   Prevents an assertion failure in named when RPZ and DNS64 are
   used together. (CVE-2012-5689) [RT #32141]

New Features

   Adds a new configuration option, "check-spf"; valid values are
   "warn" (default) and "ignore".  When set to "warn", checks SPF
   and TXT records in spf format, warning if either resource record
   type occurs without a corresponding record of the other resource
   record type.  [RT #33355]

   Adds the command-line tool "dnssec-coverage" that checks to make
   sure that there is no scheduled lapse in key coverage. Requires
   python. [RT #28098]

   Adds support for the EUI48 and EUI64 RR types. [RT #33082]

   Adds support for the RFC 6742 ILNP record types (NID, LP, L32,
   and L64). [RT #31836]
2013-06-06 02:55:03 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
rodent
a0a1f2e57c Fixes:
COMMENT should not be longer than 70 characters.
 COMMENT should not begin with 'A'.
 COMMENT should not begin with 'An'.
 COMMENT should not begin with 'a'.
 COMMENT should not end with a period.
 COMMENT should start with a capital letter.

pkglint warnings. Some files also got minor formatting, spelling, and style
corrections.
2013-04-06 03:45:05 +00:00
taca
e467f8751b Update bind99 to 9.9.2pl2 (BIND 9.9.2-P2).
--- 9.9.2-P2 released ---

3516.	[security]	Removed the check for regex.h in configure in order
			to disable regex syntax checking, as it exposes
			BIND to a critical flaw in libregex on some
			platforms. [RT #32688]
2013-03-26 22:12:14 +00:00
wiz
a8730d5aa1 Bump PKGREVISION for mysql default change to 55. 2013-03-02 20:33:21 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
obache
64deda1dc9 recursive bump from cyrus-sasl libsasl2 shlib major bump. 2012-12-16 01:51:57 +00:00
taca
25dea66d57 Update bind99 to 9.9.2pl1nb2 (BIND 9.9.2-P1) which solves CVE-2012-5688.
--- 9.9.2-P1 released ---

3407.	[security]	Named could die on specific queries with dns64 enabled.
			[Addressed in change #3388 for BIND 9.8.5 and 9.9.3.]
2012-12-05 00:55:54 +00:00
pettai
db1c2baa8f Remove the PATCH* lines from the Makefile 2012-11-11 00:22:11 +00:00
pettai
3865963e9a Added RRL (Response Rate Limiting) build option 2012-11-10 23:44:30 +00:00
tron
b02fac83c8 Explicitly disable Python support. This fixes build problems e.g. if the
"pkg_alternatives" package is installed and a binary called "python"
is available.
2012-11-08 16:01:51 +00:00
asau
e059e7e469 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 17:18:07 +00:00
cheusov
141b842e87 Add CONFLICTS between net/bind and net/host.
net/bind9*: remove "bind<x.y.z" entries from CONFLICTS. It is useless
   because package's PKGBASE is "bind".
2012-10-21 15:49:06 +00:00
taca
80a7319601 Update bind99 to 9.9.2 (BIND 9.9.2).
Here are change changes from release note.  Note security fixes except
CVE-2012-5166 should be already fixed in previous version of bind99 package.

Please refer https://kb.isc.org/article/AA-00798 for list of full bug fixes.


Security Fixes

* A deliberately constructed combination of records could cause named to hang
  while populating the additional section of a response. [CVE-2012-5166] [RT
  #31090]
* Prevents a named assert (crash) when queried for a record whose RDATA
  exceeds 65535 bytes.  [CVE-2012-4244] [RT #30416]
* Prevents a named assert (crash) when validating caused by using "Bad cache"
  data before it has been initialized. [CVE-2012-3817] [RT #30025]
* A condition has been corrected where improper handling of zero-length RDATA
  could cause undesirable behavior, including termination of the named
  process. [CVE-2012-1667] [RT #29644]
* ISC_QUEUE handling for recursive clients was updated to address a race
  condition that could cause a memory leak. This rarely occurred with UDP
  clients, but could be a significant problem for a server handling a steady
  rate of TCP queries. [CVE-2012-3868] [RT #29539 & #30233]


New Features

* Elliptic Curve Digital Signature Algorithm keys and signatures in DNSSEC are
  now supported per RFC 6605. [RT #21918]
* Introduces a new tool "dnssec-checkds" command that checks a zone to
  determine which DS records should be published in the parent zone, or which
  DLV records should be published in a DLV zone, and queries the DNS to ensure
  that it exists. (Note: This tool depends on python; it will not be built or
  installed on systems that do not have a python interpreter.)  [RT #28099]
* Introduces a new tool "dnssec-verify" that validates a signed zone, checking
  for the correctness of signatures and NSEC/NSEC3 chains.  [RT #23673]
* Adds configuration option "max-rsa-exponent-size <value>;" that can be used
  to specify the maximum rsa exponent size that will be accepted when
  validating [RT #29228]


Feature Changes

* Improves OpenSSL error logging [RT #29932]
* nslookup now returns a nonzero exit code when it is unable to get an answer.
  [RT #29492]
2012-10-10 03:07:12 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
taca
449d2d79ad Update bind99 to 9.9.1pl3 (BIND 9.9.1-P3).
--- 9.9.1-P3 released ---

3364.	[security]	Named could die on specially crafted record.
			[RT #30416]
2012-09-13 01:35:56 +00:00
wiz
b598935c28 Make it clearer which package contains exactly which bind version.
Patch from Bug Hunting.
2012-08-26 14:23:49 +00:00
spz
6b811fe881 patch version fixing CVE-2012-3817 and CVE-2012-3868:
--- 9.9.1-P2 released ---

   3349.   [bug]           Change #3345 was incomplete. [RT #30233]

   3346.   [security]      Bad-cache data could be used before it was
                           initialized, causing an assert. [RT #30025]

   3345.   [bug]           Addressed race condition when removing the last item
                           or inserting the first item in an ISC_QUEUE.
                           [RT #29539]

   3342.   [bug]           Change #3314 broke saving of stub zones to disk
                           resulting in excessive cpu usage in some cases.
                           [RT #29952]
2012-07-24 20:40:12 +00:00
sbd
59fabefc09 Add and enable readline option.
To make this work properly rework the readline detection to not use LIBS
but instead use the new @LIBREADLINE@ AC_SUBST (This stops _everything_
being linked to libreadline!).

Bump PKGREVISION.
2012-07-10 10:23:03 +00:00
sbd
3788d54864 Only set PTHREAD_AUTO_VARS if the threads options is enabled.
Also move PTHREAD_OPTS to just above where pthread.buildlink3.mk is included.
2012-07-10 07:52:46 +00:00
sbd
21792a9296 Recursive PKGREVISION bump for libxml2 buildlink addition. 2012-06-14 07:43:06 +00:00
taca
e9e5783f79 Update bind99 to 9.9.1pl1 (BIND 9.9.1-P1).
Security release for CVE-2012-1667.

	--- 9.9.1-P1 released ---

3331.	[security]	dns_rdataslab_fromrdataset could produce bad
			rdataslabs. [RT #29644]
2012-06-04 13:24:28 +00:00
taca
f8410f66a1 Update biind99 package to 9.9.1.
pkgsrc change: add an comment to patches/patch-bin_tests_system_Makefile.in.

Changes from release announce:

Security Fixes

*  Windows binary packages distributed by ISC are now built and linked
   against OpenSSL 1.0.0i

New Features

*  None

Feature Changes

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

*  A note will be added to the README in future releases to explain
   that the improved scalability provided by using multiple threads
   to listen for and process queries (change 3137, RT #22992) does
   not provide any performance benefit when running BIND on versions
   of the linux kernel that do not include the 'lockless UDP transmit
   path' changes that were incorporated in 2.6.39.  (Some linux
   distributors may have provided this functionality under their
   own version numbering systems).

Bug Fixes

*  The locking strategy around the handling of iterative queries
   has been tuned to reduce unnecessary contention in a multi-threaded
   environment.  (Note that this may not provide a measurable
   improvement over previous versions of BIND, but it corrects the
   performance impact of change 3309 / RT #27995) [RT #29239]

*  Addresses a race condition that can cause named to to crash when
   the masters list for a zone is updated via rndc reload/reconfig
   [RT #26732]

*  named-checkconf now correctly validates dns64 clients acl
   definitions. [RT #27631]

*  Fixes a race condition in zone.c that can cause named to crash
   during the processing of rndc delzone [RT #29028]

*  Prevents a named segfault from resolver.c due to procedure
   fctx_finddone() not being thread-safe.  [RT #27995]

*  Improves DNS64 reverse zone performance. [RT #28563]

*  Adds wire format lookup method to sdb. [RT #28563]

*  Uses hmctx, not mctx when freeing rbtdb->heaps to avoid triggering
   an assertion when flushing cache data. [RT #28571]

*  Prevents intermittent named crashes following an rndc reload [RT
   #28606]

*  Resolves inconsistencies in locating DNSSEC keys where zone names
   contain characters that require special mappings [RT #28600]

*  A new flag -R  has been added to queryperf for running tests
   using non-recursive queries.  It also now builds correctly on
   MacOS version 10.7 (darwin)  [RT #28565]

*  Named no longer crashes if gssapi is enabled in named.conf but
   was not compiled into the binary [RT #28338]

*  SDB now handles unexpected errors from back-end database drivers
   gracefully instead of exiting on an assert. [RT #28534]

*  Prevents named crashes as a result of dereferencing a NULL pointer
   in zmgr_start_xfrin_ifquota if the zone was being removed while
   there were zone transfers still pending [RT #28419]

*  Corrects a parser bug that could cause named to crash while
   reading a malformed zone file. [RT #28467]

*  Ensures that when a client recurses its status fields are
   consistently set so that named doesn't fail on an INSIST in
   client.c:exit_check. [RT #28346]

*  Fixed a problem preventing proper use of 64 bit time values in
   libbind. [RT # 26542]

*  isccc/cc.c:table_fromwire could fail to free an allocated object
   on error, leading to a possible memory leak condition. [RT #28265]

*  Fixed a build error on systems without ENOTSUP.  [RT #28200]

*  The header file isc/hmacsha.h is now installed when building
   BIND. [RT #28169]

*  AAAA responses will no longer be returned in the additional
   section when filter-aaaa-on-v4 is in use.  (Prior to this change,
   they would be returned for some query types). [RT #27292]
2012-05-22 03:31:07 +00:00
marino
b674916605 PR#45780 net/bind99: Fix chroot operation
DNSSEC related, bind99 needs same fix as bind98
2012-05-20 12:00:15 +00:00
taca
22160b7777 Add fix to a race condition in the resolver code that can cause a recursive
nameserver: <https://kb.isc.org/article/AA-00664>.

Bump PKGREVISION.
2012-05-01 02:47:52 +00:00
taca
42791c4b44 Importing BIND 9.9.0 as pkgsrc/net/bind99.
Introduction

   BIND 9.9.0 is the first production release of BIND 9.9.

   This document summarizes changes from BIND 9.8 to BIND 9.9.
   Please see the CHANGES file in the source code release for a
   complete list of all changes.

New Features

* The new "inline-signing" option
* NXDOMAIN redirection
* "rndc flushtree <name>" command
* "rndc sync" command
* The new "rndc signing" command
* "auto-dnssec" zones
* Improves the startup time

And more.
2012-03-07 14:25:00 +00:00