Eric, A very effective but not so easy way to see exactly what sort of traffic your router has been moving, is to install a NetFlow probe on your router. It will forward flows to a NetFlow collector, permitting further analysis and graphing on the traffic. You would then be able to categorize the traffic (for example http/ftp/mail/p2p/other for in/out, by host/subnet, period of time) quite precisely.
Some pointers: * A NetFlow probe that runs on Bering-uClibc: fprobe-ulog (I compiled it successfully but no extensive tests done) [1] * A NetFlow collector / processor: NfDump [2] * A NetFlow web-based reporting engine: NfSen [3] Hope this may help you, Philippe J. [1] http://fprobe.sourceforge.net/ [2] http://nfdump.sourceforge.net/ [2] http://nfsen.sourceforge.net/ Eric House wrote: > I'd like to be able to see at a glance what sort of traffic my LEAF > router's been moving over the past hours/days/weeks/whatever. Is > there any way to do that now given packages available (for the uClibc > version, ideally.) > > If not, I'm imagining writing something to plug into webmin. It might > look like this: > > * cron jobs to log cumulative traffic on eth0 (say), probably by > calling 'ip addr', every 1 or 5 or 10 minutes or so. > > * cgi scripts to parse the above, producing a crude bar graph using a > borderless <table> > > * the page produced could probably allow display by hour, day, week, > etc., with links to drill down into bars or look at a larger view. > Typical parameterized cgi stuff. > > I'm not sure when I'd have time for this, but does it strike folks as > useful and not duplicating something we already have? > > Thanks, > > --Eric ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/