Project

General

Profile

Bug #1153

Re-assignment of bridge interfaces should be restricted

Added by Chris Buechler almost 9 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Low
Category:
Interfaces
Target version:
Start date:
01/02/2011
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

It is possible to create an invalid config by reassigning an interface that is bridged. For example you can have LAN and WAN, and create bridge0 containing LAN and WAN, then go re-assign either WAN or LAN as bridge0, which then makes bridge0 one of the bridge member interfaces. Upon inadvertently doing this, the system froze up for me, not entirely unexpectedly. It did reboot fine after a power cycle, and if_bridge apparently ignored the request to add it to itself, as it only showed the one remaining physical interface as a member.

Need some additional input validation to prevent this type of obvious mistake, maybe just not allowing a bridge interface to be assigned to an interface which is bridged.

Associated revisions

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

Do not allow bridge members to be assigned to itself. Fixes #1153

History

#1 Updated by Chris Buechler almost 9 years ago

  • Subject changed from Re-assignment of bridged interfaces should be restricted to Re-assignment of bridge interfaces should be restricted

#2 Updated by Renato Botelho almost 7 years ago

  • Assignee set to Renato Botelho
  • Target version set to 2.1

#3 Updated by Renato Botelho almost 7 years ago

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

#4 Updated by Chris Buechler almost 7 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF