core-admin/qubes
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
..
api api/admin: firewall-related methods 2017-06-26 13:08:27 +02:00
ext ext/admin: add explanation to PermissionDenied 2017-06-22 13:21:37 +02:00
qmemman qmemman: fix units on meminfo parsing 2017-06-21 06:34:00 +02:00
storage storage: simplify coroutine handling 2017-06-23 02:35:49 +02:00
tests api/admin: firewall-related methods 2017-06-26 13:08:27 +02:00
tools Merge branch 'core3-qmemman-fix' 2017-06-22 23:16:35 +02:00
vm Merge branch 'core3-devel-20170619' 2017-06-23 02:53:17 +02:00
__init__.py qubes: validate if property value consists of ASCII only earlier 2017-06-26 13:07:19 +02:00
app.py app: fix registering libvirt event handler 2017-06-20 12:47:00 +02:00
backup.py backup: add a little more usage info, include docs in main index 2017-04-21 19:58:32 +02:00
config.py vm: make vm.hvm=True by default 2017-06-05 23:38:30 +02:00
core2migration.py Make pylint ♥ 2017-04-15 23:50:11 +02:00
devices.py Merge remote-tracking branch 'qubesos/pr/111' 2017-06-12 23:22:55 +02:00
dochelpers.py Add documentation for mgmt 2017-03-13 21:51:52 +01:00
events.py events: add support for per-instance handlers 2017-05-12 14:25:32 +02:00
exc.py admin: implement admin.vm.tag.* 2017-06-20 00:54:16 +02:00
firewall.py api/admin: firewall-related methods 2017-06-26 13:08:27 +02:00
log.py qubes: port core to python3 2017-01-20 16:42:51 +01:00
rngdoc.py Make pylint happy 2017-04-21 16:57:35 +02:00
tarwriter.py Make pylint happy 2017-04-21 16:57:35 +02:00
utils.py Make pylint happy 2017-04-21 16:57:35 +02:00