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 upFirewall editor improvements #113
Comments
marmarek
added this to the Release 1 Beta 1 milestone
Mar 8, 2015
marmarek
added
bug
C: qubes-manager
P: major
labels
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by joanna on 15 Mar 2011 23:44 UTC
Plus some more polish of the FW editor -- e.g. when I click on the edit button but no rule is selected I get an exception!
|
Comment by joanna on 15 Mar 2011 23:44 UTC |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by smoku on 16 Mar 2011 13:50 UTC
Rules editor button should be disabled also if a selected domain is not using ProxyVM as netvm.
|
Comment by smoku on 16 Mar 2011 13:50 UTC |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by joanna on 17 Mar 2011 21:43 UTC
Plus, all the functionality discussed in this thread:
https://groups.google.com/group/qubes-devel/browse_thread/thread/e82a35c42af1d56c#
|
Comment by joanna on 17 Mar 2011 21:43 UTC https://groups.google.com/group/qubes-devel/browse_thread/thread/e82a35c42af1d56c# |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by smoku on 21 Mar 2011 21:04 UTC
I implemented the "anywhere" hostname by implementing "" as allowed hostname.
'anywhere' is a valid hostname and should not be special. Also in my opinion "" is more intuitive.
I replaced the address field with combobox, that has some suggestions for allowable addresses (similarly like the service port combobox).
I also implemented wildcard "*" port that matches the whole host.
And also port ranges in format like: 22-123, which is also hinted in the service combo dropdown.
Backend already supported port ranges, so this all is implemented in UI (firewall.py) only, and there are no magic strings in the firewall.xml and core classes implementation.
|
Comment by smoku on 21 Mar 2011 21:04 UTC I replaced the address field with combobox, that has some suggestions for allowable addresses (similarly like the service port combobox). I also implemented wildcard "*" port that matches the whole host. Backend already supported port ranges, so this all is implemented in UI (firewall.py) only, and there are no magic strings in the firewall.xml and core classes implementation. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by smoku on 21 Mar 2011 21:06 UTC
"Allow ICMP traffic" checkbox requires changes in core backend, though.
|
Comment by smoku on 21 Mar 2011 21:06 UTC |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by smoku on 21 Mar 2011 21:14 UTC
Replying to smoku:
Rules editor button should be disabled also if a selected domain is not using ProxyVM as netvm.
Joanna, do we want to do this?
The FW rules are assigned to a VM no matter whether it is connected to a FwVM or not.
We may want to edit the firewall rules on a disconnected VM and then connect it to FwVM.
|
Comment by smoku on 21 Mar 2011 21:14 UTC
Joanna, do we want to do this? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by joanna on 21 Mar 2011 21:22 UTC
- I think we still want an option to allow/deny ICMP to/from a VM.
- Ok, we might allow setting the FW rules for a VM no matter if it is currently connected or not to a proxyvm, but we should also display some warning that the rules will not be enforced until it gets connected to a proxyvm. This warning should be displayed in the editor dialog box every time the user opens this window for a VM that is not connected to a proxyvm.
|
Comment by joanna on 21 Mar 2011 21:22 UTC
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by smoku on 21 Mar 2011 21:26 UTC
- Yes. It's implemented. I just noted, that this requires core update. :)
- OK. I will add a warning then.
|
Comment by smoku on 21 Mar 2011 21:26 UTC
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by smoku on 21 Mar 2011 21:26 UTC
Implemented in http://git.qubes-os.org/?p=smoku/core;a=commit;h=481e9871c45924fbf95078fe39a2c5572b1cb7a8 and http://git.qubes-os.org/?p=smoku/qubes-manager;a=commit;h=2cc61172f3173c4a34456b255fc84a81f25db381
|
Comment by smoku on 21 Mar 2011 21:26 UTC |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by smoku on 21 Mar 2011 21:37 UTC
Replying to joanna:
- Ok, we might allow setting the FW rules for a VM no matter if it is currently connected or not to a proxyvm, but we should also display some warning that the rules will not be enforced until it gets connected to a proxyvm. This warning should be displayed in the editor dialog box every time the user opens this window for a VM that is not connected to a proxyvm.
Implemented in http://git.qubes-os.org/?p=smoku/qubes-manager;a=commit;h=e4e7d4eb997335949df8be9f31c68b325bc7ce45
|
Comment by smoku on 21 Mar 2011 21:37 UTC
Implemented in http://git.qubes-os.org/?p=smoku/qubes-manager;a=commit;h=e4e7d4eb997335949df8be9f31c68b325bc7ce45 |
marmarek commentedMar 8, 2015
Reported by joanna on 15 Mar 2011 23:43 UTC
Migrated-From: https://wiki.qubes-os.org/ticket/113