Commit graph

83 commits

Author SHA1 Message Date
Eric Luehrsen
c0a630001b unbound: bugfix for UCI script typos
- UCI option dnsmasq_gate_name typo in few locations
- NTP hotplug to check /etc/init.d/unbound not ..dnsmasq

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2016-12-18 22:38:19 -05:00
Eric Luehrsen
e9226f1d26 unbound: update 1.6.0
- future opportunity: added "views:" clause
-- consider won't need UCI for security instances
-- consider access lists, forwards, views, and tags
-- consider query denial for DNS amplification defense
- future opportunity: thrifted "local-zone:" memory bloat
-- consider adblock package to feed thru unbound-control
-- consider access lists, forwards, views, and tags
-- consider offering LuCI parental controls or other

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2016-12-18 22:38:19 -05:00
Eric Luehrsen
c189596a4a Unbound: added UCI support for DNS64
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
Signed-off-by: Dan Luedte <mail@danrl.com>
2016-12-12 08:12:26 +01:00
Eric Luehrsen
1ed2270670 Unbound: fix regression of manual conf for power user
- History: prior to package 1.5.10-3 /var/lib/unbound was not used
- History: prior to package 1.5.10-4 no UCI scripts were provided
- Problem: UCI 'option manual_conf 1' only copied unbound.conf and root.key
- Problem: power users that had complex file nests cannot use this
- Fix: README.md includes instructions for /var/lib/unbound jail
- Fix: unbound.sh copies ALL of /etc/unbound for 'option manual_conf 1'

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2016-12-08 00:57:28 -05:00
Eric Luehrsen
c9e5929ff9 Unbound: Update scripts to build conf file from UCI
-unbound.sh implements the majority of requirements in README.md
-rootzone.sh reloads a small subset for alternate trigger maintenance
-unbound.init sets procd triggers on Unbound and dnsmasq (dhcp) UCI
-two part commit squashed with Makefile included

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2016-11-29 20:49:46 -05:00
Eric Luehrsen
e8efcadcd5 Unbound: Add files to enable forward link to dnsmasq
-dnsmasq really provides nice local DHCP-DNS records
-Unbound host records would be clumsy to update
-Unbound can be configured to forward to dnsmasq
-iptools provided to facilitate PTR records
-flexible ipv6 colon notation is a bit complex

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2016-11-29 20:49:46 -05:00
Eric Luehrsen
2202548ff0 Unbound: Add UCI primer files
-README.md to describe the UCI in detail
-unbound.uci to get you started

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2016-11-29 20:49:46 -05:00
Eric Luehrsen
416534f95d Unbound: Add hotplug/ntp script to request restart
-DNSSEC needs time, time needs ntp, or power off RTC
-Many consumer routers are cost thrifted without RTC
-Conf "val-override-date: -1" disables time inside DNSSEC
-Need restart as option is not dynamically switchable
-hotplug/ntp is used to set file /var/lib/unbound/unbound.time
-UCI will add or remove option depending on flag-like-file

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2016-11-29 20:49:46 -05:00
Eric Luehrsen
8dfd5d0b84 Unbound: Incorporate hotplug/iface and root.key in tmpfs
-Patch for /etc/unbound/unbound.conf
--All work done in /var/lib/unbound/
--chroot or jail to /var/lib/unbound/
-Init script points to /usr/lib/unbound.sh
-Makefile to install new scripts in the package

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2016-10-30 00:22:53 -04:00
Eric Luehrsen
cb56829c98 Unbound: Add scripts to manage root.key in tmpfs
-Unbound RFC 5011 is busy and writes frequently
-RFC 5011 creates working files in same directory
-DNSSEC root.key managed in /var/lib/unbound
-Protect against flash ROM wear out in /etc/unbound
-Scripts will copy back every 7 days instead

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2016-10-30 00:22:53 -04:00
Eric Luehrsen
b228d5e969 Unbound: Add hotplug/iface script to request restart
-Rebind to new interfaces cleanly
-Detach from old interfaces cleanly
-Some conf options do not reload dynamically
-Unbound grows some and this will shrink it

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2016-10-30 00:22:53 -04:00
Eric Luehrsen
3bd81acfb4 Unbound: Give USERID explicit numbers for clean install
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2016-10-20 21:52:22 -04:00
Eric Luehrsen
acf40cf6ae Unbound: Group patch work for example.conf.in
-Remove interlaced configuration changes
--Less sensitive to upstream example.conf changes
--Easier to read patch-of-patch work for maintenance
-Use MEMORY CONTROL EXAMPLE from http://unbound.net/
--Review and rework with respect to previous pacakge
--Effectively the same configuration as previous package
-Disable DNSSEC by default due to real-time chicken-n-egg
--Many OpenWrt target devices have no power-off clock (reboot)
--User choice of work around should be conscious
--Initial install should not fail reboot with DNSSEC default
-Add some defaults explicitly to prevent surprises

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2016-10-20 21:52:22 -04:00
Hannu Nyman
524e19171c unbound: fix whitespace
* Fix upstream whitespace change in the patch.
* Minor cleanup to the header.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-10-18 18:24:17 +03:00
Stijn Segers
56891725c1 unbound: update to 1.5.10
Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
2016-10-18 18:22:37 +03:00
Michael Hanselmann
263e8eaaa2 net/unbound: Change maintainer to Eric Luehrsen
Eric has offered to take over maintainership for the net/unbound
package.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2016-10-16 19:44:48 +02:00
Stijn Segers
cb794b4fcd unbound: enable pthreads, disable deprecated ciphers
Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
2016-09-11 14:11:21 +02:00
Michael Hanselmann
414eaacd90 unbound: Switch to non-privileged user
Until now unbound was always running as root by default. A DNS resolver can
easily run under a non-privileged user.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2016-06-14 22:09:39 +02:00
Michael Hanselmann
28945ea398 unbound: Rewrite init script to use procd
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2016-06-14 22:09:31 +02:00
Michael Hanselmann
e21d81209c unbound: Update to 1.5.9
Bump unbound to version 1.5.9 released on June 9, 2016.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2016-06-14 22:09:31 +02:00
Michael Hanselmann
0d856b0e47 unbound: Use INSTALL_BIN/DATA for installation
The commands aliased by $(INSTALL_BIN) and $(INSTALL_DATA) set good
permissions, unlike a raw file copy.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2016-06-14 22:09:31 +02:00
Michael Hanselmann
c0e5d5ee45 unbound: Remove named.cache
The custom list of DNS root servers provided with the package is not necessary.
Unbound ships with a built-in list.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2016-06-14 22:09:31 +02:00
Michael Hanselmann
e14f9ac57f [Unbound] Update to 1.5.8
Bump unbound to version 1.5.8 released on March 2, 2016.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2016-03-17 15:35:39 +01:00
Michael Hanselmann
67567e4536 [Unbound] Update to 1.5.7
Bump unbound to version 1.5.7 released on December 10, 2015.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2015-12-14 23:33:18 +01:00
Michael Hanselmann
2f0f2c4cd9 [Unbound] Update to 1.5.6
Bump unbound to version 1.5.6 released on October 20, 2015.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2015-10-30 21:39:08 +01:00
Michael Hanselmann
c4db8d95ae [Unbound] Update to 1.5.5
Bump unbound to version 1.5.5 released on October 6, 2015.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2015-10-14 22:37:51 +02:00
Borromini
2f1c2f65e6 [Unbound] Update to 1.5.4
Bumped to latest upstream release - 1.5.4

Signed-off by Stijn Segers <francesco.borromini@inventati.org>
2015-08-31 21:09:18 +02:00
Ondřej Caletka
a8b46fbc80 unbound: Support for validating ECDSA DNSSEC signatures
This patch enables support for validating ECDSA signatures, which
are being deployed more and more in DNSSEC.

Proper validating can be tested by observing the AD flag in following
query (courtesy of Olafur Gudmundsson, CloudFlare):
 $ dig ds-4.alg-14-nsec.dnssec-test.org

Signed-off-by: Ondřej Caletka <ondrej@caletka.cz>
2015-06-28 11:27:30 +02:00
Michael Hanselmann
af3b2635df Update net/unbound to version 1.5.3
unbound 1.5.3 was released on March 10, 2015.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2015-04-19 22:32:14 +02:00
Heiner Kallweit
2cfb8c6c2a unbound: bump to version 1.5.1
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
2015-02-12 21:01:12 +01:00
Heiner Kallweit
f2370ca1db unbound: bump named.cache to latest version from Nov 2014
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
2015-02-12 21:00:13 +01:00
Ian Leonard
ac7cd4c6e6 misc: correct typo in Makefiles for PKG_LICENSE_FILES
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-24 23:43:37 -08:00
Michael Hanselmann
6f2ceb74b9 Import net/unbound package from Subversion
This is an import of the net/unbound package from Subversion
revision 40658 (May 2, 2014). The only change is the addition of
PKG_LICENSE, PKG_LICENSE_FILE and PKG_MAINTAINER to Makefile.
Unbound 1.4.22 is the current upstream release.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2014-08-19 05:15:22 +02:00