diff mbox series

[v3,6/8] conntrack.8: man update for --load-file support

Message ID 20210129212452.45352-7-mikhail.sennikovskii@cloud.ionos.com
State Under Review
Delegated to: Pablo Neira
Headers show
Series conntrack: save output format | expand

Commit Message

Mikhail Sennikovsky Jan. 29, 2021, 9:24 p.m. UTC
Signed-off-by: Mikhail Sennikovsky <mikhail.sennikovskii@cloud.ionos.com>
 conntrack.8 | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series


diff --git a/conntrack.8 b/conntrack.8
index 898daae..a14cca6 100644
--- a/conntrack.8
+++ b/conntrack.8
@@ -23,6 +23,8 @@  conntrack \- command line interface for netfilter connection tracking
 .BR "conntrack -C [table]"
 .BR "conntrack -S "
+.BR "conntrack -R file"
 The \fBconntrack\fP utilty provides a full featured userspace interface to the
 Netfilter connection tracking system that is intended to replace the old
@@ -102,6 +104,9 @@  Show the table counter.
 .BI "-S, --stats "
 Show the in-kernel connection tracking system statistics.
+.BI "-R, --load-file "
+Load entries from a given file. To read from stdin, "\-" should be specified.
@@ -394,6 +399,9 @@  Delete all flow whose source address is
 .B conntrack \-U \-s \-m 1
 Set connmark to 1 of all the flows whose source address is
+.B conntrack -L -w 11 -o save | sed "s/-w 11/-w 12/g" | conntrack --load-file -
+Copy all entries from ct zone 11 to ct zone 12
 Please, report them to netfilter-devel@vger.kernel.org or file a bug in