[clug] Tracking network usage
tony at bakeyournoodle.com
Mon Oct 10 22:09:05 GMT 2005
On Tue, Oct 11, 2005 at 07:30:35AM +1000, Neill Cox wrote:
> I have a home network with a number of untrusted clients (ie teenage
> who last month chewed through 80% of my bandwidth allocation in 50% of the
> Any pointers/cluebats gratefully received.
I think, while not quite what you asked, a "captive portal" style
solution would work.
Essentially it would go a little something like:
* machine DHCP's
* user logs into machine
* user opens web browser, which is rediercted to you local firewall,
* user authenticates
* firewall adds IP to forwarding chain.
* after some elapsed idle time (or when user logs out at webpage)
* firewall removes IP from idle chain.
* repeat from "user authenticates"
It certainly adds an annoyance factor to useing the network, but with
customisation/iron fist ;P I think it could work.
You may only use the captive portal on the shared machines and just
account for traffic to/from the dedicated machines with iptables.
linux.conf.au http://linux.conf.au/ || http://lca2006.linux.org.au/
Jan 23-28 2006 The Australian Linux Technical Conference!
More information about the linux