diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-08-21 19:18:38 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-09-08 20:10:13 +0200 |
commit | 882bb111285a3a4465995b4af03040a291145d7b (patch) | |
tree | 7b58c16d7bc1c6c29ed0a33f00c640748a98da51 /README.nfct | |
parent | dd73ceecdbe87b6ecf9e96643cd5326e520d7a1c (diff) | |
download | conntrack-tools-882bb111285a3a4465995b4af03040a291145d7b.tar.gz conntrack-tools-882bb111285a3a4465995b4af03040a291145d7b.zip |
nfct: update syntax in documentation
Since dd73ceecdbe8 ("nfct: Update syntax to specify command before subsystem")
the command comes before the object type. Update documentation accordingly.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'README.nfct')
-rw-r--r-- | README.nfct | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/README.nfct b/README.nfct index 4d8e6cc..89dd328 100644 --- a/README.nfct +++ b/README.nfct @@ -9,11 +9,11 @@ more similar to `ip' and `nftables' tools (in the long run!). The `nfct' command line tool allows you to define custom timeout policies: -# nfct timeout add custom-tcp-policy1 inet tcp established 100 +# nfct add timeout custom-tcp-policy1 inet tcp established 100 You can also retrieve the existing timeout policies with: -# nfct timeout list +# nfct list timeout .tcp-policy = { .l3proto = 2, .l4proto = 6, @@ -39,7 +39,7 @@ Then, you can use the timeout policy with iptables: You can define policies for other protocols as well, eg: -# nfct timeout add custom-udp-policy1 inet udp unreplied 10 replied 20 +# nfct add timeout custom-udp-policy1 inet udp unreplied 10 replied 20 And attach them via iptables: |