aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert S2018-01-02 16:44:13 +0100
committerAlbert S2018-01-02 16:44:13 +0100
commited2b8568f21d8fc4fa8f0cf1c9aecf6cab678a1b (patch)
tree308ebb5844092857f209e94ec3f352f37b299076
parent11dd36a7d86b846a4399c2e0c6555c1808fd93e4 (diff)
downloadqsni-ed2b8568f21d8fc4fa8f0cf1c9aecf6cab678a1b.tar.gz
qsni-ed2b8568f21d8fc4fa8f0cf1c9aecf6cab678a1b.tar.bz2
README format
-rw-r--r--README.md8
1 files 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.