Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd more informative error message when user enters empty firewall rule service #2093
Comments
andrewdavidwong
added
bug
C: core
C: qubes-manager
labels
Jun 20, 2016
andrewdavidwong
added this to the Release 3.2 milestone
Jun 20, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Jun 20, 2016
Member
Which service did you try adding the "Service" box? Did this work for you in R3.1?
I haven't tested adding the rules using CLI.
Since we're not sure whether this is just a Qubes Manager issue or a Core issue, I've tagged both.
|
Which service did you try adding the "Service" box? Did this work for you in R3.1?
Since we're not sure whether this is just a Qubes Manager issue or a Core issue, I've tagged both. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
ghost
Jun 20, 2016
I've tested with both TCP and UDP, no service specific setting is needed to trigger the error. It worked without any problems in 3.1.
ghost
commented
Jun 20, 2016
•
|
I've tested with both TCP and UDP, no service specific setting is needed to trigger the error. It worked without any problems in 3.1. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jun 20, 2016
Member
When you select TCP or UDP you need to fill service field. The error message says empty service isn't valid. You can use port number, or even port range (for any port, simply use 1-65535).
So this bug is rather about misleading error message.
|
When you select TCP or UDP you need to fill service field. The error message says empty service isn't valid. You can use port number, or even port range (for any port, simply use |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
ghost
commented
Jun 20, 2016
|
@marmarek Ok! I thought that it defaulted to `any' service if unspecified. |
ghost commentedJun 20, 2016
Qubes OS version (e.g.,
R3.1):R3.2
Affected TemplateVMs (e.g.,
fedora-23, if applicable):All
Expected behavior:
When trying to set more specific settings for firewall rules for protocols (TCP, UDP) for AppVMs everything works and the new rules is added.
Actual behavior:
When adding a new firewall rule it only works to add a rule with a domain name and to allow all traffic to that domain. If you try to set more specific rules for the protocols an error message with the text "Service ' is unknown" pops up.
Steps to reproduce the behavior:
General notes:
I haven't tested adding the rules using CLI.