Project background:
We need a simple web-based traffic monitoring software that has its own HTTP server. Have a Web interface!
Lab Environment:
VMware Workstation 11
Server: ip:192.168.0.19 off iptables
SECURECRT (SSH remote connection software
Experimental process:
First, software download, compile and install
1. Software download
[Email protected] ~]# wget http://down1.chinaunix.net/distfiles/darkstat-2.6.tar.gz
2. Software compilation and Installation
Unzip: [[email protected] ~]# tar zxvf darkstat-2.6.tar.gz
Compile and install:
[Email protected] ~]# CD darkstat-2.6
[[email protected] darkstat-2.6]# ls
ABOUT-NLS config.guess Configure Darkstat.1 issues missing Python
ACLOCAL.M4 config.h.in configure.ac depcomp M4 mkinstalldirs README
AUTHORS Config.rpath contrib INSTALL makefile.am NEWS src
ChangeLog config.sub COPYING install-sh makefile.in PO
[Email protected] darkstat-2.6]#./configure
[[email protected] darkstat-2.6]# make && make install
Second, the use of software
1: Enter darkstat on the command line
[Email protected] ~]# Darkstat
Darkstat v2.6 using Libpcap v2.4 (X86_64-UNKNOWN-LINUX-GNU)
Firing up threads ...
Dns:thread is awake.
Sniffing on device eth0, the local IP is 192.168.0.19www:thread is awake and awaiting connections.
Www:you is using the 中文版 language version.
Graph:starting at 0 secs, mins, and hrs.
Can ' t load db from darkstat.db, starting from scratch.
Acct:capturing traffic ...
Point your browser at http://localhost:666/to see the stats.
2: Open http://localhost:666/inside the browser
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/E/U261/LANG/ZH-CN /images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650 "this.width=650; src=/e/ U261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") No-repeat center;border:1px solid #ddd; "alt=" Spacer.gif "/>650" this.width=650; "src="/e/u261/themes/default/ Images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px Solid #ddd; "alt=" Spacer.gif "/>650) this.width=650; src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "alt=" spacer.gif "/>
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7D/64/wKioL1bnny-iCjPOAAD-aojEzUs873.png "style=" float: none; "title=" Fgw_eixjuisoa ' 5ES () weyc.png "alt=" Wkiol1bnny-icjpoaad-aojezus873.png "/>
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7D/66/wKiom1bnnqSDC_7xAACXBVyyx6E773.png "style=" float: none; "Title=" Rh8_ (6~i0ogk_ww$%y%49il.png "alt=" Wkiom1bnnqsdc_7xaacxbvyyx6e773.png "/>
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7D/66/wKiom1bnnqWyRDxoAACeb0MbVDE432.png "style=" float: none; "title=") 81@M[39TVW92TMR ' @ @ZONU. png "alt=" Wkiom1bnnqwyrdxoaaceb0mbvde432.png "/>
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/7D/66/wKiom1bnnqeCb-gZAAF5CLWgBLI885.png "style=" float: none; "Title=" 5h1 (E[08iti) 1~8@gi@$ (js.png "alt=" Wkiom1bnnqecb-gzaaf5clwgbli885.png "/>
Can feel, this software is very small!!!
Summary:as a simple, web-based flow analysis program, Darkstat can work on mainstream operating systems such as Linux, Solaris, MAC, and AIX, while continuing to work behind the scenes in the form of processes, constantly sniffing network data and presenting it in a simple and understandable way. Hope for everyone can help, thank you!!!
This article is from the "Make a few" blog, be sure to keep this source http://9399369.blog.51cto.com/9389369/1751236
Darkstat: web-based network monitoring tools