On Thu, Aug 01, 2002 at 10:49:17PM +0600, Dr. Muhammad Masroor Ali wrote: > After some grueling days and kind advice from fellow netizens, > mod_radius_auth does perfect authentication for squid > (2.4.STABLE1) in my RH 7.3 linux box. However, no accounting > records are being written. That is,
pam_radius_auth will never generate accounting records. That "account" line is not really for accounting. I presume you are trying to make squid generate accounting records. Unfortunately, HTTP proxies do not have any notion of "sessions", just like HTTP. When squid first sees an unauthenticated proxy request, it asks the client browser for authentication. After a successful authentication, the browser keeps on sending the authentication header with each proxy request, until the browser is closed. Each request is independent of each other. There is no way for squid to know when the user has stopped browsing. -- Mojahed System Administrator, Agni Systems Limited - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
