<html><head></head><body><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/">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 type="cite"><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">cfowler@outpostsentinel.com</a>> wrote:<br type="attribution"><blockquote type="cite"><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 class="-x-evo-signature-wrapper"><span><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
http://heretothereideas.blogspot.com/
</pre></span></div></body></html>