core-admin/qubes/tests
Marek Marczykowski-Górecki 0200fdadcb
api/admin: firewall-related methods
In the end firewall is implemented as .Get and .Set rules, with policy
statically set to 'drop'. This way allow atomic firewall updates.

Since we already have appropriate firewall format handling in
qubes.firewall module - reuse it from there, but adjust the code to be
prepared for potentially malicious input. And also mark such variables
with untrusted_ prefix.

There is also third method: .Reload - which cause firewall reload
without making any change.

QubesOS/qubes-issues#2622
Fixes QubesOS/qubes-issues#2869
2017-06-26 13:08:27 +02:00
..
integ tests: improve tests for qrexe exit code handling 2017-06-21 05:23:35 +02:00
tools tests: adjust TC_00_QubesDaemonProtocol for reorganized api module 2017-06-21 06:59:58 +02:00
vm vm: improve sending events for tags and features 2017-06-14 10:44:23 +02:00
__init__.py api/admin: firewall-related methods 2017-06-26 13:08:27 +02:00
api_admin.py api/admin: firewall-related methods 2017-06-26 13:08:27 +02:00
api_misc.py qubes.NotifyTools: ignore '/qubes-tools/version' completely 2017-06-14 10:44:24 +02:00
api.py tests: adjust TC_00_QubesDaemonProtocol for reorganized api module 2017-06-21 06:59:58 +02:00
app.py qubes.tests asyncio 2017-05-29 17:34:15 +02:00
devices_block.py ext: BlockDevices extension 2017-06-05 23:33:58 +02:00
devices.py qubes.tests asyncio 2017-05-29 17:34:15 +02:00
events.py events: add support for per-instance handlers 2017-05-12 14:25:32 +02:00
ext.py qubes.NotifyTools: ignore '/qubes-tools/version' completely 2017-06-14 10:44:24 +02:00
extra.py tests: do not reload qubes.xml 2017-06-21 00:17:42 +02:00
firewall.py api/admin: firewall-related methods 2017-06-26 13:08:27 +02:00
init.py Fix miscellaneous warnings 2017-05-29 17:34:15 +02:00
run.py qubes/api: refactor creating multiple qubesd sockets 2017-06-21 00:17:37 +02:00
storage_file.py storage: use direct object references, not only identifiers 2017-06-09 04:55:06 +02:00
storage_kernels.py tests: very basic tests for LinuxKernel pool 2017-05-17 11:17:22 +02:00
storage_lvm.py storage: use direct object references, not only identifiers 2017-06-09 04:55:06 +02:00
storage.py mgmt: vm.Create* and vm.Clone 2017-05-12 17:04:18 +02:00
tarwriter.py qubes: port core to python3 2017-01-20 16:42:51 +01:00