diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | conntrack.8 | 43 | ||||
-rw-r--r-- | extensions/libct_proto_icmp.man | 10 | ||||
-rw-r--r-- | extensions/libct_proto_tcp.man | 16 | ||||
-rw-r--r-- | extensions/libct_proto_udp.man | 13 |
5 files changed, 44 insertions, 39 deletions
@@ -20,6 +20,7 @@ o better protocol argument checkings o fix per-protocol filtering, eg. conntrack -L -p tcp o show per-protocol help, ie. conntrack -h -p tcp o add alias --src for --orig-src and alias --dst for --orig-dst +o include protocol filters in the manpage version 0.9.4 (2007/07/02) ------------------------------ diff --git a/conntrack.8 b/conntrack.8 index bb9b0e0..d095d6c 100644 --- a/conntrack.8 +++ b/conntrack.8 @@ -127,6 +127,49 @@ Specify the source address mask of an expectation. .TP .BI "--mask-dst " IP_ADDRESS Specify the destination address mask of an expectation. +.SS PROTOCOL FILTER PARAMETERS +.TP +TCP-specific fields: +.TP +.BI "--orig-port-src " "PORT" +Source port in original direction +.TP +.BI "--orig-port-dst " "PORT" +Destination port in original direction +.TP +.BI "--reply-port-src " "PORT" +Source port in reply direction +.TP +.BI "--reply-port-dst " "PORT" +Destination port in reply direction +.TP +.BI "--state " "[NONE | SYN_SENT | SYN_RECV | ESTABLISHED | FIN_WAIT | CLOSE_WAIT | LAST_ACK | TIME_WAIT | CLOSE | LISTEN]" +TCP state +.TP +UDP-specific fields: +.TP +.BI "--orig-port-src " "PORT" +Source port in original direction +.TP +.BI "--orig-port-dst " "PORT" +Destination port in original direction +.TP +.BI "--reply-port-src " "PORT" +Source port in reply direction +.TP +.BI "--reply-port-dst " "PORT" +Destination port in reply direction +.TP +ICMP-specific fields: +.TP +.BI "--icmp-type " "TYPE" +ICMP Type. Has to be specified numerically. +.TP +.BI "--icmp-code " "CODE" +ICMP Code. Has to be specified numerically. +.TP +.BI "--icmp-id " "ID" +ICMP Id. Has to be specified numerically (non-mandatory) .SH DIAGNOSTICS The exit code is 0 for correct function. Errors which appear to be caused by invalid command line parameters cause an exit code of 2. Any other errors diff --git a/extensions/libct_proto_icmp.man b/extensions/libct_proto_icmp.man deleted file mode 100644 index 3b860d0..0000000 --- a/extensions/libct_proto_icmp.man +++ /dev/null @@ -1,10 +0,0 @@ -This module matches on ICMP-specific fields. -.TP -.BI "--icmp-type " "TYPE" -ICMP Type. Has to be specified numerically. -.TP -.BI "--icmp-code " "CODE" -ICMP Code. Has to be specified numerically. -.TP -.BI "--icmp-id " "ID" -ICMP Id. Has to be specified numerically. diff --git a/extensions/libct_proto_tcp.man b/extensions/libct_proto_tcp.man deleted file mode 100644 index 41783f8..0000000 --- a/extensions/libct_proto_tcp.man +++ /dev/null @@ -1,16 +0,0 @@ -This module matches on TCP-specific fields. -.TP -.BI "--orig-port-src " "PORT" -Source port in original direction -.TP -.BI "--orig-port-dst " "PORT" -Destination port in original direction -.TP -.BI "--reply-port-src " "PORT" -Source port in reply direction -.TP -.BI "--reply-port-dst " "PORT" -Destination port in reply direction -.TP -.BI "--state " "[NONE|SYN_SENT|SYN_RECV|ESTABLISHED|FIN_WAIT|CLOSE_WAIT|LAST_ACK|TIME_WAIT|CLOSE|LISTEN]" -TCP state diff --git a/extensions/libct_proto_udp.man b/extensions/libct_proto_udp.man deleted file mode 100644 index c67fedf..0000000 --- a/extensions/libct_proto_udp.man +++ /dev/null @@ -1,13 +0,0 @@ -This module matches on UDP-specific fields. -.TP -.BI "--orig-port-src " "PORT" -Source port in original direction -.TP -.BI "--orig-port-dst " "PORT" -Destination port in original direction -.TP -.BI "--reply-port-src " "PORT" -Source port in reply direction -.TP -.BI "--reply-port-dst " "PORT" -Destination port in reply direction |