From 9589a9fe49b5b74cf0a74f572c1a7e7316d46974 Mon Sep 17 00:00:00 2001 From: Giulio Date: Fri, 16 Jul 2021 10:31:52 +0200 Subject: [PATCH] Status update --- Readme.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/Readme.md b/Readme.md index 5854c38..d417f67 100644 --- a/Readme.md +++ b/Readme.md @@ -211,12 +211,19 @@ iptables -w -I INPUT 5 -d -p tcp --dport -m conntrack - ``` ## Extra -### Useful Commands +### QubedDB Debugging -``` -# -# -``` +Since all firewall rules are written to the respective domains QubesDB by the `qubesd` it is essential dor debugging purposes to be able to easily read QubesDB entries. The QubesOS Project provide some useful utilities to interact with each DB. Such utilities have self explicative names and works like the respective functions used in the source code. The most useful are: + + * `qubesdb-list` + * `qubesdb-read` + * `qubesdb-write` + +Useful example: + ``` + # qubesdb-list -fr /qubes-firewall/ -d sys-firewall + # qubesdb-read -fr /qubes-firewall/10.137.0.2/0001 -d sys-firewall + ``` ### Flags Flags explanation as produced from the `qvm-ls` utility: