[gentoo-user] Set a network quota per eth device?

2007-06-21 Thread qfpvajdy
Hello, I own a server in a datacenter which has a limit on the traffic per month. If I transfer more data then what has been defined in my contract, I have to pay about 1 EUR per Gbyte. Is there any kind of program or script in Gentoo Linux which detects if for example the server transfers

Re: [gentoo-user] Set a network quota per eth device?

2007-06-21 Thread [EMAIL PROTECTED]
You can use iptables counters and some scripting on bash. Most of the people do it by hands, because writing huge billing system is to comprehensive :) 2007/6/21, qfpvajdy [EMAIL PROTECTED]: Hello, I own a server in a datacenter which has a limit on the traffic per month. If I transfer more

Re: [gentoo-user] Set a network quota per eth device?

2007-06-21 Thread Boyd Stephen Smith Jr.
On Thursday 21 June 2007 05:22:21 [EMAIL PROTECTED] wrote: You can use iptables counters and some scripting on bash. Most of the people do it by hands, because writing huge billing system is to comprehensive :) You could do it that way, but it rather silly since the kernel has all kinds of