iptstate.8 (iptstate-2.2.6) | : | iptstate.8 (iptstate-2.2.7.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 23 | skipping to change at line 23 | |||
names, output can be formatted, the display can be filtered, and color co ding are among some of the many | names, output can be formatted, the display can be filtered, and color co ding are among some of the many | |||
features. | features. | |||
COMMAND-LINE OPTIONS | COMMAND-LINE OPTIONS | |||
-c, --no-color | -c, --no-color | |||
Toggle color-code by protocol | Toggle color-code by protocol | |||
-C, --counters | -C, --counters | |||
Toggle display of bytes/packets counters | Toggle display of bytes/packets counters | |||
-d, --dst-filter IP | -d, --dst-filter IP[/NETMASK] | |||
Only show states with a destination of IP Note, that this must be | Only show states with a destination of IP and with optional NETMAS | |||
an IP, hostname matching is not | K. | |||
yet supported. | Note, that this must be an IP, hostname matching is not yet suppor | |||
ted. | ||||
-D --dstpt-filter port | -D --dstpt-filter port | |||
Only show states with a destination port of port | Only show states with a destination port of port | |||
-h, --help | -h, --help | |||
Show help message | Show help message | |||
-i, --invert-filters | ||||
Invert filters to display non-matching results | ||||
-l, --lookup | -l, --lookup | |||
Show hostnames instead of IP addresses. Enabling this will also en able -L to prevent an ever-grow- | Show hostnames instead of IP addresses. Enabling this will also en able -L to prevent an ever-grow- | |||
ing number of DNS requests. | ing number of DNS requests. | |||
-m, --mark-truncated | -m, --mark-truncated | |||
Mark truncated hostnames with a '+' | Mark truncated hostnames with a '+' | |||
-o, --no-dynamic | -o, --no-dynamic | |||
Toggle dynamic formatting | Toggle dynamic formatting | |||
skipping to change at line 72 | skipping to change at line 75 | |||
-b, --sort column | -b, --sort column | |||
This determines what column to sort by. Options: | This determines what column to sort by. Options: | |||
S Source Port | S Source Port | |||
d Destination IP (or Name) | d Destination IP (or Name) | |||
D Destination Port | D Destination Port | |||
p Protocol | p Protocol | |||
s State | s State | |||
t TTL | t TTL | |||
b Bytes | b Bytes | |||
P Packets | P Packets | |||
To sort by Source IP (or Name), don't use -b. Sorting by bytes/pac kets is only available for ker- | To sort by Source IP (or Name), don't use -b. Sorting by bytes/pa ckets is only available for ker- | |||
nels that support it, and only when compiled against libnetfilter_ conntrack (the default). | nels that support it, and only when compiled against libnetfilter_ conntrack (the default). | |||
-s, --src-filter IP | -s, --src-filter IP[/NETMASK] | |||
Only show states with a source of IP. Note, that this must be an | Only show states with a source of IP and with optional NETMASK. | |||
IP, hostname matching is not yet | Note, that this must be an IP, hostname matching is not yet suppor | |||
supported. | ted. | |||
-S, --srcpt-filter port | -S, --srcpt-filter port | |||
Only show states with a source port of port | Only show states with a source port of port | |||
-t, --totals | -t, --totals | |||
Toggle display of totals | Toggle display of totals | |||
INTERACTIVE OPTIONS | INTERACTIVE OPTIONS | |||
As of version 2.0, all command-line options are now available interactive ly using the same key as the | As of version 2.0, all command-line options are now available interactive ly using the same key as the | |||
short-option. For example, --sort is also -b, so while iptstate is ru nning, hitting b will change the | short-option. For example, --sort is also -b, so while iptstate is ru nning, hitting b will change the | |||
skipping to change at line 160 | skipping to change at line 163 | |||
0 Success | 0 Success | |||
1 Bad command-line arguments | 1 Bad command-line arguments | |||
2 Error communicating with the netfilter subsystem. | 2 Error communicating with the netfilter subsystem. | |||
3 Terminal too narrow | 3 Terminal too narrow | |||
BUGS | BUGS | |||
We don't support filtering on resolved names, and we don't support filter | We don't support filtering on resolved names. IPv6 support is new and th | |||
ing on networks. IPv6 support is | e dynamic formatting doesn't yet | |||
new and the dynamic formatting doesn't yet always handle IPv6 addresses a | always handle IPv6 addresses as well as it should. | |||
s well as it should. | ||||
BUG REPORTS | BUG REPORTS | |||
All bugs should be reported to Phil Dibowitz <phil AT ipom DOT com>. Plea se see the README and BUGS for | All bugs should be reported to Phil Dibowitz <phil AT ipom DOT com>. Plea se see the README and BUGS for | |||
more information on bug reports. Please read the WISHLIST before sending in features you hope to see. | more information on bug reports. Please read the WISHLIST before sending in features you hope to see. | |||
NOTES | NOTES | |||
iptstate does a lot of work to try to fit everything on the screen in an easy-to-read way. However, in | iptstate does a lot of work to try to fit everything on the screen in an easy-to-read way. However, in | |||
some cases, hostnames may need to be truncated (in lookup mode). Similarl y, IPv6 addresses may need to be | some cases, hostnames may need to be truncated (in lookup mode). Similarl y, IPv6 addresses may need to be | |||
truncated. The truncation of names happens from the right for source b ecause you most likely know your | truncated. The truncation of names happens from the right for source b ecause you most likely know your | |||
own domain name, and from the left for destination because knowing your u sers are connection to "mail.a." | own domain name, and from the left for destination because knowing your u sers are connection to "mail.a." | |||
End of changes. 5 change blocks. | ||||
13 lines changed or deleted | 16 lines changed or added |