ufw

ufw is not refreshing the IP forwarding after disable it in the current session

Bug #1339159 reported by costales
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ufw
Won't Fix
Undecided
Unassigned

Bug Description

Hi! :)

If you uncomment the IP forwarding and reload ufw, ufw see the change and ufw will allow routed rules.
But if you comment the IP fordwarding again and reload ufw, ufw will NOT see that change. You have to reboot.

For a clear/basic example, please, see the attachment file.

Best regards and thanks in advance!

PS: This is in Ubuntu 14.04.
Costales.

Revision history for this message
costales (costales) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thank you for using ufw and reporting a bug. Rather than commenting out the sysctl values you should set them to '0' again if you want it to unapply. ufw is simply using the 'sysctl' command which ignores comments. ufw could try to keep track of this, but it would be highly error prone since may start before or after /etc/sysctl.d are evaluated, etc.

Changed in ufw:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.