README format
This commit is contained in:
parent
11dd36a7d8
commit
ed2b8568f2
@ -16,10 +16,13 @@ CONFIG_NETFILTER_XT_MATCH_CGROUP
|
|||||||
CONFIG_NET_CLS_CGROUP
|
CONFIG_NET_CLS_CGROUP
|
||||||
|
|
||||||
Example
|
Example
|
||||||
=======
|
-------
|
||||||
|
```
|
||||||
$ qsni blocked ping google.com
|
$ qsni blocked ping google.com
|
||||||
ping: unknown host google.com
|
ping: unknown host google.com
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
$ qsni lan bash
|
$ qsni lan bash
|
||||||
$ ping 8.8.8.8
|
$ ping 8.8.8.8
|
||||||
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
|
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
|
$ qsni someprofile bash
|
||||||
already assigned to a net class, thus you can't use this binary to change that
|
already assigned to a net class, thus you can't use this binary to change that
|
||||||
$
|
$
|
||||||
|
```
|
||||||
|
|
||||||
Setup
|
Setup
|
||||||
=====
|
-----
|
||||||
If cgroup_root isn't mounted to /sys/fs/cgroup, do it or change the
|
If cgroup_root isn't mounted to /sys/fs/cgroup, do it or change the
|
||||||
constant in the source to the correct path.
|
constant in the source to the correct path.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user