Try using the iptables quota extension (works just fine here with iptables-1.2.6a). On Wed, 16 Oct 2002, Thomas Vander Stichele wrote: > Hi, > > I've been asked something I couldn't really give an answer to out of the > box. Someone I know wants to do fair bandwidth sharing over long periods. > The period would be related to the provider's capping period ;) > So, for example, if five people share one connection, and the ISP allows > 10 GB per month of traffic, each person could only use 2 GB per month, and > be effectively turned off when passing that limit. > > Now, my question is - has anyone done anything similar ? I'd think that > this application would lean more to an approach that just does accounting > by the hour,, for example, and turn off net access through firewall rules > based on those values. Also, it would probably have to store intermediate > accounting values to disk instead of keep everything in memory. > > What do you guys think ? > > Thomas > > > _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/