Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The use of Network Monitoring tool tcptrack

2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

1. Download address http://download.chinaunix.net/download.php? id=32248&ResourceID=10197

tar zxvf tcptrack-1.4.2.tar.gz

cd tcptrack-1.4.2

./ configure ;

#Error as follows

configure: error: Connot find pcap library

#Solution

yum install -y libpcap-devel libpcap

make & make install

2. Use tcptrack -h to get help

Usage: tcptrack [-dfhvp] [-r ] -i []

3. Tcptrack can only monitor the parameters of one NIC at a time (if you have eth0 ð2 on your host)

# tcptrack -i eth0

# tcptrack -i eth2

4.tcptrack can monitor traffic from both specified IP and network cards

# tcptrack -i eth0 src or dst 172.30.65.72

5. You can also specify network cards and listening ports

To monitor the specific ports (ie.. port 80 and 22):

# tcptrack -i eth0 port 80

# tcptrack -i eth0 port 22

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report