core-admin/qubes/api
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
..
__init__.py qubes/api: refactor creating multiple qubesd sockets 2017-06-21 00:17:37 +02:00
admin.py api/admin: firewall-related methods 2017-06-26 13:08:27 +02:00
internal.py qubes/api: refactor creating multiple qubesd sockets 2017-06-21 00:17:37 +02:00
misc.py qubes/api: refactor creating multiple qubesd sockets 2017-06-21 00:17:37 +02:00