Opened 8 years ago

Closed 7 years ago

#7644 closed defect (fixed)

$ZONE in fw_event() of /lib/firewall/ prevents removing interfaces

Reported by: fufus@… Owned by: jow
Priority: normal Milestone: Backfire 10.03.1
Component: packages Version: Backfire 10.03
Keywords: Cc:


Hi. What's up with that $ZONE variable chceck in ifdown case inside fw_event() ? I don't see anywhere something sets it when there are hotplug events send from /etc/hotplug.d/iface/ when interface is up and especially down, so it's empty and loop iterates 0 times disabling of delif execution which results later in disabling correct addif passage . When i do ifup wan to restart interface there's no log entries like removing wan from firewall zone or adding. Am i missing something?

Attachments (1)

uci_firewall_ifdown.diff (288 bytes) - added by anonymous 7 years ago.
fw_event ifdown fix

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by anonymous

fw_event ifdown fix

comment:1 Changed 7 years ago by anonymous

Should read $add_zone just like in the ifup case. Patch attached.

comment:2 Changed 7 years ago by jow

  • Owner changed from developers to jow
  • Status changed from new to accepted

comment:3 Changed 7 years ago by jow

  • Resolution set to fixed
  • Status changed from accepted to closed

Firewall has been replaced.

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.