Installing Darkstat in Linux: web-based traffic analyzer

Source: Internet
Author: User

Installing Darkstat in Linux: web-based traffic analyzer

Darkstat is a simple web-based traffic analysis program. It can work on mainstream operating systems such as Linux, Solaris, MAC, and AIX. It continues to work in the background as a daemon, constantly sniffing network data, and displaying it on its webpage in a simple and understandable form. It can generate traffic reports for hosts to identify which ports are opened on specific hosts. It is compatible with IPv6. Let's take a look at how to install and configure it in Linux.

 

Install and configure Darkstat in Linux

Install Darkstat in Fedora/CentOS/RHEL:

To install it in Fedora/RHEL and CentOS, run the following command.

  1. sudo yum install darkstat

Install Darkstat in Ubuntu/Debian:

Run the following command to install it in Ubuntu and Debian.

  1. sudo apt-get install darkstat

Congratulations, Darkstat has been installed in your Linux.

 

Configure Darkstat

To run this program correctly, we need to execute some basic configurations. Run the following command to open the/etc/darkstat/init. cfg file in the gedit editor.

  1. sudo gedit /etc/darkstat/init.cfg

Edit Darkstat

Modify START_DARKSTAT to yes and provide your network INTERFACE in "INTERFACE. Make sure that the comments of the DIR, PORT, BINDIP, and LOCAL parameters are removed. If you want to bind Darkstat to a specific IP address, provide it in the BINDIP parameter.

 

Start the Darkstat daemon

After installing and configuring Darkstat, run the following command to start its daemon process.

  1. sudo /etc/init.d/darkstat start

Restarting Darkstat

You can use the following command to start Darkstat at startup:

  1. chkconfig darkstat on

Open the browser and open http: // localhost: 666. It displays the webpage interface of Darkstat. Use this tool to analyze your network traffic.

Darkstat

 

Summary

It is a lightweight tool that occupies a small amount of memory. This tool is easy to configure and use. This is a program that must be owned by the system administrator.

Via: Darkstat is a Web Based Network Traffic Analyzer-Install it on Linux

Author: Aun Translator: geekpi Proofreader: wxy

This article was originally translated by LCTT and launched with the Linux honor in China

This article permanently updates the link address:

Related Article

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.