Fix for bug 10743

This adds in the option to have "deny known clients" in dhcpd.conf
This is applied to the range command so applies to the dynamic addresses
given.
If you have just a range statement say in blue then if you are not using
vlans you could have the situation where a known host in green might end
up getting a lease from the blue range. Here a deny known-clients makes
sense. Your range in this case would be limited to only unknown clients if
deny known-clients was selected.
dhcp WUI has been modified to add in this command. Error message has been
added to check that a range has been specified if the deny unknown clients
checkbox has been selected.
Language files updated with additional items (English, German & Dutch).

For more information on the history of this please see the bugzilla entry
Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Adolf Belka
2020-12-16 13:33:22 +01:00
committed by Michael Tremer
parent fef289cef7
commit 9dbf3c4936
12 changed files with 50 additions and 1 deletions

View File

@@ -702,6 +702,7 @@
'dhcp bootp pxe data' => 'Voer optionele bootp pxe data in voor deze vaste lease',
'dhcp configuration' => 'DHCP configuratie',
'dhcp create fixed leases' => 'Aanmaken vaste leases',
'dhcp deny known clients:' => 'Bekende clients weigeren:',
'dhcp fixed lease err1' => 'Voor een vaste lease moet u het MAC-adres of de hostnaam invoeren, of beide.',
'dhcp fixed lease help1' => 'IP-adressen mogen ook als FQDN worden ingevoerd',
'dhcp mode' => 'DHCP',
@@ -710,6 +711,7 @@
'dhcp server disabled on blue interface' => 'DHCP server uitgeschakeld op de BLAUWE interface',
'dhcp server enabled' => 'DHCP server ingeschakeld. Herstarten.',
'dhcp server enabled on blue interface' => 'DHCP server ingeschakeld op de BLAUWE interface',
'dhcp valid range required when deny known clients checked' => 'Geldig bereik wanneer "Bekende clients weigeren:" is aangevinkt',
'dhcp-options' => 'DHCP push opties',
'dial' => 'Verbind',
'dial profile' => 'Verbind met profile',