Commit graph

119 commits

Author SHA1 Message Date
Steve Wills
3335ef2bae dns/nsd: Fix build with DNSTAP option enabled
PR:		233890
Submitted by:	jaap@NLnetLabs.nl (maintainer)
Reported by:	r00t@kaba1ah.org
2018-12-10 16:28:27 +00:00
Steve Wills
f3b9a4dce7 dns/nsd: Update to 4.1.26
While here, pet portlint

PR:		233797
Submitted by:	jaap@NLnetLabs.nl (maintainer)
2018-12-09 01:03:05 +00:00
Wen Heping
30e3e4569d - Update to 4.1.25
PR:		231878
Submitted by:	jaap@NLnetLabs.nl(maintainer)
2018-10-02 13:55:58 +00:00
Danilo G. Baio
990a27cec1 dns/nsd: Update to 4.1.24
PR:		230591
Submitted by:	jaap@NLnetLabs.nl (maintainer)
2018-08-15 23:33:07 +00:00
Steve Wills
b0a2574eb4 dns/nsd upgrade to version 4.1.23
PR:		230182
Submitted by:	jaap@NLnetLabs.nl (maintainer)
2018-07-30 13:59:49 +00:00
Steve Wills
0942caa218 dns/nsd: upgrade to version 4.1.22
PR:		228883
Submitted by:	jaap@NLnetLabs.nl (maintainer)
2018-06-14 22:59:05 +00:00
Kirill Ponomarev
ccaac56fb9 Update to 4.1.21
PR:		228272
Submitted by:	maintainer
2018-05-15 20:19:54 +00:00
Yuri Victorovich
1e08d46c68 dns/nsd: Update to 4.1.20
This release fixes memory leaks when reading zonefiles
and processing zone transfers.

4.1.20
================
BUG FIXES:
- Fix memory leak in zone file read of unknown rr formatted RRs.
- Fix memory leak when rehashing nsec3 after axfr or zonefile read,
  in the selectively allocated precompiled nsec3 hashes.

Also changed to DISTVERSION

Submitted by:	jaap@NLnetLabs.nl (maintainer)
Approved by:	tcberner (mentor, implicit)
2018-02-20 19:39:32 +00:00
Steve Wills
9c498904f0 dns/nsd: Update to 4.1.19
PR:		224243
Submitted by:	jaap@NLnetLabs.nl (maintainer)
2017-12-11 14:07:32 +00:00
Kurt Jaeger
ed7c4d7c2c dns/nsd: update 4.1.17 -> 4.1.18
This release has features for saving memory and faster notification.
With --enable-packed, 33% memory savings could be had, or something
along that size.  Notification of secondary servers happens in parallel,
and has faster timeouts.  More sockets are used for zone transfers.
This speeds up communication with a larger set of servers.  Additionally
a bug is fixed for dual-loaded parent-and-child zone configured at the
same time, when one of the zones has not loaded properly.

FEATURES:
- xfr-inspect, it is not installed, it prints xfr files from /tmp
  made with 'make xfr-inspect' in the source dir.
- retry timeout between sending notifies dropped from 15 to 3 sec.
- NSD sends 16 notifies simultaneously.
- configure --enable-packed reduces memory usage, at expense of
  unaligned reads.  Saves about 17%.
- Save memory by selectively allocate precompiled nsec3 hashes,
  saves about 16% memory.
- make ip-transparent option work on OpenBSD.
- Save about 2% memory by changing usage count size in name tree.
- Fix #2871: Increase number of sockets for xfrd transfers.

BUG FIXES:
- Fix gcc 7.1.1 warnings.
- Fix writev compile warning on FreeBSD.
- Fix #1446: A corrupted zone file "propagates" to good ones.
- nsd-control zonestatus prints wait time between attempts, for zones
  that are in that waiting time.
- Fix collision printout of nsec3 to print name, hash and reverse.
- Fix #1567: Change crit to err log level for gettimeofday failure.
  Add defines for compile without syslog.
- Fix crash for DS query when parent and child zones both configured
  in nsd.conf and parent zone has not loaded properly.

PR:		224025
Submitted by:	jaap@NLnetLabs.nl (maintainer)
2017-12-02 12:37:22 +00:00
Danilo G. Baio
66ce9191f5 dns/nsd: Update to 4.1.17
Features:
- zone parser parses type AVC (it has TXT format).
- Fix #1272: use writev to put tcp length field with data for outgoing
  zone transfer requests.

Bugfixes:
- Fix potential null pointer in nsec3 adjustment tree.
- Fix text format of deletes for CDS and CDNSKEY, single 0 to represent
  empty base64 or hex string.

PR:		220939
Submitted by:	jaap@NLnetLabs.nl (maintainer)
2017-07-28 00:27:55 +00:00
Kurt Jaeger
4206804e2c dns/nsd: update 4.1.15 -> 4.1.16
features:
- zone parser can parse acronyms for algorithms ED25519 and ED448.
- Fix 1243: Option to make NSD emit really minimal responses,
  minimal-responses: yes in nsd.conf.

bug fixes:
- Calculate new udb index after growing the array, fix from
  Chaofeng Liu.
- Fix missing _t to _type conversion for disable-radix-tree option.
- Printout serial error with hint it may be too big.
- Fix 1228: OpenSSL include is not guarded with HAVE_SSL
- Patch for expire state in multi-master when masters includes
  broken master, from Manabu Sonoda.
- minor manpage fix.

PR:		218873
Submitted by:	jaap@NLnetLabs.nl (maintainer)
2017-04-29 20:39:23 +00:00
Jason Unovitch
df713040b0 dns/nsd: Fix missing _t to _type conversion for disable-radix-tree option
- Noting NSD changelog, recent update renamed _t typedefs because POSIX
  reserves them. The 4.1.15 update missed a few conversion.
- Unbreak RADIXTREE. No PORTREVISION change as port would not have built.

PR:		217640
Reported by:	Max Kostikov <max@kostikov.co>
Submitted by:	w.schwarzenfeld@utanet.at (the suggested diff)
		jaap@NLnetLabs.nl (maintainer - the port patch)
Obtained from:	nsd svn r4741
2017-03-17 02:14:39 +00:00
Jason Unovitch
8643d00296 dns/nsd: update 4.1.14 -> 4.1.15
PR:		217537
Submitted by:	jaap@NLnetLabs.nl (maintainer)
2017-03-05 01:03:40 +00:00
Jan Beich
a9425224f1 devel/libevent2: drop historical suffix after r362796
PR:		216777
Approved by:	mm (maintainer)
2017-02-20 02:57:04 +00:00
Jan Beich
21a7215c9a devel/libevent2: update to 2.1.8 and cleanup
- DEFAULT_VERSIONS += ssl=openssl-devel is now supported
- devel/py-event and devel/p5-Event-Lib are marked BROKEN

Changes:	https://github.com/libevent/libevent/raw/release-2.1.8-stable/whatsnew-2.1.txt
Changes:	https://github.com/libevent/libevent/raw/release-2.1.8-stable/ChangeLog
PR:		216527
Exp-run by:	antoine
Approved by:	mm (maintainer)
2017-02-04 07:56:59 +00:00
Emanuel Haupt
3b0e5f8a16 Update to 4.1.14
PR:		215144
Submitted by:	jaap@NLnetLabs.nl (maintainer)
2016-12-08 17:05:45 +00:00
Pawel Pekala
a6dcae5a90 Update to version 4.1.13
SUMMARY:
Some features, such as multi master check option that does not upgrade
from the first master that answers, but picks the best one.
Additional section handling for type SRV. And bug fixes.

FEATURES:
- multi-master-check: yes can be used to check all masters for the
  last version, using the higher version from the configured masters,
  from Manabu Sonoda.
- Support RR type OPENPGPKEY from RFC 7929.
- Can config key algorithms with the digest name, eg. 'sha256'.
- configure --disable-radix-tree for about 15% lower memory usage.
- for type SRV add A/AAAA to the additional section (if possible),
  just like we already do for type MX.
- more extensible edns option handling.

BUG FIXES:
- Fix compile warnings about unused result from write and strtol.
  and signcompare in minmax retrytime.
- Fix #812: fix that make depend fails after distribution.
- Fix #817: xfrd update failed loop.
- Add robustness against unallocated data in nsec3 trees.
- Fix README spelling error of BSD license (reported by Joerg Jung).
- Fix multimaster for not tried full zone transfer for a expired zone.
- Fix #827: fix compile with openssl 1.1.0 with api=1.1.0.

PR:		213021
Submitted by:	maintainer
2016-10-01 16:37:31 +00:00
Xin LI
a08371a4c3 Update to 4.12.
Release note:
  Fix malformed edns query assertion failure, reported
  by Michal Kepien (NASK)

PR:		ports/212327
Submitted by:	maintainer (jaap NLnetLabs nl)
MFH:		2016Q3
2016-09-02 16:38:13 +00:00
Lev A. Serebryakov
b4bc63219f Add profiles to nsd init script.
PR:		211883
Submitted by:	lev
Approved by:	jaap@NLnetLabs.nl
2016-08-17 13:22:27 +00:00
Jason Unovitch
d5716373e1 dns/nsd: update 4.1.10 -> 4.1.11
- Restore configurable IPV6 option. Upstream integrated fix for issue.

- FEATURES:
* When tcp is more than half full, use short timeout for tcp session.
* Patch for {max,min}-{refresh,retry}-time from YAMAGUCHI Takanori.
* Fix #790: size-limit-xfr can stop NSD from downloading infinite zone transfer
  data size, from Toshifumi Sakaguchi.
  Fixes CVE-2016-6173 JVN#63359718 JPCERT#91251865.
- BUGFIXES:
* Fix build without IPv6, patch from Zdenek Kaspar.
* Fix #783: Trying to run a root server without having configured it silently
  gives wrong answers.
* Fix #782: Serve DS record but parent zone has no NS record.
* Fix nsec3 missing for nsec3 signed parent and child for DS at zonecut.

PR:		211693
Submitted by:	jaap@NLnetLabs.nl (maintainer)
Security:	CVE-2016-6173
Security:	https://vuxml.FreeBSD.org/freebsd/7d08e608-5e95-11e6-b334-002590263bf5.html
MFH:		2016Q3
2016-08-10 01:32:14 +00:00
Kubilay Kocak
0c47b7db42 dns/nsd: Remove IPv6 option, fixes build
Remove the IPv6 option that is causing builds to fail when it is
disabled. The issue does not affect package users, as it was a default
option.

The issue has been fixed upstream [1] and will be included/renabled
in the next version update.

While I'm here:

* Switch to USES=ssl
* Add --enable-ipv6 in CONNFIGURE_ARGS to ensure it's explicitly enabled

[1] https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=800

PR:		211303
Reported by:	<vfx9as gmail com>
Approved by:	maintainer <jaap NLnetLabs nl>
MFH:		2016Q3
2016-07-28 11:23:59 +00:00
Ruslan Makhmatkhanov
0f0f2b087d dns/nsd: update to 4.1.10
- turn on IPV6 option by default

PR:		210276
Submitted by:	jaap@NLnetLabs.nl (maintainer)
2016-06-18 21:45:42 +00:00
Dmitry Marakasov
c86e9d9724 Remove NLS, DOCS, EXAMPLES and IPV6 from OPTIONS_DEFAULT, they are enabled by default anyway and don't need to be listed
Approved by:	portmgr blanket
2016-05-23 20:35:01 +00:00
Dmitry Marakasov
e87a8bd319 - Fix trailing whitespace in pkg-messages
Approved by:	portmgr blanket
2016-05-19 11:09:14 +00:00
Mathieu Arnold
4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Olli Hauer
a681562c84 - update to 4.1.9
BUG FIXES:
- Change the nsd.db file version because of nanosecond precision fix.

Approved by:    jaap@NLnetLabs.nl (maintainer)
PR:             208043
MFH:            2016Q1
2016-03-15 19:56:28 +00:00
Olli Hauer
68a2249e71 - update to 4.1.8
- add ability to build agains openssl or libressl from ports
- add MUNIN_PLUGIN_IMPLIES= BIND8_STATS
- use @sample macro in pkg-plist for nsd.conf
- s/exec/postexec/ pkg-plist

FEATURES:
- #732: tcp-mss, outgoing-tcp-mss options for nsd.conf, patch
  from Daisuke Higashi.
- #739: zonefile changes when mtime is small are detected on reload,
  if filesystem supports precision mtime values.
- RR type CSYNC (RFC7477) syntax is supported.

BUG FIXES:
- take advantage of arc4random_uniform if available, patch from
  Loganaden Velvindron.
- Fix flto check for OSX clang.
- Define _DEFAULT_SOURCE with _BSD_SOURCE for glibc 2.20 on Linux.
- Fix #736: segfault during zone transfer.
- Fix #744: Fix that NSD replies for configured but unloaded zone
  with SERVFAIL, not REFUSED.

PR:		207951
Submitted by:	jaap@NLnetLabs.nl (maintainer)
MFH:		2016Q1
2016-03-14 06:59:14 +00:00
Martin Wilke
db0a5d49d9 - Fix a typo
PR:		205373
Submitted by:	TEUBEL György
Approved by:	mat (mentor), maintainer
Differential Revision:	D4604
2015-12-18 05:45:00 +00:00
Martin Wilke
31689742d2 - Update to 4.1.7
- Switch to options helper

PR:		205292
Submitted by:	maintainer
Approved by:	mat (mentor)
Differential Revision:	D4579
2015-12-16 05:09:16 +00:00
Erwin Lansing
7a63ee5883 Update to 4.1.6
Major Bug Bug Fixes:
- This release fixes segfault after start when many interfaces are in use.
- This version returns the EDNS bad version response with the AD flag
  unset for improved conformance.

Minor Buf Fixes:
- Fix #701: Fix that AD=1 set in a BADVERS response.
- Fix typo in zonec.c inside error message.
- Fix #711: Document that debug-mode yes is used for staying
  attached to the supervisor console.
- Document verbosity 3 prints more information.
- nsd-checkconf warns for master zones with no zonefile statement.
- Fix start failure when many file descriptors are in use.
- The servfail rcode is not printed with a space in the middle.
- print failed token for config syntax error or parse error.

PR:		204533
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
Sponsored by:	DK Hostmaster A/S
2015-11-13 22:22:39 +00:00
Erwin Lansing
2aec7160bb Upgrade from 4.1.3 to version to 4.1.5 (includes up 4.1.4)
FEATURES:
- RFC7553 RR Type URI support.
- removed hardcoded interface limit, --with-max-ips removed.
- Admitted axfrs are logged at verbosity 1. Refused at verbosity 2.

Major BUG FIXES:
- Fix NSID response for short edns sizes.
- Fix that for expired zones NSD performs an AXFR and accepts newer
  and older serial numbers.

PR:		203231
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
Sponsored by:	DK Hostmaster A/S
2015-09-21 16:03:54 +00:00
Erwin Lansing
d506538d21 Update to 4.1.3
PR:		201261
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
Sponsored by:	DK Hostmaster A/S
2015-07-02 07:49:57 +00:00
Dmitry Marakasov
4ae2b42965 - Add option to install Munun plugin
PR:		199798
Submitted by:	tgyurci@gmail.com
Approved by:	maintainer timeout
2015-05-18 17:44:32 +00:00
Dmitry Marakasov
22a9b9a462 - Add CPE info
Approved by:	portmgr blanket
2015-05-10 05:09:34 +00:00
Erwin Lansing
a03b9498f4 Update to 4.1.2
- Logging improvements
- Zone parser bug fixes
- Integer overflow bug fixes

PR:		199462
Submitted by:	Jaap Akkerhuis <jaap@nlnetlabs.nl> (maintainer)
2015-04-16 11:04:36 +00:00
Erwin Lansing
3fd141a34b update to 4.1.1
Major Features:

- RFC 7344: CDS and CDNSKEY (read record types).
- per zone statistics with --enable-zone-stats
- Disabled use of SSLv3 in nsd-control.
- Synthesize CNAMEs with same TTL as DNAME.
- nsd-checkconf -f prints out full name of pidfile (with dir). [1]

PR:		197291,
		196449 [1]
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl>,
		Adam Zaleski <adam@zaleski.org> [1]
2015-02-08 02:42:51 +00:00
Olli Hauer
8e0a792881 - use new @dir macros to create empty folders 2014-12-01 23:25:50 +00:00
Baptiste Daroussin
530a33f611 Cleanup plist 2014-10-27 12:13:22 +00:00
Bryan Drewery
e282aa059a Chase r369850 for updated nsd user information 2014-10-02 19:12:17 +00:00
Erwin Lansing
1a1d82f1eb - Update to 4.1.0
- Use nsd instead of bind user

This release has new features and bugfixes.  In nsd.conf you can
configure database: "" this makes NSD not use the large mmapped nsd.db
file, but instead read and write the zonefiles in text format, which
saves about 50% of the memory usage.  Also zonefile reading and
writing has been optimised to be faster, as well as processing time
for zone transfers.  NSD writes the (changed) zonefiles every hour.

The new nsd-checkzone tool reports if a zonefile parses so you can check
it before reading it into the daemon.

A bug is fixed where NSD 4 causes rising load average and memory
consumption on Linux systems, which is caused by a bug in Linux that
slowly deteriorates system performance by repeated recursive forks.

Full release notes: http://open.nlnetlabs.nl/pipermail/nsd-users/2014-September/002007.html

PR:		193332
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
Sponsored by:	DK Hostmaster A/S
2014-09-05 11:20:42 +00:00
Baptiste Daroussin
b564653452 Only use libevent2
Remove libevent as libevent2 is providing a good compatibility interface as well
as providing better performances.
Remove custom patches from libevent2 and install libevent2 the regular way
Mark ports abusing private fields of the libevent1 API as broken
Import a patch from fedora to have honeyd working with libevent2
Remove most of the patches necessary to find the custom installation we used to
have for libevent2

With hat:	portmgr
2014-07-24 13:32:58 +00:00
Guido Falsi
22fe874022 - Update to 4.0.3
PR:		ports/187596
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2014-03-24 12:55:26 +00:00
Olli Hauer
6a316de552 - remove pre-patch delay
- remove PKG-INSTALL from post-install (not used with staging)
- move pkg-install and pkg-deinstall into pkg-plist

Approved by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer, per PM)
2014-02-23 23:31:43 +00:00
Pawel Pekala
0f9de52d03 Prefer CONFIGURE_ENABLE over CONFIGURE_ON/OFF
Suggested by:	mat@
2014-02-22 13:14:55 +00:00
Pawel Pekala
117125bd1d - Fix man installation after port was stagified [1]
- Convert LIB_DEPENDS to new format [1]
- Remove leading article from COMMENT
- Switch to options helpers
- Conditional installation of docs is not needed with stage
- Don't show pkg-message twice

PR:		ports/186693 [1]
Submitted by:	Denis Generalov <gd.workbox@gmail.com>
Approved by:	maintainer
2014-02-22 12:47:25 +00:00
Erwin Lansing
4850dccd63 There was a wrong rc script in the port preventing the daemon to run.
Added STAGING support

Added LICENSE (NSD3CLAUSE) statement

Other small changes to make portlint more happy

PR:		186631
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2014-02-12 10:46:24 +00:00
Bernhard Froehlich
13c57fa0a8 - Update to 4.0.1
- Cleanup rc script

FEATURES:
- recognizes ip-address and interface as synonyms for convenience.
- Support for EUI48 and EUI64 RR types enabled by default (RFC 7043).
- Support for CAA RRtype (RFC 6844).
- NSID can be set with "ascii_somestring" in ascii.

BUG FIXES:
- Fix xfrd when zone transfer TCP contains zero length packets.
- Fix for NSEC3 zones where parent zone is co-hosted, also NSEC3,
because AXFRs overwrote nsec3 administration in the child zone.
- Fix that bad IXFR updates do not result in double SOA records,
and that an AXFR is started (attempted) when the zone state seems
to be inconsistent with the master's zone state.
- Log ip address for sendto and sendmmsg failures.
- Fix segfaults after read of zones with rr type WKS from zonefile.
- Seed PRNG for openssl at start of daemon, fixes SSL connection issue.
- Bugfix #534: IXFR query loop over UDP for zones that are unchanged.
- (same as in 3.2.16): fix wildcard cname to nxdomain repeated rrset.
- (same as in 3.2.16): Bugfix #542: Match RRSIG TTL with SOA TTL in
negative response.
- Check if configure in srcdir collides with outofdir build.
- Fix #546: output format errors in nsd_munin_ (Thanks Tom Hendrikx).
- Fix printout of high-chars in TXT on NetBSD.

PR:		ports/186308
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2014-02-07 14:44:23 +00:00
Erwin Lansing
17867420bb Please welcome NSD 4.0.0
For all new features, see
http://www.nlnetlabs.nl/svn/nsd/tags/NSD_4_0_0_REL/doc/NSD-4-features

This version replaces the nsdc control program with nsd-control.
This requires some manual setup with nsd-control-setup and editing
of the config files. nsd-control is incompatible with nsdc so when
that is used in scripts, these should be adapted.

NSD 3 is still supported as dns/nsd3.

PR:		183888
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl>
2013-11-12 13:24:45 +00:00
Baptiste Daroussin
24a1652ff4 Add NO_STAGE all over the place in preparation for the staging support (cat: dns) 2013-09-20 16:31:57 +00:00