← Back to team overview

gufw-developers team mailing list archive

[Bug 1275032] Re: bad rule interpretation

 

Uhm... Could you try the last version please? :) (It works in Ubuntu 13.10):
sudo apt-get purge gufw ; sudo rm -r /etc/gufw ; wget https://launchpad.net/gui-ufw/gufw-14.04/14.04/+download/gufw_14.04.1.deb ; sudo dpkg -i gufw_14.04.1.deb

As you can see in the attachment screenshots:
 1. User enters port 22 and he can set the protocol in the combobox Protocol.
 2. User enters port 22/tcp and some fields will be disabled (as IP).

As I told you, there are dragons there :P I just don't remember the
case, but ufw was not allowing a specific command and then I preferred
to guarantee the user's entry enabling/disabling fields and ensure that
any command will be right.

The current Gufw is a LTS, then I'm so sorry, but I'll not change this
behaviour now :S But I'll think in your proposal either! ;)

** Attachment added: "screenshots.tar.gz"
   https://bugs.launchpad.net/gui-ufw/+bug/1275032/+attachment/4005391/+files/screenshots.tar.gz

** Changed in: gui-ufw (Ubuntu)
       Status: New => Invalid

** Changed in: gui-ufw
       Status: In Progress => Triaged

** Changed in: gui-ufw
       Status: Triaged => Opinion

-- 
You received this bug notification because you are a member of Gufw
Developers, which is subscribed to Gufw.
https://bugs.launchpad.net/bugs/1275032

Title:
  bad rule interpretation

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

Bug description:
  It seems that ufw from rule
  [Rule1]
  ufw_rule = 22/tcp ALLOW IN Anywhere
  description = SSH
  command = ufw allow in 22/tcp
  policy = allow
  direction = in
  protocol = 
  from_ip = 10.0.0.0/28
  from_port = 
  to_ip = 
  to_port = 22/tcp
  iface = 
  logging = 

  produces

  Appending new Gufw rule: ufw allow in from 10.0.0.0/28 22/tcp > ERROR:
  Wrong number of arguments

  instead of

  ufw allow in from 10.0.0.0/28 port 22 proto tcp
  .

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: gufw 13.10.2-0ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-15.8-lowlatency 3.11.10
  Uname: Linux 3.11.0-15-lowlatency i686
  ApportVersion: 2.12.5-0ubuntu2.2
  Architecture: i386
  Date: Fri Jan 31 18:46:38 2014
  EcryptfsInUse: Yes
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: gui-ufw
  UpgradeStatus: Upgraded to saucy on 2013-10-24 (99 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gui-ufw/+bug/1275032/+subscriptions


References