Project

General

Profile

Bug #3513

affects 2.1.1, interface 'primary' ip changes to alias-ip when saving interface.

Added by Pi Ba almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
Start date:
03/08/2014
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.1
Affected Architecture:
amd64

Description

Affects pfSense 2.1.1-PRERELEASE (amd64) built on Sat Mar 8 (but also that of 20140219-1945)
I could not reproduce this behavior on pfSense 2.1 RELEASE.

Problem:
logging in on the webinterface is not possible HTTP_REFERER check now complains when visiting the webgui using: 192.168.0.10 / anti lockout rule is also filtering on .20 , and in case the ip-alias was used for a different subnet it leaves you locked out of the webinterface.

Reproduction:
install pfSense on a machine with one or more interfaces
-give WAN a static ip of: 192.168.0.10
-add a ip-alias on the wan with IP: 192.168.0.20
-go back to the WAN edit page, and save and apply the settings.

Running 'ifconfig' shows that 192.168.0.20 is the 'first' ip of the interface.

Associated revisions

Revision 9aa6ad5c (diff)
Added by Renato Botelho almost 7 years ago

pfSense_interface_deladdress() only knows how to delete an ip address, not a subnet. It should fix #3513

Revision d130cd46 (diff)
Added by Renato Botelho almost 7 years ago

pfSense_interface_deladdress() only knows how to delete an ip address, not a subnet. It should fix #3513

History

#1 Updated by Renato Botelho almost 7 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#3 Updated by Pi Ba almost 7 years ago

Can confirm this fixes the issue. Thanks.

#4 Updated by Renato Botelho almost 7 years ago

  • Status changed from Feedback to Resolved

#5 Updated by Pi Ba almost 7 years ago

Hmm. it solved the IPv4 issue, but it seems to 'delete' the linklocal IPv6 address fe80::x:y:z now.

#6 Updated by Renato Botelho almost 7 years ago

Pi Ba wrote:

Hmm. it solved the IPv4 issue, but it seems to 'delete' the linklocal IPv6 address fe80::x:y:z now.

Fixed too, thanks!

Also available in: Atom PDF