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 support for traffic control and shaping.

Shorewall may be able to handle the task, and it is fairly friendly.

If shorewall can't do what you need you'll need to look into the CLI to the 
kernel's traffic control/shaping/queuing tables: tc.  Some examples and 
discussion are in the "Linux Advanced Routing & Traffic Control HOWTO".  It's 
part of The Linux Documentation Project so it can be found either there [ 
http://tldp.org/HOWTO/Adv-Routing-HOWTO/ ] or at it's own little corner of 
the web [ http://lartc.org/ ].  It's old, but still mostly useful.

I can also send you some scripts built around tc for my own little home 
network that *might* be useful as examples.

Also, foringer:
A: Because it reverses the order of the conversation.
Q: Why is top-posting so annoying?
A: Top-posting.
Q: What's the most annoying thing on mailing list and newsgroups?

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to