gufw-developers team mailing list archive
-
gufw-developers team
-
Mailing list archive
-
Message #02007
[Bug 1540077] Re: Gufw not accepting subnet range in advanced firewall rule
I have the same issue, only mine, when I go to create a rule, I get
this:
[05/31/2016 12:52:46 PM] Error running: ufw insert 3 allow out from 10.15.7.101 port 22 to 10.15.7.149 > ERROR: Invalid position '3'
[05/31/2016 12:48:00 PM] Incoming: Allow
[05/31/2016 12:47:28 PM] Error running: ufw insert 3 allow in from 10.15.7.101 port 22 to 10.15.7.149 port 22 > ERROR: Invalid position '3'
[05/31/2016 12:47:20 PM] Error running: ufw insert 2 allow in from 10.15.7.101 port 22 to 10.15.7.149 port 22 > ERROR: Invalid position '2'
[05/31/2016 12:46:46 PM] Error running: ufw insert 1 allow in from 10.15.7.101 port 22 to 10.15.7.149 port 22 > ERROR: Invalid position '1'
[05/31/2016 12:46:45 PM] Error running: ufw insert 1 allow in from 10.15.7.101 port 22 to 10.15.7.149 port 22 > ERROR: Invalid position '1'
[05/31/2016 12:46:44 PM] Error running: ufw insert 1 allow in from 10.15.7.101 port 22 to 10.15.7.149 port 22 > ERROR: Invalid position '1'
[05/31/2016 12:46:42 PM] Error running: ufw insert 1 allow in from 10.15.7.101 port 22 to 10.15.7.149 port 22 > ERROR: Invalid position '1'
[05/31/2016 12:46:23 PM] Error running: ufw insert 1 allow in from 10.15.7.101 port 22 to 10.15.7.149 port 22 > ERROR: Invalid position '1'
[05/31/2016 12:43:33 PM] Error running: ufw insert 1 allow in from 10.15.7.101 to 10.15.7.149 > ERROR: Invalid position '1'
[05/31/2016 12:43:09 PM] Error running: ufw insert 1 allow in on wlan0 from 10.15.7.101 to 10.15.7.149 > ERROR: Invalid position '1'
[05/31/2016 12:43:07 PM] Error running: ufw insert 1 allow in on wlan0 from 10.15.7.101 to 10.15.7.149 > ERROR: Invalid position '1'
[05/31/2016 12:43:04 PM] Error running: ufw insert 1 allow in on wlan0 from 10.15.7.101 to 10.15.7.149 > ERROR: Invalid position '1'
[05/31/2016 12:35:53 PM] Error running: ufw insert 1 allow in on wlan0 from 10.15.7.101 to 10.15.7.149 > ERROR: Invalid position '1'
What's up with this, or can I somehow import the rule from another
machine so this one will work correctly....look forward to your
help....Thank you
--
You received this bug notification because you are a member of Gufw
Developers, which is subscribed to Gufw.
https://bugs.launchpad.net/bugs/1540077
Title:
Gufw not accepting subnet range in advanced firewall rule
Status in Gufw:
New
Bug description:
This is observed in Gufw v14.04.2 LTS. Creating a rule with a subnet
in the 'from' field of an advanced rule results in an error.
The example would be a requirement to only allow hosts in the same
subnet to have access to a particular service (e.g. RDP) and so the
'from' field would be set to a subnet of 192.168.0.0/24.
Attempting to add the rule results in an error in the log of "Error
running: ufw allow in log from 192.168.0.0/24 3389 > ERROR: Wrong
number of arguments".
Gufw appears to be trying to run the command: "ufw allow in log from
192.168.0.0/24 3389" which errors but compare this with the syntax of
ufw which would be "ufw allow in log from 192.168.0.0/24 to any port
3389". This works successfully so it looks like Gufw is presenting
incorrect syntax for this configuration in this version.
To manage notifications about this bug go to:
https://bugs.launchpad.net/gui-ufw/+bug/1540077/+subscriptions
References