Bug #6969
Insufficient error checking on static ARP entries
Start date:
11/28/2016
Due date:
% Done:
100%
Estimated time:
Affected Version:
All
Affected Architecture:
All
Description
When creating a static DHCP lease entry the GUI input checking does not prevent checking 'static ARP' without entering an IP address.
This results in an invalid entry and subsequent log entries like:
Nov 28 16:45:34 php-fpm 49556 /services_dhcp.php: The command '/usr/sbin/arp -s '' '00:06:b2:f2:1c:a6'' returned exit code '1', the output was 'arp: : Unknown server error'
Associated revisions
History
#1
Updated by Jim Pingle about 4 years ago
- Status changed from New to Confirmed
Adding a note to clarify: It is OK for "IP address" to be blank/empty if "ARP Table Static Entry" is unchecked.
#2
Updated by Jim Thompson about 4 years ago
- Assignee set to Jim Pingle
#3
Updated by Jim Pingle about 4 years ago
- Status changed from Confirmed to Feedback
- % Done changed from 0 to 100
Applied in changeset 7a9c12b3d6e01e11ec0af3a6690a5c3de2fbbd2e.
#4
Updated by Jim Pingle about 4 years ago
- Assignee changed from Jim Pingle to Steve Wheeler
#5
Updated by Steve Wheeler about 4 years ago
Seems fixed in todays 2.4 snapshots.
It won't allow the static DHCP lease to be submitted and the error message gives useful information.
#6
Updated by Jim Pingle about 4 years ago
- Status changed from Feedback to Resolved
Improve input validation on static ARP for DHCP static mapping entries, also prevent the backend from attempting to apply entries with insufficient information stored. Fixes #6969