From owner-freebsd-isp Mon Sep 6 10:50:10 1999 Delivered-To: freebsd-isp@freebsd.org Received: from proteus.eclipse.net.uk (proteus.eclipse.net.uk [195.188.32.118]) by hub.freebsd.org (Postfix) with ESMTP id 8F551157D1 for ; Mon, 6 Sep 1999 10:50:01 -0700 (PDT) (envelope-from stuart@eclipse.net.uk) Received: from eclipse.net.uk (elara.eclipse.net.uk [195.188.32.31]) by proteus.eclipse.net.uk (Postfix) with ESMTP id B888E9B1C; Mon, 6 Sep 1999 18:47:46 +0100 (BST) Message-ID: <37D3FEDA.433E6FFA@eclipse.net.uk> Date: Mon, 06 Sep 1999 18:50:18 +0100 From: Stuart Henderson Organization: Eclipse Networking Ltd. X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: en-GB MIME-Version: 1.0 To: Jonas Eriksson Cc: Will Andrews , Muditha Gunatilake , freebsd-isp@FreeBSD.ORG Subject: Re: Internet Cafe Software for FBSD References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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