IP Tablesのstateをリアルタイムで表示してくれるツール
iptstateをインストールしてみた。
入れ方は簡単
# yum install iptstate
これだけ。
依存関係で以下のパッケージも一緒に入りました。
libnfnetlink-1.0.0-3.el6.x86_64
libnetfilter_conntrack-0.0.100-2.el6.x86_64
iptstate-2.2.2-4.el6.x86_64
以下ヘルプ。
使い慣れれば結構便利そう
IPTState 2.2.2
Navigation:
Up/j, Down/k, Left/h, Right/l, PageUp/^u, PageDown/^d, Home, or End
Press any other key to continue…Current settings:
Sorting by: SrcIP
Dynamic formatting: yes
Skip loopback states: no
Resolve hostnames: no
Mark truncated hostnames: no
Colors: yes
Skip outgoing DNS lookup states: no
Enable scroll: yes
Display totals: no
Display counters: noInteractive commands:
c Use colors
C Toggle display of bytes/packets counters
b Sort by next column
B Sort by previous column
d Change destination filter
D Change destination port filter
f Toggle display of loopback states
h Display this help message
l Toggle DNS lookups
L Toggle display of outgoing DNS states
m Toggle marking truncated hostnames with a ‘+’
o Toggle dynamic or old formatting
p Toggle scrolling
q Quit
r Toggle reverse sorting
R Change the refresh rate
s Change source filter
S Change source port filter
t Toggle display of totals
x Delete the currently highlighted state from netfilter