首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 显示从Linux上的ip_conntrack或nf_conntrack文件列出当前的网络连接。

显示从Linux上的ip_conntrack或nf_conntrack文件列出当前的网络连接。

资 源 简 介

This script continuously watches the ip_conntrack or nf_conntrack file, usually located in /proc/net/ on Linux, displaying certain fields from the list of network connections. The list can be sorted by IP addresses, ports, protocol, or connection state. The display list can also be filtered using the fields to display only the lines that contain a specified field. The filter is very primitive right now, but I will improve it when I get a chance or you can help (for example, allow pattern matching or negation of terms). The list displays the source and destination IP addresses, the source and destination ports, the protocol used (e.g. tcp or udp), the connection state, and the TTL for connection. This script requires Perl 5.8+ and the perl-Curses module/package. There are some other scripts that display the conntrack info in a friendly manner, but they didn"t work or I didn"t like them, so I wrote my own.

文 件 列 表

conntrack-viewer
conntrack_viewer.pl
README
COPYING
VIP VIP
0.202140s