← Back to team overview

gufw-developers team mailing list archive

[Bug 578404] Re: GUFW erases the rule not selected to be erased

 

Do this:
1- Reset Gufw to the install state (clean all rules)
2- Set Gufw to Deny incoming, Allow outgoing.
3- Add a rule "Allow / Outgoing / Both / 12346"
4- Add a rule "Allow / Incoming / Both / 12345"
5- Check "ufw status numbered"
emilio@laptop:~$ sudo ufw status numbered
Estado: activo (Status: Active)

     Hasta (to)                      <emph>Acción</emph> (action) Desde (from)
     -----                      ------------------------
[ 1] 12346                      ALLOW OUT   Anywhere (out)
[ 2] 12345                      ALLOW IN    Anywhere

6- Click on the UI the rule that says "12346 /  ALLOW OUT / Anywhere" and then on Remove. The wrong rule will be deleted.
7- Check "ufw status numbered"
emilio@laptop:~$ sudo ufw status numbered
Estado: activo

     Hasta                      <emph>Acción</emph>Desde
     -----                      ------------------------
[ 1] 12346                      ALLOW OUT   Anywhere (out)

8- Check the Gufw logs:
ufw enable
ufw allow out from any to any port 12346
ufw allow in from any to any port 12345
ufw --force delete 2

As you can see, The ALLOW OUT rule is #2 for Gufw, but I don't know why.
I added it first, but nevertheless, after adding the second rule, it
appeared second in Gufw's UI. It might be related to the fact that it
isn't active (grey colored, and it doesn't make much sense as outgoing
is all allowed, why allow it specifically?)

Hope you can debug this issue with this information Marcos!

-- 
GUFW erases the rule not selected to be erased
https://bugs.launchpad.net/bugs/578404
You received this bug notification because you are a member of Gufw
Developers, which is the registrant for Gufw.

Status in Gufw: New
Status in “gui-ufw” package in Ubuntu: Invalid

Bug description:
Hello,

The new GUFW for the 10.04 version of Ubuntu has the new and nice feature of being able to block/allow
also outgoing connections,.. GUFW is now at the same level of security than Guarddog was. 

It makes Ubuntu still safer. And, as per I know, GUFW really works OK for incoming and outgoing connections.

I have found one small bug, however: When I try to erase a rule it's erased some another rule, instead. Curiously,
this only happens trying to erase rules allowing incoming connections. 

This is somehow annoying because trying to erase the incoming rule.. One may end up erasing most other rules,
before.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gufw 10.04.4-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
Architecture: amd64
Date: Mon May 10 19:37:02 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
PackageArchitecture: all
ProcEnviron:
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: gui-ufw





References