aboutsummaryrefslogtreecommitdiffstats
path: root/main/unbound/update-unbound-root-hints
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2016-09-03 18:45:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-09-05 10:50:46 +0000
commit3c3956a49518a177c28f2ba8e1f0f67bcfba38b5 (patch)
treed5a2014022da50cd98ff3845d88868d536d3f2bc /main/unbound/update-unbound-root-hints
parent3f5d9f5b72009b2fb8121347e01f81d7453ed017 (diff)
downloadaports-3c3956a49518a177c28f2ba8e1f0f67bcfba38b5.tar.bz2
aports-3c3956a49518a177c28f2ba8e1f0f67bcfba38b5.tar.xz
main/unbound: improve update-unbound-root-hints
nf_conntrack_ftp is needed for passive ftp to work through iptables with a default deny policy.
Diffstat (limited to 'main/unbound/update-unbound-root-hints')
-rw-r--r--main/unbound/update-unbound-root-hints4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/unbound/update-unbound-root-hints b/main/unbound/update-unbound-root-hints
index ee127ded37..69c5e537da 100644
--- a/main/unbound/update-unbound-root-hints
+++ b/main/unbound/update-unbound-root-hints
@@ -1,5 +1,9 @@
#!/bin/sh
+# to allow passive ftp through a default deny iptables firewall:
+# modprobe nf_conntrack_ftp
+# echo nf_conntrack_ftp >> /etc/modules
+
check_format() {
# check that we have some ipv4 addresses and some '.' hints
egrep -q '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]' "$1" \