Date: Mon, 06 Sep 1999 18:50:18 +0100 From: Stuart Henderson <stuart@eclipse.net.uk> To: Jonas Eriksson <je@interact.se> Cc: Will Andrews <andrews@TECHNOLOGIST.COM>, Muditha Gunatilake <muditha@seychelles.net>, freebsd-isp@FreeBSD.ORG Subject: Re: Internet Cafe Software for FBSD Message-ID: <37D3FEDA.433E6FFA@eclipse.net.uk> References: <Pine.BSF.4.10.9909061713420.25766-100000@wolfie.interact.se>
next in thread | previous in thread | raw e-mail | index | archive | help
> This is something i just thought about. > Network usage etc. You can check via ipfw: > > 1. Add a rule that counts the outgoing traffic from the host > example: add count tcp from 1.1.1.1 to any > > 2. Make a shellscript with a timer, that starts to count on > commencment of the above when it is above zero. > > 3. When the timecounter in the shellscript is at 1800 sec or > anything deny all traffic from the host to any These (especially the timer) can modify a squid configuration (or better yet a redirector, since that way you don't have to reload squid all the time) and that can decide whether to allow access or redirect to a "Your time is up" page. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37D3FEDA.433E6FFA>