Use ntop to analyze network traffic

Source: Internet
Author: User

Use ntop to analyze network traffic
Business (xian) Business (de) needs (dan) to (teng), do the LAN egress traffic analysis.
Ntop is a mature network traffic analysis tool, which is easy to install and quick to use. It charges fees and takes several minutes to install it.
Environment: 1) configure an image port for the Huawei switch.
2) The network port p2p2 is connected to the Image Port of the DELL server.
3) CentOS 7

1. Configure the source. (Reference http://packages.ntop.org/centos)

 
 
  1. cd /etc/yum.repos.d/
  2. wget http://packages.ntop.org/centos/ntop.repo -O ntop.repo
  3. wget http://packages.ntop.org/centos/epel-7.repo -O epel.repo

Ii. Installation (first re-create the source cache)
 
 
  1. yum clean all
  2. yum update
  3. yum install pfring n2disk nprobe ntopng ntopng-data cento

3. Start the software
1. Start redis
 
 
  1. systemctl start redis
2. Start the collector.

Listens to port 5556 as the data receiving Interface

 
 
  1. ntopng -i "tcp://127.0.0.1:5556"
3. Start the detector.

The Detector collects data from the p2p2 interface and sends it to the tcp5556 interface.

 
 
  1. nprobe --zmq "tcp://*:5556" -i p2p2

4. web access interface.
Now you can directly access the web management interface through a browser.
Http: // 172.16.180.100: 3000/initial username/password admin/admin

As follows:








Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.