Install Nfsen on BSD to analyze Netflow network traffic

Source: Internet
Author: User
Article Title: Install Nfsen on BSD to analyze Netflow network traffic. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Nfsen Traffic Analysis for BSD Installation

1. cd/usr/ports/net-mgmt/nfsen Make install

View 137 in/usr/local/etc/nfsen. conf? Row 3 modifies the monitoring name, port number, and color.

Ports 9995 and 9996 are used by default.

2. Edit the apache configuration file

Vi/usr/local/etc/apache22/httpd. conf

Because the default homepage of nfsen is not index. php, but nfsen. php adds nfsen. php after the 216 rows of DirectoryIndex in the apache configuration file

By default, row 181 of the root directory is changed to the nfsen directory:

3. restart apache/usr/local/etc/rc. d/apache22 restart.

Start nfsen/usr/local/etc/rc. d/nfsen start

4. Install Nfsen plug-in PortTracker:

Go to the/usr/ports/net-mgmt/nfdump-devel/directory

Make patch indicates that the file is missing. make install

Generate work directory write down file path/usr/ports/net-mgmt/nfdump-devel/work/nfdump-snapshot-20070808

Go to the PortTracker directory/usr/ports/net-mgmt/nfsen/work/nfsen-1.3/contrib/porttracker(without this directory, download nfsen-1.3b-2007020..tar.gz with PortTracker)

Edit do_compile vi do_compile

NFDUMP =/usr/ports/net-mgmt/nfdump-devel/work/nfdump-snapshot-20070808

RRDINCLUDE =/usr/local/include

LIBRRD =/usr/local/lib

Run./do_compile to generate the nftrack execution File

Cp nftrack/usr/local/bin

Chown: www/usr/local/bin/nftrack

Rehash

[1] [2] Next page

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.