<div dir="ltr"><a href="http://www.catonmat.net/blog/traffic-accounting-with-iptables/">http://www.catonmat.net/blog/traffic-accounting-with-iptables/</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 12, 2015 at 4:21 PM, Boris Borisov <span dir="ltr"><<a href="mailto:bugyatl@gmail.com" target="_blank">bugyatl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>iptables would be the "hacker" way to go. Iptraf otherwise.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Aug 12, 2015 at 3:49 PM, Chris Fowler <span dir="ltr"><<a href="mailto:cfowler@outpostsentinel.com" target="_blank">cfowler@outpostsentinel.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000"><div>Thanks for both links!</div><div><br></div><hr><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><b>From: </b>"Jim Kinney" <<a href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>><br><b>To: </b>"Chris Fowler" <<a href="mailto:cfowler@outpostsentinel.com" target="_blank">cfowler@outpostsentinel.com</a>><br><b>Cc: </b>"Atlanta Linux Enthusiasts - Yes! We run Linux!" <<a href="mailto:ale@ale.org" target="_blank">ale@ale.org</a>><br><b>Sent: </b>Wednesday, August 12, 2015 3:36:48 PM<span><br><b>Subject: </b>Re: [ale] Monitor Internet Traffic<br><div><br></div><div>It used markers. So each source has it's own marker. Then each marker gets counted.</div><div><br></div><div>Ah! This looks familiar:</div><div><br></div><div><a href="http://www.catonmat.net/blog/traffic-accounting-with-iptables/" target="_blank">http://www.catonmat.net/blog/traffic-accounting-with-iptables/</a></div><div><br></div><div>On Wed, 2015-08-12 at 15:15 -0400, Jim Kinney wrote:</div><blockquote><p dir="ltr">It will take a while to dig this up. I did this about 10 years ago and I'm not sure I kept it.</p><div class="gmail_quote">On Aug 12, 2015 3:11 PM, "Chris Fowler" <<a href="mailto:cfowler@outpostsentinel.com" target="_blank">cfowler@outpostsentinel.com</a>> wrote:<br><blockquote><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000"><div><br></div><div><br></div><hr><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><b>From: </b>"Jim Kinney" <<a href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>><br><b>To: </b>"Atlanta Linux Enthusiasts - Yes! We run Linux!" <<a href="mailto:ale@ale.org" target="_blank">ale@ale.org</a>><br><b>Sent: </b>Wednesday, August 12, 2015 2:54:36 PM<br><b>Subject: </b>Re: [ale] Monitor Internet Traffic<br><div><br></div><p dir="ltr">Use iptables and add a counter table that update based on mac or ip. Then run a cron to read the table values and dump into rrd.</p></blockquote><div><br></div><div>This is counting bytes? I like it. Example rule?</div></div></div><br></blockquote></div></blockquote><div><pre>--
James P. Kinney III
Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
<a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a>
</pre></div></span></blockquote><div><br></div></div></div><br></div></div><span class="">_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div>