Bug #3890

Aliases multiple CIDR ranges show error message

Added by Gio M over 4 years ago. Updated about 4 years ago.

Web Interface
Target version:
Start date:
Due date:
% Done:


Estimated time:
Affected Version:
Affected Architecture:



If you create a new IP alias for network white-listing with any CIDR ranges separated by a space, pfsense WILL add them but show an error. I think this is a bug.

Here is an example list of CIDR ranges that were pasted into Network field then click submit, a picture of the error attached also you will see the CIDR ranges were added successfully but the error message appeared.


added-but-receive-error.png (204 KB) added-but-receive-error.png Gio M, 09/25/2014 01:04 PM


#1 Updated by Phillip Davis over 4 years ago

It was kind-of a feature:) It fills out all the rows when you press Save the first time but tells you that the data is invalid. You press Save a second time and it accepts the data. That is odd behaviour.
I re-worked the validation so it expands any entry like that, or IP range, into its full form before doing the validation. Now it validates the first time and Saves.

In 2.2 there have been some enhancements to aliases, so it is not automatic to apply my change to the 2.2 version. Tomorrow I will do some manual cut-and-paste to also implement for 2.2

#2 Updated by Phillip Davis over 4 years ago

The version for 2.2 was not so difficult to integrate:

#3 Updated by Chris Buechler over 4 years ago

  • Target version set to 2.2

Phil's pull request to fix this still pending, some reason that hasn't been accepted?

#4 Updated by Renato Botelho over 4 years ago

  • Assignee set to Renato Botelho

Just need tests. I'll take care of it.

#5 Updated by Renato Botelho about 4 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
  • Affected Documentation 0 added

Pull request has been merged

#6 Updated by Chris Buechler about 4 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF