Project

General

Profile

Actions

Todo #3196

closed

Improve IPv4 address validation on interface setup (GUI and console) and setup wizard

Added by Jim Pingle about 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
Start date:
09/12/2013
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:

Description

If you enter a LAN IP into the Setup Wizard such as x.x.x.0/24 or x.x.x.255/24, the setup wizard does not complain and will continue with the (invalid) IP setup. The setup wizard should reject the input if the user enters the subnet ID or broadcast IP of a subnet.

Currently it does reject if it's obviously wrong, e.g. x.x.x.300, via JavaScript, but it misses the above case.

The only potential exception would be if the CIDR were 31 or 32, if we choose to support those in the wizard, in which case it may be a valid configuration.

Actions

Also available in: Atom PDF