Ntop is a network traffic monitoring software based on Libpcap. You can monitor the network traffic and status through a web browser. The latest version 3.2 is available. You can download ntop from the official website for free:
Http://www.ntop.org/download.
Html
# Tar ntop-3.2.tgz
# Cd ntop-3.2
#./Configure-Prefix =/usr/local/ntop-disable-ipv6
# Make & make install
We use nobody to run ntop and Set permissions for its data storage directory.
# Chown-r Nobody. Nobody/usr/local/ntop/share/ntop
#/Usr/local/ntop/bin/ntop-P/usr/share/ntop-u ntop-
-P [Directory] specifies the path for storing the. DB file.
-U [user] specifies the service to start the user
-A: Set the administrator password.
Copy its configuration file template
# Cp/usr/local/src/ntop-3.2/packages/RedHat/ntop. conf. Sample/etc/ntop. conf
# Vi/etc/ntop. conf
Set the following parameters:
-User nobody # Run the user program
-Daemon # Set ntop as a service
-Db-file-path/usr/local/ntop/share/ntop # data file storage directory
-Interface eth0, eth1 # monitored Nic
-Http-server 3000 # Web Access Port
Start the ntop service and specify the read configuration file. Only the CIDR Block 192.168.0.0/24 is monitored.
#/Usr/local/ntop/bin/ntop @/etc/ntop. conf-M 192.168.0.0/24
You can access http: // ip: 3000.