← Back to team overview

gufw-developers team mailing list archive

[Bug 1275032] [NEW] bad rule interpretation

 

Public bug reported:

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)

** Affects: gui-ufw (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 saucy

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

Title:
  bad rule interpretation

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

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/ubuntu/+source/gui-ufw/+bug/1275032/+subscriptions


Follow ups

References