From owner-freebsd-isp Thu Aug 16 16:31:45 2001 Delivered-To: freebsd-isp@freebsd.org Received: from mail.plug.cx (kypo.alfred.cx [150.101.93.134]) by hub.freebsd.org (Postfix) with ESMTP id 2897637B40D for ; Thu, 16 Aug 2001 16:31:41 -0700 (PDT) (envelope-from andrew.reid@plug.cx) Received: from percible.alfred.cx (percible.alfred.cx [150.101.93.190]) by mail.plug.cx (Postfix) with ESMTP id 2FFED2B97D; Fri, 17 Aug 2001 18:56:16 +0930 (CST) Subject: Re: RADIUS Accounting with SQUID From: Andrew Reid To: Paul Robinson Cc: Adrian Pavlykevych , freebsd-isp@freebsd.org In-Reply-To: <20010816163108.A19902@jake.akitanet.co.uk> References: <997919908.1446.1202.camel@localhost> <20010815094331.B12922@jake.akitanet.co.uk> <997984620.1446.2253.camel@localhost> <20010816141325.C19104@jake.akitanet.co.uk> <20010816175859.E528@polynet.lviv.ua> <20010816163108.A19902@jake.akitanet.co.uk> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/0.12.99 (Preview Release) Date: 17 Aug 2001 09:01:53 +0930 Message-Id: <998004714.4120.67.camel@localhost> Mime-Version: 1.0 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 16 Aug 2001 16:31:08 +0100, Paul Robinson wrote: > I think the point I was trying to make seems to have skipped well over your > head on this one - I know HTTP and Squid has no long sessions - that's my > point. That's _why_ RADIUS is probably a bad choice for this. RADIUS stands > for Remote Authentication Dial-In User Service and the name in itself tells > you what it is best at handling - 'long' user sessions that last at least a > few seconds, probably 30 or more (30seconds is a long time at this level). > You are talking about transactions that last milliseconds. I would STRONGLY > advise you read very carefully RFC2866 and maybe even preceeding RADIUS > Accounting RFCs to make sure you really know what you're doing. [ Crosses RADIUS off the list ] Thanks for the explanation :-) > There are other projects underway it would seem, as well, to actually handle > what you're talking about in a far easier manner through log file parsing > and the like. That's how our current system works. The problem that I see is the fact that currently, it re-reads the entire log file when the process (squidhelper) is restarted. This causes the Internet to "die" (the cache server doesn't respond during this time). I'm trying to work out a more logical way of tackling this. Possibly a rewrite is in order, but I'm not entirely sure yet. - andrew -- void signature () { cout << "Andrew Reid -- andrew.reid@plug.cx" << endl ; cout << "Cell: +61 401 946 813" << endl; cout << "Quidquid latine dictum sit, altum viditur" << endl; } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message