On Sun, May 30, 2010 at 9:55 PM, unsolicited <span dir="ltr"><<a href="mailto:unsolicited@swiz.ca">unsolicited@swiz.ca</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Nice page.<br>
<br>
Couple of thoughts:<br>
<br>
- it can be tough to remember that data collection, data monitoring, and data display, need not all be on the same device. So, it might not be necessary to depend upon little ol' OpenWRT, with limited horsepower and memory, to do it all. It may perhaps be useful to use OpenWRT as a point of collection, and perhaps monitoring, and let another computer do the heavy lifting. Assuming, for example, that you want to clamp down an ip overusing the bandwidth, vs. an ip having reached it's limit for the month. (The former is merely monitoring, the latter assumes data collection and summation to make the 'drop the gate' decision.)<br>
</blockquote><div><br>fprobe, which I mention on the page, does exactly that. My thought was to run ntop on a regular server, and have only fprobe on the OpenWRT device. This way all the graph, HTML generation, and data analysis is on a more beefy machine. <br>
 <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
- if I read your text correctly, for the Gargoyle to be effective it must be your gateway. Many would be reluctant to do so (it it ain't broke ...) Mind you, if you're considering OpenWRT anyway, as your gateway, you're already there. Or if you already know your in the midst of a problem anyways. OTOH - you can't control traffic that you're not in the midst of.<br>
</blockquote><div><br>Yes, this is a limitation, and I am willing to go with it when the time is right.<br><br>I would rather use the stock OpenWRT rather than a fork of it (Gargoyle). What I find intriguing is that the bwmon and qos packages are really written around iptables and not much else (just a simple bw_convert.c program). Which means that porting it to stock OpenWRT should be something that is easy to do (when I have time).<br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I wonder ... could you just vlan the kids off and rate limit them full time, leaving the rest for you? I guess, depends upon the consequences when they figure that out? (-:<br></blockquote><div><br>Yes, I can do that, but need a device that is able to do that (vlan and rate limit), so we are back to square one. Current router does not do that (though it is rock solid and never needs rebooting, something I can't say for my previous wired only router, and the DIR-615 that I got and returned).<br>
 <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Khalid Baheyeldin wrote, On 05/30/2010 8:40 PM:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
One of the reasons I was looking for a flashable Linux based router<br>
was to monitor bandwidth in a home network and trace the usage to<br>
individual computers.<br>
<br>
While I have not implemented any specific solution yet, mostly due<br>
to lack of time to tinker, I gathered some information here for my<br>
own reference in the future.<br>
<br>
The Gargoyle Router, which is a variant of OpenWRT, seems to be<br>
exactly what I need: bandwidth monitoring and quality of service<br>
(throttling). I looked at the code and it seems to be iptables<br>
based, so could be applicable to any Linux based router.<br>
<br>
So here are the relevant links<br>
<br>
<a href="http://baheyeldin.com/bandwidth/monitoring-bandwidth-usage-individual-computers-home-network.html" target="_blank">http://baheyeldin.com/bandwidth/monitoring-bandwidth-usage-individual-computers-home-network.html</a><br>

<br>
<br>
<br></div>
------------------------------------------------------------------------<br>
<br>
<br>
_______________________________________________ <a href="http://kwlug-disc_kwlug.org" target="_blank">kwlug-disc_kwlug.org</a> mailing list <a href="http://kwlug-disc_kwlug.org" target="_blank">kwlug-disc_kwlug.org</a>@<a href="http://kwlug.org" target="_blank">kwlug.org</a> <a href="http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org" target="_blank">http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org</a><br>

</blockquote>
<br>
_______________________________________________<br>
<a href="http://kwlug-disc_kwlug.org" target="_blank">kwlug-disc_kwlug.org</a> mailing list<br>
<a href="http://kwlug-disc_kwlug.org" target="_blank">kwlug-disc_kwlug.org</a>@<a href="http://kwlug.org" target="_blank">kwlug.org</a><br>
<a href="http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org" target="_blank">http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com">2bits.com</a>, Inc.<br><a href="http://2bits.com">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra<br>Simplicity is the ultimate sophistication. --   Leonardo da Vinci<br>