FS#20012 - [gufw] semi-broken without newer ufw

Attached to Project: Community Packages
Opened by Frozen Fox (FrozenFox) - Monday, 28 June 2010, 23:08 GMT
Last edited by Thomas Dziedzic (tomd123) - Saturday, 03 July 2010, 19:25 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Adding rules to Gufw works fine, but removing them results in the vague error "error performing operation". I'm sure there are more similarly glaring issues, but that's what I found at first use.

Additional info:
* package version(s)
* config and/or log files etc.

Gufw 10.04-1
Ufw 0.29.3-2

Steps to reproduce:

Simply add a firewall rule and try to remove it. It will fail and give the aforementioned error.

The logs say gufw runs "ufw --force delete ruleNumber", which shows up under the ufw help page, but doesn't work if entered via cli (nor does "sudo ufw delete ruleNumber" fyi). The syntax that works on the current ufw seems to be "sudo ufw delete allow/deny ruleNumber".

I found nothing when looking for an upstream bug report. After some looking around though, I found that ubuntu uses a different version of ufw (0.30pre1) here http://packages.ubuntu.com/lucid/ufw than the one posted currently at ufw's launchpad and in Arch's repos (0.29.3) here http://launchpad.net/ufw . A quick tweak to Arch's official ufw pkgbuild to make 0.30pre1 produced a properly functioning gufw, which I posted here for convenience http://aur.pastebin.com/0xzY2YsM (only the pkgbuild changed).
This task depends upon

Closed by  Thomas Dziedzic (tomd123)
Saturday, 03 July 2010, 19:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  updated to 0.30pre1 thanks

Loading...