summaryrefslogtreecommitdiff
path: root/net/powerdns
AgeCommit message (Collapse)AuthorFilesLines
2017-06-23Update net/powerdns* to 4.0.4.fhajny4-25/+8
This release features a fix for the ed25519 signer. This signer hashed the message before signing, resulting in unverifiable signatures. Also on the Elliptic Curve front, support was added for ED448 (DNSSEC algorithm 16) by using libdecaf. Bug fixes - Do not hash the message in the ed25519 signer - Make URI integers 16 bits, fixes #5443 - configure.ac: Corrects syntax error in test statement on existance of libcrypto_ecdsa - configure.ac: Fix quoting issue fixes #5401 - configure.ac: Check in the detected OpenSSL/libcrypto for ECDSA - configure.ac: Check if we can link against libatomic if needed - Fix typo in ldapbackend.cc from issue #5091 - Sort NSEC record case insensitive - Make sure NSEC ordernames are always lower case - API: correctly take TTL from first record even if we are at the last comment - Fix AtomicCounter unit tests on 32-bit - Fix negative port detection for IPv6 addresses on 32-bit - Remove support for 'right' timezones, as this code turned out to be broken - Lowercase the TSIG algorithm name in hash computation - Handle exceptions raised by closesocket() - Don't leak on signing errors during outgoing AXFR; signpipe stumbles over interrupted rrsets; fix memory leak in gmysql backend - TinyCDB backend: Don't leak a CDB object in case of bogus data Improvements - ODBC backend: Allow query logging - Add ED25519 (algo 15) and ED448 (algo 16) support with libdecaf signer - YaHTTP: Sync with upstream changes - Send a notification to all slave servers after every dnsupdate - Add option to set a global lua-axfr-script value - dnsreplay: Add --source-ip and --source-port options - calidns: Use the correct socket family (IPv4 / IPv6) - Add an option to allow AXFR of zones with a different (higher/lower) serial - API: Make trailing dot handling consistent with pdnsutil - SuffixMatchNode: Fix insertion issue for an existing node - Do not resolve the NS-records for NOTIFY targets if the "only-notify" whitelist is empty, as a target will never match an empty whitelist. - Improve the AXFR DNSSEC freshness check; Ignore NSEC3PARAM metadata in an unsigned zone - Create additional reuseport sockets before dropping privileges; remove transaction in pgpsql backend
2017-04-30Recursive revbump from boost updateryoon1-2/+2
2017-04-22Revbump after icu updateadam1-2/+2
2017-03-29Fix SunOS segfaults. Bump PKGREVISION.fhajny3-5/+39
2017-03-24Fix build with clang: ISO C++ says nullptr has no relation operatorsjoerg2-1/+32
defined.
2017-03-09Import powerdns-odbc 4.0.3.fhajny1-1/+2
This packages provides the ODBC backend module to PowerDNS.
2017-03-09Import powerdns-geoip 4.0.3.fhajny1-1/+2
This packages provides the GeoIP backend module to PowerDNS.
2017-03-09Update net/powerdns to 4.0.3.fhajny29-665/+123
pkgsrc changes: - Remove options for cryptopp and geoip (the latter to go into a separate package). - Clean up a lot of patches that do not seem to be needed anymore. PowerDNS Authoritative Server 4.0.3 =================================== - Revert "In 'Bind2Backend::lookup()', use the 'zoneId' when we have it" PowerDNS Authoritative Server 4.0.2 Security issues fixed: - 2016-02: Crafted queries can cause abnormal CPU usage - 2016-03: Denial of service via the web server - 2016-04: Insufficient validation of TSIG signatures - 2016-05: Crafted zone record can cause a denial of service Other highlights: - Don't parse spurious RRs in queries when we don't need them (Security Advisory 2016-02) - Don't exit if the webserver can't accept a connection (Security Advisory 2016-03) - Check TSIG signature on IXFR (Security Advisory 2016-04) - Correctly check unknown record content size (Security Advisory 2016-05) - ODBC backend: actually prepare statements - Improve root-zone performance - Plug memory leak in postgresql backend (Christian Hofstaedtler) - calidns: Don't crash if we don't have enough 'unknown' queries remaining - Improve PacketCache cleaning (Kees Monshouwer) - Bind backend: update status message on reload, keep the existing zone on failure - Fix TSIG for single thread distributor (Kees Monshouwer) - Change default for any-to-tcp to yes (Kees Monshouwer) - Don't look up the packet cache for TSIG-enabled queries - Fix build with OpenSSL 1.1.0 final (Christian Hofstaedtler) - pdnsutil: create-slave-zone accept multiple masters (Hannu Ylitalo) PowerDNS Authoritative Server 4.0.1 =================================== Bug fixes - Wait for the connection to the carbon server to be established - Don't try to deallocate empty PG statements - Send the correct response when queried for an NSEC directly (Kees Monshouwer) - Don't include bind files if length <= 2 or > sizeof(filename) - Catch runtime_error when parsing a broken MNAME Improvements - Make DNSPacket return a ComboAddredd for local and remote (Aki Tuomi) - OpenSSL 1.1.0 support (Christian Hofstaedtler) - Fix typos in a logmessage and exception (Christian Hofsteadtler) - pdnsutil: Remove checking of ctime and always diff the changes (Hannu Ylitalo) - dnsreplay: Only add Client Subnet stamp when asked - Use toLogString() for ringAccount (Kees Monshouwer) Additions - Add limits to the size of received {A,I}XFR - Add used filedescriptor statistic (Kees Monshouwer) PowerDNS Authoritative Server 4.0.0 =================================== - Moved to C++ 2011, a cleaner more powerful version of C++ that has allowed us to improve the quality of implementation in many places. - Implemented dedicated infrastructure for dealing with DNS names that is fully "DNS Native" and needs less escaping and unescaping. - Due to this, the PowerDNS Authoritative Server can now serve DNSSEC-enabled root-zones. - All backends derived from the Generic SQL backend use prepared statements. - Both the server and pdns_control do the right thing when chroot'ed. - Caches are now fully canonically ordered, which means entries can be wiped on suffix in all places - A revived and supported ODBC backend (godbc). - A revived and supported LDAP backend (ldap). - Support for CDS/CDNSKEY and RFC 7344 key-rollovers. - Support for the ALIAS record. - The webserver and API are no longer experimental. - The API-path has moved to /api/v1 - DNSUpdate is no longer experimental. - ECDSA (algorithm 13 and 14) supported without in-tree cryptographic libraries (provided by OpenSSL). - Experimental support for ed25519 DNSSEC signatures (when compiled with libsodium support). - Many new pdnsutil commands. - GeoIP backend has gained many features, and can now e.g. run based on explicit netmasks not present in the GeoIP databases - Removed support for LMDB. - Removed the Geo backened (use the improved GeoIP instead). - pdnssec has been renamed to pdnsutil. - Support for the PolarSSL/MbedTLS, Crypto++ and Botan cryptographic libraries have been dropped in favor of the (faster) OpenSSL libcrypto (except for GOST, which is still provided by Botan). - ECDSA P256 SHA256 (algorithm 13) is now the default algorithm when securing zones. - The PowerDNS Authoritative Server now listens by default on all IPv6 addresses. - Several superfluous queries have been dropped from the Generic SQL backends. - The INCEPTION, INCEPTION-WEEK and EPOCH SOA-EDIT metadata values are marked as deprecated and will be removed in 4.1.0
2017-01-01Revbump after boost updateadam1-2/+2
2016-12-04Recursive revbump from textproc/icu 58.1ryoon1-2/+2
2016-10-07Revbump post boost updateadam1-2/+2
2016-06-16Switch to security/mbedtls1/buildlink3.mk. Bump PKGREVISION.fhajny2-3/+4
2016-06-08Remove the stability entity, it has no meaning outside of an official context.jperkin1-1/+0
2016-06-08Change the service_bundle name to "export" to reduce diffs between thejperkin1-1/+1
original manifest.xml file and the output from "svccfg export".
2016-06-03Update net/powerdns (and modules) to 3.4.9.fhajny5-18/+15
PowerDNS Authoritative Server 3.4.9 =================================== This is a minor bugfix and performance release. Two contributions by Kees Monshouwer make 3.4.9 fully compatible with the new single key ECDSA default that is coming in version 4.0.0. Changes since 3.4.8: - use OpenSSL for ECDSA signing where available (Kees Monshouwer) - allow common signing key (Kees Monshouwer) - Add a disable-syslog setting - fix SOA caching with multiple backends (Kees Monshouwer) - whitespace-related zone parsing fixes ticket #3568 - bindbackend: fix, set domain in list() (Kees Monshouwer) PowerDNS Authoritative Server 3.4.8 =================================== This is a small bugfix release. Additionally, the deb/RPM packages on downloads.powerdns.com (those with -static in the name) for 3.4.8 have been built against Botan 1.10.11 instead of Botan 1.10.3 like previous packages. Please see the Botan Security page for more information on the fixes in Botan 1.10.11. As a PowerDNS user, these issues only affect you if you ran our -static packages and allowed your users to upload private keys to your configuration. Changes since 3.4.7: - Use AC_SEARCH_LIBS (Ruben Kerkhof) - Check for inet_aton in libresolv (Ruben Kerkhof) - Remove hardcoded -lresolv, -lnsl and -lsocket (Ruben Kerkhof) - pdnssec: don't check disabled records (Pieter Lexis) - pdnssec: check all records (including disabled ones) only in verbose mode (Kees Monshouwer) - traling dot in DNAME content (Kees Monshouwer) - Fix luabackend compilation on FreeBSD i386 (RvdE) - silence g++ 6.0 warnings and error (Kees Monshouwer) - add gcc 5.3 and 6.0 support to boost.m4 (Kees Monshouwer) PowerDNS Authoritative Server 3.4.7 =================================== This is a security release fixing Security Advisory 2015-03 Bug fixes: - Ignore invalid/empty TKEY and TSIG records (Christian Hofstaedtler) - Don't reply to truncated queries (Christian Hofstaedtler) - don't log out-of-zone ents during AXFR in (Kees Monshouwer) - Prevent XSS by escaping user input. Thanks to Pierre Jaury and Damien Cauquil at Sysdream for pointing this out. - Handle NULL and boolean properly in gPGSql (Aki Tuomi) - Improve negative caching (Kees Monshouwer) - Do not divide timeout twice (Aki Tuomi) - Correctly sort records with a priority. Improvements: - Direct query answers and correct zone-rectification in the GeoIP backend (Aki Tuomi) - Use token names to identify PKCS#11 keys (Aki Tuomi) - Fix typo in an error message (Arjen Zonneveld) - limit NSEC3 iterations in bindbackend (Kees Monshouwer) - Initialize minbody (Aki Tuomi) New features: - OPENPGPKEY record-type (James Cloos and Kees Monshouwer) - add global soa-edit settings (Kees Monshouwer)
2016-05-19Bump revisions for Botan update.joerg1-2/+2
2016-04-11Recursive revbump from textproc/icu 57.1ryoon1-1/+2
2015-10-22Update powerdns to 3.4.6.fhajny3-8/+8
This is a security release fixing CVE-2015-5230. Bug fixes: - Avoid superfluous backend recycling - Removal of dnsdist from the authoritative server distribution - Add EDNS unknown version handling and tests EDNS unknown version handling Improvements: - Update YaHTTP to v0.1.7 - Make trailing/leading spaces stand out in pdnssec check_zone - GCC 5.2 support and sync boost.m4 macro with upstream - Log answer packets only if log-dns-details is enabled
2015-10-10Recursive revbump from textproc/icuryoon1-2/+2
2015-06-12Change powerdns dependency from polarssl to mbedtls. Streamline bl3 setupfhajny4-8/+12
while at it. Bump PKGREVISION (and of the module packages).
2015-06-10Update net/powerdns to 3.4.5.fhajny6-44/+28
PowerDNS Authoritative Server 3.4.5 Bug fixes: - Be careful reading empty lines in our config parser and prevent integer overflow. - prevent crash after --list-modules (Ruben Kerkhof) - Limit the maximum length of a qname Improvements: - Support /etc/default for our debian/ubuntu packages (Aki Tuomi) - Detect GCC 5.1 for boost (Ruben Kerkhof) - Various PKCS#11 fixes and improvements (Aki Tuomi) - Fix Coverity issues (Aki Tuomi) - Fix building on OpenBSD (Florian Obser and Ruben Kerkhof) - Look for mbedtls before polarssl (Ruben Kerkhof) - Let pkg-config determine botan dependency libs (Ruben Kerkhof) - Kill some further mallocs and add note to remind us not to add them back - Move remotebackend-unix test socket to testsdir (Aki Tuomi) - Defer launch of coprocess until first question (Aki Tuomi) - pdnssec: check for glue and delegations in parent zones (Kees Monshouwer) PowerDNS Authoritative Server 3.4.4 Bug fixes: - Fix rectify-(all)-zones for mixed case domain names - Fix CVE-2015-1868 - Blocking IO in busy-wait for remote backend (Wieger Opmeer) - Fix double dot for root MX/SRV in bind slave zone files (Kees Monshouwer) - Properly lock lmdb database, fixes ticket #1954 (Aki Tuomi) - Fix segfault in zone2lmdb (Ruben Kerkhof) New Features: - pdnssec: warn for insecure wildcards in opt-out zones - TKEY record type (Aki Tuomi) - Many PKCS#11 improvements (Aki Tuomi) - Introduce xfrBlobNoSpaces and use them for TSIG (Aki Tuomi) Improvements: - Allow "pdnssec set-nsec3 ZONE" for insecure zones; this saves on one rectify when securing a NSEC3 zone - Improvements to the config-file parsing (Aki Tuomi) - Postgresql check should not touch LDFLAGS (Ruben Kerkhof) - Log error when remote cannot do AXFR (Aki Tuomi) - Speed improvements when AXFR is disabled (Christian Hofstaedtler) - NSEC3 and related RRSIGS are not part of the dnstree (Kees Monshouwer) - Change ifdef to check for __GLIBC__ instead of __linux__ to prevent errors with other libc's (James Taylor) - Try to raise open files before dropping privileges (Aki Tuomi) - Add newline to carbon error message on auth (Aki Tuomi) - Make sure we send servfail on error (Aki Tuomi) - Ship lmdb-example.pl in tarball (Ruben Kerkhof) - Allocate TCP buffer dynamically, decreasing stack usage - Throw if getSOA gets non-SOA record
2015-04-17Revbump after updating devel/boost-libsadam1-2/+2
2015-04-06Revbump after updating textproc/icuadam1-1/+2
2015-03-27Updated to latest release, 3.4.3. Updated and defuzzed patches. Added cryptopprodent24-130/+118
and zeromq options, which are disabled by default. ChangeLog: PowerDNS Authoritative Server 3.4.3 Warning: Version 3.4.3 of the PowerDNS Authoritative Server is a major upgrade if you are coming from 2.9.x. Additionally, if you are coming from any 3.x version (including 3.3.1), there is a mandatory SQL schema upgrade. Please refer to the Upgrade documentation for important information on correct and stable operation, as well as notes on performance and memory use. Released March 2nd, 2015 Bug fixes: commit ceb49ce: pdns_control: exit 1 on unknown command (Ruben Kerkhof) commit 1406891: evaluate KSK ZSK pairs per algorithm (Kees Monshouwer) commit 3ca050f: always set di.notified_serial in getAllDomains (Kees Monshouwer) commit d9d09e1: pdns_control: don't open socket in /tmp (Ruben Kerkhof) New features: commit 2f67952: Limit who can send us AXFR notify queries (Ruben Kerkhof) Improvements: commit d7bec64: respond REFUSED instead of NOERROR for "unknown zone" situations commit ebeb9d7: Check for Lua 5.3 (Ruben Kerkhof) commit d09931d: Check compiler for relro support instead of linker (Ruben Kerkhof) commit c4b0d0c: Replace PacketHandler with UeberBackend where possible (Christian Hofstaedtler) commit 5a85152: PacketHandler: Share UeberBackend with DNSSECKeeper (Christian Hofstaedtler) commit 97bd444: fix building with GCC 5 Experimental API changes (Christian Hofstaedtler): commit ca44706: API: move shared DomainInfo reader into it's own function commit 102602f: API: allow writing to domains.account field commit d82f632: API: read and expose domain account field commit 2b06977: API: be more strict when parsing record contents commit 2f72b7c: API: Reject unknown types (TYPE0) commit d82f632: API: read and expose domain account field PowerDNS Authoritative Server 3.4.2 Warning: Version 3.4.2 of the PowerDNS Authoritative Server is a major upgrade if you are coming from 2.9.x. Additionally, if you are coming from any 3.x version (including 3.3.1), there is a mandatory SQL schema upgrade. Please refer to the Upgrade documentation for important information on correct and stable operation, as well as notes on performance and memory use. Released February 3rd, 2015 Find the downloads on our download page. This is a performance and bugfix update to 3.4.1 and any earlier version. For high traffic setups, including those using DNSSEC, upgrading to 3.4.2 may show tremendous performance increases. A list of changes since 3.4.1 follows. Improvements: commit 73004f1: implement CORS for the HTTP API commit 4d9c289: qtype is now case insensitive in API and database commit 13af5d8, commit 223373a, commit 1d5a68d, commit 705a73f, commit b418d52: Allow (optional) PIE hardening commit 2f86f20: json-api: remove priority from json commit cefcf9f: backport remotebackend fixes commit 920f987, commit dd8853c: Support Lua 5.3 commit 003aae5: support single-type ZSK signing commit 1c57e1d: Potential fix for ticket #1907, we now try to trigger libgcc_s.so.1 to load before we chroot. I can't reproduce the bug on my local system, but this "should" help. Seriously. commit 031ab21: update polarssl to 1.3.9 Bug fixes: commit 60b2b7c, commit d962fbc: refuse overly long labels in names commit a64fd6a: auth: limit long version strings to 63 characters and catch exceptions in secpoll commit fa52e02: pdnssec: fix ttl check for RRSIG records commit 0678b25: fix up latency reporting for sub-millisecond latencies (would clip to 0) commit d45c1f1: make sure we don't throw an exception on "pdns_control show" of an unknown variable commit 63c8088: fix startup race condition with carbon thread already trying to broadcast uninitialized data commit 796321c: make qsize-q more robust commit 407867c: mind04 discovered we count corrupt packets and EAGAIN situations as validly received packets, skewing the udp questions/answers graphs on auth. commit f06d069: make latency & qsize reporting 'live'. Plus fix that we only reported the qsize of the first distributor. commit 2f3498e: fix up statbag for carbon protocol and function pointers commit 0f2f999: get priority from table in Lua axfrfilter; fixes ticket #1857 commit 96963e2, commit bbcbbbe, commit d5c9c07: various backends: fix records pointing at root commit e94c2c4: remove additional layer of trailing . stripping, which broke MX records to the root in the BIND backend. Should close ticket #1243. commit 8f35ba2: api: use uncached results for getKeys() commit c574336: read ALLOW-AXFR-FROM from the backend with the metadata Minor changes: commit 1e39b4c: move manpages to section 1 commit b3992d9: secpoll: Replace ~ with _ commit 9799ef5: only zones with an active ksk are secure commit d02744f: api: show keys for zones without active ksk New features: commit 1b97ba0: add signatures metric to auth, so we can plot signatures/second commit 92cef2d: pdns_control: make it posible to notify all zones at once commit f648752: JSON API: provide flush-cache, notify, axfr-retrieve commit 02653a7: add 'bench-db' to do very simple database backend performance benchmark commit a83257a: enable callback based metrics to statbas, and add 5 such metrics: uptime, sys-msec, user-msec, key-cache-size, meta-cache-size, signature-cache-size Performance improvements: commit a37fe8c: better key for packetcache commit e5217bb: don't do time(0) under signature cache lock commit d061045, commit 135db51, commit 7d0f392: shard the packet cache, closing ticket #1910. commit d71a712: with thanks to Jack Lloyd, this works around the default Botan allocator slowing down for us during production use.
2015-02-17Include <machine/endian.h> for NetBSD too, which keeps BYTE_ORDER fromrodent2-4/+4
being redefined. This was a problem on OpenBSD in a previous version of the package too. Defuzz patches.
2015-01-12Avoid ambiguous abs() call.jperkin2-3/+14
2014-12-15Do not use IP_PKTINFO on NetBSD. Fixes build on NetBSD 7.fhajny3-1/+40
2014-12-10Update PowerDNS to 3.4.1.fhajny34-635/+533
pkgsrc changes: - SQLite 2.x support no longer exists - SQLite 3.x support cannot be compiled outside the main package because of how symbols are distributed, so making it a compile time option for net/powerdns now. Too many changes since 2.9.22.5 (over 2 years ago), see the full changelog: http://doc.powerdns.com/md/changelog/ Upgrade notes: - PowerDNS 3.4 comes with a mandatory database schema upgrade coming from any previous 3.x release. - PowerDNS 3.1 introduces native SQLite3 support for storing key material for DNSSEC in the bindbackend. With this change, support for bind+gsql-setups ('hybrid mode') has been dropped. - PowerDNS 3.0 introduces full DNSSEC support which requires changes to database schemas. By default, old non-DNSSEC schema is assumed. Please see the docs on upgrading for particular steps that need to be taken: http://doc.powerdns.com/md/authoritative/upgrading/
2014-10-05Fix ``Please add a line "# used by foo/bar/Makefile" here.'' warnings.wiz1-1/+3
2014-03-11Remove example rc.d scripts from PLISTs.jperkin1-2/+1
These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or ignored otherwise.
2013-05-09Fix overlap between boost and C++11 STLjoerg16-11/+661
2013-04-13Hand in maintainership.ghen1-2/+2
2012-10-23Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-10-02Limit inclusion of boost headers to only those necessary to avoidjperkin6-2/+74
conflicting type errors, notably uint_t. Add -lsocket -lnsl on Solaris. Fixes package on Solaris.
2012-05-20net/powerdns: Add DragonFly supportmarino5-1/+60
2012-01-25Previous PLIST change was wrong due to a libdir bug now fixed by sbd. Revertghen2-5/+5
PLIST and bump PKGREVISION again for powerdns + modules.
2012-01-23Fix unportable == check in configure (I did not have PKG_DEVELOPER=yes whenghen4-5/+20
previously updating this pkg), noted by joerg. Also fix some PLIST issues (introduced with the same update). Bump PKGREVISION of affected packages.
2012-01-17Convert packages with add --libdir=* to CONFIGURE_ARGS to usesbd1-2/+2
GNU_CONFIGURE_LIBDIR or GNU_CONFIGURE_LIBSUBDIR.
2012-01-13Upgrade to PowerDNS 2.9.22.5, including a fix for CVE-2012-0206.ghen10-137/+22
2011-11-23Fix build with newer GCCjoerg11-26/+52
2009-06-14Remove @dirrm entries from PLISTsjoerg1-3/+1
2008-12-08Update to PowerDNS 2.9.21.2.ghen2-6/+6
This release consists of a single patch to address CVE-2008-5277.
2008-09-18Add some required explicit scopes to fix ambiguity errors onjoerg7-1/+105
NetBSD/current.
2008-08-26Distfile changed (not the contents, it was just repackaged), thus do tehghen2-5/+6
DIST_SUBDIR dance. Noted by joerg.
2008-08-11Upgrade PowerDNS to 2.9.21.1. This release contains the security patch forghen4-31/+7
CVE-2008-3337 that we already had in patch-ac.
2008-08-11Fix for CVE-2008-3337 taken from PowerDNS 2.9.21.1: return SERVFAIL toghen3-3/+26
mailformed queries instead of just dropping them (as this facilitates DNS spoofing attacks). Bump PKGREVISION.
2008-01-30The package supports installation to DESTDIR.heinz1-1/+3
2008-01-04Bump PKGREVISION due to boost update to 1.34.1.jmmv1-1/+2
2007-05-09Update to PowerDNS 2.9.21, requested by YazzY.ghen3-12/+12
This seems to fix a coredump on NetBSD 4.99.19. The (long) list of changes can be viewed at http://doc.powerdns.com/changelog.html#CHANGELOG-2-9-21
2006-08-13Import net/powerdns, based on wip/pdns2 from pkgsrc-wip. ghen9-0/+149
The PowerDNS nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms to all the relevant DNS standards documents. PowerDNS is open source. The PowerDNS nameserver utilizes a flexible backend architecture that can access DNS information from any data source. This includes file formats, Bind zone files, relational databases or LDAP directories. See the net/powerdns-* packages for additional backend modules.