unbound: cleanup old files

This commit is contained in:
Franco Fichtner 2023-06-29 09:20:04 +02:00
parent 91b4ee7968
commit 5f9b8c70fe
4 changed files with 1 additions and 6 deletions

1
plist
View File

@ -147,7 +147,6 @@
/usr/local/etc/ssl/opnsense.cnf
/usr/local/etc/strongswan.opnsense.d/README
/usr/local/etc/unbound.opnsense.d/README
/usr/local/etc/unbound.opnsense.d/miscellaneous.conf
/usr/local/libexec/opnsense-auth
/usr/local/opnsense/contrib/IXR/IXR_Library.php
/usr/local/opnsense/contrib/base32/Base32.php

View File

@ -1 +0,0 @@
# obsolete include file, last used in 22.7

View File

@ -58,9 +58,6 @@ for FILE in $(find /usr/local/etc/unbound.opnsense.d -depth 1 -name '*.conf'); d
cp ${FILE} /var/unbound/etc/
done
# XXX remove obsolete file, last used in 22.7
rm -f /usr/local/etc/unbound.opnsense.d/dnsbl.conf
chown -R unbound:unbound /var/unbound
/usr/local/sbin/unbound -c /var/unbound/unbound.conf

View File

@ -1949,7 +1949,7 @@ include("head.inc");
'MAC address in the following format: xx:xx:xx:xx:xx:xx or leave blank if unsure. ' .
'This may only be required e.g. with certain cable connections on a WAN interface.') ?><br />
<?= gettext('When used on a single VLAN interface the setting "Promiscuous mode" is required for this to work. ' .
'Alternatively, the parent interface MAC can be spoofed applying the MAC it to all attached VLAN children automatically.') ?><br />
'Alternatively, the parent interface MAC can be spoofed applying the MAC address to all attached VLAN children automatically.') ?><br />
<?php
$ip = getenv('REMOTE_ADDR');
$mac = `/usr/sbin/arp -an | grep {$ip} | cut -d" " -f4`;