Skip to contentSkip to conversation

accounting

DISCUSSION Andrej Ricnik 1 participant 1 message Feb 15, 2003 netfilter

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines

Hi,

as for the logging of traffic, this is really easy. You could use an iptables rule, as DarKRaveR suggested, or just use snmp (interfaces.ifTable.ifEntry.ifInOctets*).

But for the assurance of a given limit, you will need a lot more.

Well, I could insert the traffic details (source/dest, size, time) in a postgres table and run a query from a cron-job every five minutes which certainly would suffice my limits...

Quoted 9 lines

Stop working, look here:
https://rnvs.informatik.tu-chemnitz.de/Dynshaper/

It is already up and running, doing everything you can dream of: shaping to a given limit, dynamic traffic adjustment based on long term traffic analysis, database backend, IP based class allocation, Web-Frontend, Database-Backend, ... and it's GPL!

The only disadvantage: it seems there is only a German documentation.

Well, I downloaded it and read the docs... I don't think it QUITE does what I want, because in this setup it will allow the kids to hog the transfer as long as I'm not on, and only pull the throttle once they used up all the transfer volume? Maybe my German is a bit rusty, and I got it wrong, though ...

Quoted 2 lines

Ciao!
Thomas

Cheers from windy Wellington,
Tink

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM/IT/O d-(++)@ a C+(+++)@ UL++>+++ P+>+++ L++ E+@ W+@ N+ o? K? w---@(+) O+++(+)@ M-@ V? PS+ PE- Y+ PGP++ t- 5- X- R-(*) tv-@ b+ DI++ D-- G++ !e* h--- r++ z? ------END GEEK CODE BLOCK------

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail