Error when adding rule

Bug #1080044 reported by Mark
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gufw
Invalid
Undecided
Unassigned

Bug Description

Gufw 12.04.1

When adding a new rule in GUFW it is now showing up in the rules list.
Bottom of GUI shows: "Error performing operation".

The added rule is not shown but also not active.
How to solve this? Manual configuration?

Tags: rule
Revision history for this message
Mark (mark-delta-echo) wrote :

Sorry: "When adding a new rule in GUFW it is NOT showing up in the rules list"

Revision history for this message
costales (costales) wrote :

Thanks for your bug Mark.
Could you do a test? Enable the Gufw Log from the Preferences menu. Try to add your rule, copy and paste the commands in Gufw Log menu into the Terminal and paste here the exit.
Thanks in advance! If you have any doubt, please, ask me :)
Best regards.

Revision history for this message
Mark (mark-delta-echo) wrote : RE: [Bug 1080044] Re: Error when adding rule

Hi Marcos,

Enabled log
Add rule
copy from log:

ufw reject out proto tcp from any to any port 62.69.166.254

Copy into term under root.

Result: ERROR: Bad port '62.69.166.254'

This is no the syntax ufw can cunderstand.

I tried: ufw reject out proto tcp from 62.69.166.254 to 62.69.166.254
Result: Rule added

No rule is show in the Gufw GUI.
Close Gufw and start again.

Now the rule is shown in the GUI.

So the bug is in the adding part of the GUI of Gufw not in the ufw part.
When is fix available?

Bye, Mark

> Date: Sat, 17 Nov 2012 12:19:06 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 1080044] Re: Error when adding rule
>
> Thanks for your bug Mark.
> Could you do a test? Enable the Gufw Log from the Preferences menu. Try to add your rule, copy and paste the commands in Gufw Log menu into the Terminal and paste here the exit.
> Thanks in advance! If you have any doubt, please, ask me :)
> Best regards.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1080044
>
> Title:
> Error when adding rule
>
> Status in Gufw:
> New
>
> Bug description:
> Gufw 12.04.1
>
> When adding a new rule in GUFW it is now showing up in the rules list.
> Bottom of GUI shows: "Error performing operation".
>
> The added rule is not shown but also not active.
> How to solve this? Manual configuration?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gui-ufw/+bug/1080044/+subscriptions

Revision history for this message
costales (costales) wrote :

OK, could you attach here a screenshot of Gufw with the wrong rule? :)
Thanks!

On 11/17/2012 02:19 PM, Mark wrote:
> Hi Marcos,
>
>
> Enabled log
> Add rule
> copy from log:
>
> ufw reject out proto tcp from any to any port 62.69.166.254
>
> Copy into term under root.
>
> Result: ERROR: Bad port '62.69.166.254'
>
> This is no the syntax ufw can cunderstand.
>
> I tried: ufw reject out proto tcp from 62.69.166.254 to 62.69.166.254
> Result: Rule added
>
> No rule is show in the Gufw GUI.
> Close Gufw and start again.
>
> Now the rule is shown in the GUI.
>
> So the bug is in the adding part of the GUI of Gufw not in the ufw part.
> When is fix available?
>
> Bye, Mark
>
>
>
>> Date: Sat, 17 Nov 2012 12:19:06 +0000
>> From: <email address hidden>
>> To: <email address hidden>
>> Subject: [Bug 1080044] Re: Error when adding rule
>>
>> Thanks for your bug Mark.
>> Could you do a test? Enable the Gufw Log from the Preferences menu. Try to add your rule, copy and paste the commands in Gufw Log menu into the Terminal and paste here the exit.
>> Thanks in advance! If you have any doubt, please, ask me :)
>> Best regards.
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1080044
>>
>> Title:
>> Error when adding rule
>>
>> Status in Gufw:
>> New
>>
>> Bug description:
>> Gufw 12.04.1
>>
>> When adding a new rule in GUFW it is now showing up in the rules list.
>> Bottom of GUI shows: "Error performing operation".
>>
>> The added rule is not shown but also not active.
>> How to solve this? Manual configuration?
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/gui-ufw/+bug/1080044/+subscriptions
>

Revision history for this message
Mark (mark-delta-echo) wrote :

Hi again,

The by the command line added rule: ufw reject out proto tcp from 62.69.166.254 to 62.69.166.254

Shows in the gui as:

To Action From
62.69.166.254/tcp REJECT OUT 62.69.166.254/tcp (out)

Is that correct?
"From" should be local host.

Bye, Mark

> Date: Sat, 17 Nov 2012 12:19:06 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 1080044] Re: Error when adding rule
>
> Thanks for your bug Mark.
> Could you do a test? Enable the Gufw Log from the Preferences menu. Try to add your rule, copy and paste the commands in Gufw Log menu into the Terminal and paste here the exit.
> Thanks in advance! If you have any doubt, please, ask me :)
> Best regards.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1080044
>
> Title:
> Error when adding rule
>
> Status in Gufw:
> New
>
> Bug description:
> Gufw 12.04.1
>
> When adding a new rule in GUFW it is now showing up in the rules list.
> Bottom of GUI shows: "Error performing operation".
>
> The added rule is not shown but also not active.
> How to solve this? Manual configuration?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gui-ufw/+bug/1080044/+subscriptions

Revision history for this message
costales (costales) wrote :

Please a screenshot! :P I think you are fill wrong the fields :)

Revision history for this message
Mark (mark-delta-echo) wrote :

Hi Marcos,

Here is the screenshot.
Goodluck ;-)

> Date: Sat, 17 Nov 2012 13:27:18 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: Re: [Bug 1080044] Re: Error when adding rule
>
> OK, could you attach here a screenshot of Gufw with the wrong rule? :)
> Thanks!
>
> On 11/17/2012 02:19 PM, Mark wrote:
> > Hi Marcos,
> >
> >
> > Enabled log
> > Add rule
> > copy from log:
> >
> > ufw reject out proto tcp from any to any port 62.69.166.254
> >
> > Copy into term under root.
> >
> > Result: ERROR: Bad port '62.69.166.254'
> >
> > This is no the syntax ufw can cunderstand.
> >
> > I tried: ufw reject out proto tcp from 62.69.166.254 to 62.69.166.254
> > Result: Rule added
> >
> > No rule is show in the Gufw GUI.
> > Close Gufw and start again.
> >
> > Now the rule is shown in the GUI.
> >
> > So the bug is in the adding part of the GUI of Gufw not in the ufw part.
> > When is fix available?
> >
> > Bye, Mark
> >
> >
> >
> >> Date: Sat, 17 Nov 2012 12:19:06 +0000
> >> From: <email address hidden>
> >> To: <email address hidden>
> >> Subject: [Bug 1080044] Re: Error when adding rule
> >>
> >> Thanks for your bug Mark.
> >> Could you do a test? Enable the Gufw Log from the Preferences menu. Try to add your rule, copy and paste the commands in Gufw Log menu into the Terminal and paste here the exit.
> >> Thanks in advance! If you have any doubt, please, ask me :)
> >> Best regards.
> >>
> >> --
> >> You received this bug notification because you are subscribed to the bug
> >> report.
> >> https://bugs.launchpad.net/bugs/1080044
> >>
> >> Title:
> >> Error when adding rule
> >>
> >> Status in Gufw:
> >> New
> >>
> >> Bug description:
> >> Gufw 12.04.1
> >>
> >> When adding a new rule in GUFW it is now showing up in the rules list.
> >> Bottom of GUI shows: "Error performing operation".
> >>
> >> The added rule is not shown but also not active.
> >> How to solve this? Manual configuration?
> >>
> >> To manage notifications about this bug go to:
> >> https://bugs.launchpad.net/gui-ufw/+bug/1080044/+subscriptions
> >
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1080044
>
> Title:
> Error when adding rule
>
> Status in Gufw:
> New
>
> Bug description:
> Gufw 12.04.1
>
> When adding a new rule in GUFW it is now showing up in the rules list.
> Bottom of GUI shows: "Error performing operation".
>
> The added rule is not shown but also not active.
> How to solve this? Manual configuration?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gui-ufw/+bug/1080044/+subscriptions

Revision history for this message
costales (costales) wrote :

Where? :P

Revision history for this message
Mark (mark-delta-echo) wrote :

Hi Marcos,

Hmmm... this happend before.
When I paste an image, Hotmail removes it.

I now added as a file.
That must do the job.

Keep me posted if you need more information.

Bye, Mark

> Date: Sat, 17 Nov 2012 13:49:36 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 1080044] Re: Error when adding rule
>
> Where? :P
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1080044
>
> Title:
> Error when adding rule
>
> Status in Gufw:
> New
>
> Bug description:
> Gufw 12.04.1
>
> When adding a new rule in GUFW it is now showing up in the rules list.
> Bottom of GUI shows: "Error performing operation".
>
> The added rule is not shown but also not active.
> How to solve this? Manual configuration?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gui-ufw/+bug/1080044/+subscriptions

Revision history for this message
costales (costales) wrote :

I need the Add Rule Window. Sorry, I explained wrong.
Thanks!

On 11/17/2012 03:57 PM, Mark wrote:
> Hi Marcos,
>
> Hmmm... this happend before.
> When I paste an image, Hotmail removes it.
>
> I now added as a file.
> That must do the job.
>
> Keep me posted if you need more information.
>
> Bye, Mark
>
>
>> Date: Sat, 17 Nov 2012 13:49:36 +0000
>> From: <email address hidden>
>> To: <email address hidden>
>> Subject: [Bug 1080044] Re: Error when adding rule
>>
>> Where? :P
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1080044
>>
>> Title:
>> Error when adding rule
>>
>> Status in Gufw:
>> New
>>
>> Bug description:
>> Gufw 12.04.1
>>
>> When adding a new rule in GUFW it is now showing up in the rules list.
>> Bottom of GUI shows: "Error performing operation".
>>
>> The added rule is not shown but also not active.
>> How to solve this? Manual configuration?
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/gui-ufw/+bug/1080044/+subscriptions
>
>
> ** Attachment added: "Screenshot from 2012-11-17 143703.png"
> https://bugs.launchpad.net/bugs/1080044/+attachment/3436667/+files/Screenshot%20from%202012-11-17%20143703.png
>

Revision history for this message
Mark (mark-delta-echo) wrote :

Hi Marcos,

Here all screenshots from the start. (see doc)
When the rule is added the error is shown.

Thinking about the cause, it could be an permission issue to ufw.
Let me know if you need more information.

Bye, Mark

> Date: Sat, 17 Nov 2012 15:27:55 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: Re: [Bug 1080044] Re: Error when adding rule
>
> I need the Add Rule Window. Sorry, I explained wrong.
> Thanks!
>
> On 11/17/2012 03:57 PM, Mark wrote:
> > Hi Marcos,
> >
> > Hmmm... this happend before.
> > When I paste an image, Hotmail removes it.
> >
> > I now added as a file.
> > That must do the job.
> >
> > Keep me posted if you need more information.
> >
> > Bye, Mark
> >
> >
> >> Date: Sat, 17 Nov 2012 13:49:36 +0000
> >> From: <email address hidden>
> >> To: <email address hidden>
> >> Subject: [Bug 1080044] Re: Error when adding rule
> >>
> >> Where? :P
> >>
> >> --
> >> You received this bug notification because you are subscribed to the bug
> >> report.
> >> https://bugs.launchpad.net/bugs/1080044
> >>
> >> Title:
> >> Error when adding rule
> >>
> >> Status in Gufw:
> >> New
> >>
> >> Bug description:
> >> Gufw 12.04.1
> >>
> >> When adding a new rule in GUFW it is now showing up in the rules list.
> >> Bottom of GUI shows: "Error performing operation".
> >>
> >> The added rule is not shown but also not active.
> >> How to solve this? Manual configuration?
> >>
> >> To manage notifications about this bug go to:
> >> https://bugs.launchpad.net/gui-ufw/+bug/1080044/+subscriptions
> >
> >
> > ** Attachment added: "Screenshot from 2012-11-17 143703.png"
> > https://bugs.launchpad.net/bugs/1080044/+attachment/3436667/+files/Screenshot%20from%202012-11-17%20143703.png
> >
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1080044
>
> Title:
> Error when adding rule
>
> Status in Gufw:
> New
>
> Bug description:
> Gufw 12.04.1
>
> When adding a new rule in GUFW it is now showing up in the rules list.
> Bottom of GUI shows: "Error performing operation".
>
> The added rule is not shown but also not active.
> How to solve this? Manual configuration?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gui-ufw/+bug/1080044/+subscriptions

Revision history for this message
costales (costales) wrote :

Thanks Mark!
You're using a field for a port (or service), not for an IP.
In that field you could put a port as '22' for ssh, or you could put 'ssh' (it's the same), but you can't use an IP.
If you want allow/block an IP you must use the 3th tab: Advanced ;)
You have here the official documentation:
https://help.ubuntu.com/community/Gufw#Adding_Rules
Best regards :)

Changed in gui-ufw:
status: New → Invalid
Revision history for this message
Mark (mark-delta-echo) wrote :

Hi Marcos,

Oops, I feel very stupid....
It is the port number. I could have seen that easily.
Thanks anyway.

bye, Mark

> Date: Sat, 17 Nov 2012 18:05:39 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 1080044] Re: Error when adding rule
>
> Thanks Mark!
> You're using a field for a port (or service), not for an IP.
> In that field you could put a port as '22' for ssh, or you could put 'ssh' (it's the same), but you can't use an IP.
> If you want allow/block an IP you must use the 3th tab: Advanced ;)
> You have here the official documentation:
> https://help.ubuntu.com/community/Gufw#Adding_Rules
> Best regards :)
>
> ** Changed in: gui-ufw
> Status: New => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1080044
>
> Title:
> Error when adding rule
>
> Status in Gufw:
> Invalid
>
> Bug description:
> Gufw 12.04.1
>
> When adding a new rule in GUFW it is now showing up in the rules list.
> Bottom of GUI shows: "Error performing operation".
>
> The added rule is not shown but also not active.
> How to solve this? Manual configuration?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gui-ufw/+bug/1080044/+subscriptions

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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