Project

General

Profile

Bug #6498

firewall_nat_npt_edit.php: IPv4 addresses can be entered, but the page is only for IPv6

Added by Jim Pingle over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Rules / NAT
Target version:
Start date:
06/17/2016
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.3.x
Affected Architecture:

Description

Both "Address" fields on firewall_nat_npt.php allow entry of IPv4 addresses, but they should be restricted to only IPv6 addresses

Associated revisions

Revision 3e4adb71 (diff)
Added by Steve Beaver over 3 years ago

Fixed #6498 by providing new address type argument to Form_IpAddress(). In this case it is specified as "V6".

Revision 2c4af48f (diff)
Added by Steve Beaver over 3 years ago

Fixed #6498 by providing new address type argument to Form_IpAddress(). In this case it is specified as "V6".

(cherry picked from commit 3e4adb7139b4cddbb06a2aba7e0727d1762b35ee)

Revision 0891d12f (diff)
Added by Steve Beaver over 3 years ago

Fixed #6498 by providing new address type argument to Form_IpAddress(). In this case it is specified as "V6".

(cherry picked from commit 3e4adb7139b4cddbb06a2aba7e0727d1762b35ee)

History

#1 Updated by Steve Beaver over 3 years ago

  • Status changed from New to Assigned

#2 Updated by Steve Beaver over 3 years ago

  • Subject changed from firewall_nat_npt.php: IPv4 addresses can be entered, but the page is only for IPv6 to firewall_nat_npt_edit.php: IPv4 addresses can be entered, but the page is only for IPv6

#3 Updated by Steve Beaver over 3 years ago

  • Status changed from Assigned to Feedback
  • Assignee changed from Steve Beaver to Jim Pingle

A new optional argument is supported for inputs of type IpAddress. $type can be "BOTH", "V4" or "V6" and will enforce that address type.

The address fields on this page now specify "V6"

#4 Updated by Steve Beaver over 3 years ago

  • % Done changed from 0 to 100

#5 Updated by Chris Buechler over 3 years ago

  • Status changed from Feedback to Resolved
  • Target version changed from 2.3.2 to 2.3.1-p6

works

#6 Updated by Chris Buechler over 3 years ago

  • Target version changed from 2.3.1-p6 to 2.3.2

Also available in: Atom PDF