From ed2b8568f21d8fc4fa8f0cf1c9aecf6cab678a1b Mon Sep 17 00:00:00 2001 From: Albert S Date: Tue, 2 Jan 2018 16:44:13 +0100 Subject: [PATCH] README format --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5290d5d..e0de511 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,13 @@ CONFIG_NETFILTER_XT_MATCH_CGROUP CONFIG_NET_CLS_CGROUP Example -======= +------- +``` $ qsni blocked ping google.com ping: unknown host google.com +``` +``` $ qsni lan bash $ ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. @@ -30,9 +33,10 @@ PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. $ qsni someprofile bash already assigned to a net class, thus you can't use this binary to change that $ +``` Setup -===== +----- If cgroup_root isn't mounted to /sys/fs/cgroup, do it or change the constant in the source to the correct path.