Merge pull request #2878 from GOLinux/master

[Translated]20150126 iptraf--A TCP or UDP Network Monitoring Utility.md
This commit is contained in:
joeren 2015-06-05 08:58:58 +08:00
commit f5c60eeb7f
2 changed files with 64 additions and 65 deletions

View File

@ -1,65 +0,0 @@
Translating by GOLinux
iptraf: A TCP/UDP Network Monitoring Utility
================================================================================
[iptraf][1] is an ncurses-based IP LAN monitor that generates various network statistics including TCP info, UDP counts, ICMP and OSPF information, Ethernet load info, node stats, IP checksum errors, and others.
Its ncurses-based user interface also saves users from remembering command line switches.
### Features ###
- An IP traffic monitor that shows information on the IP traffic passing over your network. Includes TCP flag information, packet and byte counts, ICMP details, OSPF packet types.
- General and detailed interface statistics showing IP, TCP, UDP, ICMP, non-IP and other IP packet counts, IP checksum errors, interface activity, packet size counts.
- A TCP and UDP service monitor showing counts of incoming and outgoing packets for common TCP and UDP application ports
- A LAN statistics module that discovers active hosts and shows statistics showing the data activity on them
- TCP, UDP, and other protocol display filters, allowing you to view only traffic youre interested in.
- Logging
- Supports Ethernet, FDDI, ISDN, SLIP, PPP, and loopback interface types.
- Utilizes the built-in raw socket interface of the Linux kernel, allowing it to be used over a wide range of supported network cards.
- Full-screen, menu-driven operation.
To install
### Ubuntu and its derivatives ###
sudo apt-get install iptraf
### Arch Linux and Its derivatives ###
sudo pacman -S iptra
### Fedora and its derivatives ###
sudo yum install iptraf
### Usage ###
If the **iptraf** command is issued without any command-line options, the program comes up in interactive mode, with the various facilities accessed through the main menu.
![](http://180016988.r.cdn77.net/wp-content/uploads/2015/01/iptraf_1.png)
Menu for easy navigation.
![](http://180016988.r.cdn77.net/wp-content/uploads/2015/01/iptraf_2.png)
Selecting interfaces to monitor.
![](http://180016988.r.cdn77.net/wp-content/uploads/2015/01/iptraf_3.png)
Traffic from interface **ppp0**
![](http://180016988.r.cdn77.net/wp-content/uploads/2015/01/iptraf_4.png)
Enjoy!
--------------------------------------------------------------------------------
via: http://www.unixmen.com/iptraf-tcpudp-network-monitoring-utility/
作者:[Enock Seth Nyamador][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://www.unixmen.com/author/seth/
[1]:http://iptraf.seul.org/about.html

View File

@ -0,0 +1,64 @@
iptrafTCP/UDP网络监控工具
================================================================================
[iptraf][1]是一个基于ncurses的IP局域网监控工具它可以生成各种网络统计数据包括TCP信息、UDP统计、ICMP和OSPF信息、以太网负载信息、节点统计、IP校验和错误和其它一些信息。
它基于ncurses的用户界面也会保存来自命令行切换记忆的用户。
### 功能 ###
- 一个用于显示通过网络的IP流量信息的IP流量监控器包括TCP标识信息、包河字节统计、ICMP详情、OSPF包类型
- 显示IP、TCP、UDP、ICMP、非IP和其它IP包计数、IP校验和错误、接口活动、包大小计数的综合详细的接口统计数据
- 一个用于显示流入和流出包常用TCP和UDP应用端口的TCP和UDP服务监控器
- 一个用于发现活动主机和显示这些活动主机的数据活动的局域网统计模块
- TCP、UDP和其它协议的显示过滤器允许你查看你做感兴趣的通信
- 日志记录
- 支持以太网、FDDI、ISDN、SLIP、PPP和回环接口类型
- 利用Linux内核内建的原生套接口界面可以用于大范围支持的网卡
- 全屏、菜单驱动操作
要安装
### Ubuntu及其衍生版 ###
sudo apt-get install iptraf
### Arch Linux及其衍生版 ###
sudo pacman -S iptra
### Fedora及其衍生版 ###
sudo yum install iptraf
### 用法 ###
如果**iptraf**命令不带任何命令行选项执行,该程序就会以交互模式显现,可以通过主菜单获得各种各样的工具。
![](http://180016988.r.cdn77.net/wp-content/uploads/2015/01/iptraf_1.png)
易于导航的菜单。
![](http://180016988.r.cdn77.net/wp-content/uploads/2015/01/iptraf_2.png)
选择监控的接口。
![](http://180016988.r.cdn77.net/wp-content/uploads/2015/01/iptraf_3.png)
来自**ppp0**接口的通信
![](http://180016988.r.cdn77.net/wp-content/uploads/2015/01/iptraf_4.png)
好好乐一把吧!
--------------------------------------------------------------------------------
via: http://www.unixmen.com/iptraf-tcpudp-network-monitoring-utility/
作者:[Enock Seth Nyamador][a]
译者:[GOLinux](https://github.com/GOLinux)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://www.unixmen.com/author/seth/
[1]:http://iptraf.seul.org/about.html