<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>OpenSource NetMonitoring &#187; dsl</title>
	<atom:link href="http://www.netmonitoring.org/tag/dsl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.netmonitoring.org</link>
	<description>Install,configure,troubleshoot opensource monitoring with tips and tricks</description>
	<lastBuildDate>Sat, 06 Nov 2010 14:54:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>DarkStat &#8211; Network Bandwidth/Traffic monitoring for Linux *NIX</title>
		<link>http://www.netmonitoring.org/darkstat-bandwidth-monitoring/darkstat-network-bandwidthtraffic-monitoring-for-linux-nix/</link>
		<comments>http://www.netmonitoring.org/darkstat-bandwidth-monitoring/darkstat-network-bandwidthtraffic-monitoring-for-linux-nix/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 20:19:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DarkStat Bandwidth Monitoring]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[Bandwidth-Monitoring]]></category>
		<category><![CDATA[cable]]></category>
		<category><![CDATA[darkstat]]></category>
		<category><![CDATA[dsl]]></category>
		<category><![CDATA[firewalls]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[traffic-monitoring]]></category>

		<guid isPermaLink="false">http://www.netmonitoring.org/darkstat-bandwidth-monitoring/darkstat-network-bandwidthtraffic-monitoring-for-linux-nix/</guid>
		<description><![CDATA[DarkStat is a simple nTop like Packet Sniffing Network Traffic/Bandwidth monitoring utility for your Linux/Unix. DarkStat relies on libpcap and presents simple webinterface with nice graphs and stats aut-refreshed. The main advantage of Darkstat is that of the footprint and the memory, CPU usage. DarkStat can run on most of the UNIX, Linux, FreeBSD,OpenBSD,NetBSD,Solaris,Mac OS. <a href='http://www.netmonitoring.org/darkstat-bandwidth-monitoring/darkstat-network-bandwidthtraffic-monitoring-for-linux-nix/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><div style="float: left"; margin-right: 5px;>
<script type="text/javascript"><!--
google_ad_client = "pub-6220434432369569";
/* netmon_336x280_post */
google_ad_slot = "8374956079";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div><br />
DarkStat is a simple nTop like Packet Sniffing Network Traffic/Bandwidth monitoring utility for your Linux/Unix. DarkStat relies on libpcap and presents simple webinterface with nice graphs and stats aut-refreshed. The main advantage of Darkstat is that of the footprint and the memory, CPU usage.</p>
<p>DarkStat can run on most of the UNIX, Linux, FreeBSD,OpenBSD,NetBSD,Solaris,Mac OS. There are also packages for Gentoo Opensuse and Debian</p>
<p><span id="more-44"></span> Installation is fairly straight forward and no configuration is required. Rather if required you can play around. DarkStat also has a nice Man page.</p>
<p>DarkStat runs in the background of many Cable/DSL routers and are used in <a href="http://www.itsyourip.com/Security/pfsense-m0n0wall-based-opensource-firewall-using-old-pc/" title="pfSense OpenSource firewall" target="_blank">pfSense</a>, <a href="http://www.itsyourip.com/Security/redwall-firewall-opensource-linux-firewall-using-an-old-pc/" title="RedWall OpenSource Firewall" target="_blank">redWall</a> opensource firewalls.</p>
<p>Lets install DarkStat in Debian here</p>
<p>As always, install the pre-requisites</p>
<p><strong><u>Install ZLib</u></strong></p>
<blockquote><p><strong>debian4R2Base:~/darkstat-3.0.707# aptitude install zlib1g-dev</strong></p></blockquote>
<p><u><strong>Install libpcap</strong></u></p>
<blockquote><p><strong>debian4R2Base:~/darkstat-3.0.707# aptitude install libpcap-dev</strong></p></blockquote>
<p>That&#8217;s it lets get installing DarkStat</p>
<p>If you choose to install from the Debian Packages then it is as simple as using the aptitude utility</p>
<p><u><strong>Install DarkStat as Debian package</strong></u></p>
<blockquote><p><strong>debian4R2Base:~/darkstat-3.0.707# aptitude install darkstat</strong></p></blockquote>
<p><u><strong>Install from Source</strong></u></p>
<p>If you want to install from source then here we are</p>
<p>Download from <a href="http://dmr.ath.cx/net/darkstat/darkstat-3.0.707.tar.bz2" title="DarkStat - Network traffic Bandwidth Monitoring" target="_blank">here</a></p>
<blockquote><p><strong>debian4R2Base:~# http://dmr.ath.cx/net/darkstat/darkstat-3.0.707.tar.bz2</strong></p></blockquote>
<p><u><strong>Unzip and Untar</strong></u></p>
<blockquote><p><strong>debian4R2Base:~/# tar -jxvf darkstat-3.0.707.tar.bz2</strong></p></blockquote>
<p><u><strong>Compile and Install</strong></u></p>
<blockquote><p><strong>debian4R2Base:~/# cd darkstat-3.0.707</strong></p>
<p><strong>debian4R2Base:~/darkstat-3.0.707# ./configure</strong></p></blockquote>
<p>Sometime throws error so run with the &#8220;&#8211;with-chroot-dir&#8221; arguement</p>
<blockquote><p><strong>debian4R2Base:~/darkstat-3.0.707# ./configure &#8211;with-chroot-dir</strong></p></blockquote>
<blockquote><p><strong>debian4R2Base:~/darkstat-3.0.707# make &amp;&amp; make install</strong></p></blockquote>
<p>That completes the installation.</p>
<p><u><strong>To start DarkStat</strong></u></p>
<blockquote><p><strong>debian4R2Base:~/darkstat-3.0.707# darkstat -i eth0</strong></p></blockquote>
<p>where &#8220;eth0&#8243; is the interface that you monitor traffic coming in and going out. Change it as in your system.</p>
<p>Now, darkstat starts and sniffs in the background and loads a simple web interface at <strong>http://localhost:666</strong> or if you are browsing from a different machine then <strong>http://&lt;IP Address&gt;:666</strong> (example: <strong>http://192.168.19.131:666</strong>)</p>
<p>Once in, no explanation needed all depicted in simple easy graphs showing almost realtime info and historical. So with the hosts and ports. Great tool no wonder used in Cable/DSl routers and in well known OpenSource Firewalls. Well Done!!!</p>
<p><img src="http://www.netmonitoring.org/wp-content/uploads/2008/03/darkstathosts.PNG" alt="DarkStat hosts" /></p>
<p><img src="http://www.netmonitoring.org/wp-content/uploads/2008/03/darkstat.PNG" alt="DarkStat_graphs" /></p>
<h3>Related Post</h3><ul class="related_post"><li><a href="http://www.netmonitoring.org/bwm-ng-network-disk-monitoring/bwm-ng-network-bandwidth-disk-io-monitoring/" title="BWM-NG &#8211; Network Bandwidth &#038; Disk I/O Monitoring">BWM-NG &#8211; Network Bandwidth &#038; Disk I/O Monitoring</a></li><li><a href="http://www.netmonitoring.org/vnstat-bandwidth-monitoring/vnstat-php-frontend-install-config-webinterface-for-vnstat/" title="vnStat PHP Frontend &#8211; Install &#038; Config Webinterface for vnStat">vnStat PHP Frontend &#8211; Install &#038; Config Webinterface for vnStat</a></li><li><a href="http://www.netmonitoring.org/vnstat-bandwidth-monitoring/install-and-run-vnstat-as-a-non-root-user/" title="Install and run vnStat as a Non-Root user">Install and run vnStat as a Non-Root user</a></li><li><a href="http://www.netmonitoring.org/vnstat-bandwidth-monitoring/vnstat-network-trafficbandwidth-monitoring-for-linux/" title="vnStat Network traffic/Bandwidth Monitoring for Linux">vnStat Network traffic/Bandwidth Monitoring for Linux</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.netmonitoring.org/darkstat-bandwidth-monitoring/darkstat-network-bandwidthtraffic-monitoring-for-linux-nix/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

