Search squid archive

it's not disconnect users after Max-Daily-Session ends

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
before i ask this problem here i asked it in freeradius mailing list
and they said that it's a nas problem .


here are the things i did :

i have squid connected to freeradius ((freeradius: FreeRADIUS Version
2.1.10, for host x86_64-pc-linux-gnu, built on Nov 24 2011 at
07:53:12)) and
problem is that after a Max-Daily-Session time ended user stay
connected and can use squid proxy .
here is my configuration:

i did this config on users file of freeradius
------------------------------------------------
"alice" Cleartext-Password := "passme", Max-Daily-Session :="100"
     Reply-Message = "Hello, %{User-Name}"
-------------------------------------------------


and uncomment daily in accounting and authorize section of
sites-enabled/default file of freeradius and uncommented the daily in
instantiate section of radiusd.conf and
added this to moduls/counter
-----------------------------------------------------------------------------------------------
counter daily {
     filename = ${db_dir}/db.daily
     key = User-Name
     count-attribute = Acct-Session-Time
     reset = daily
     counter-name = Daily-Session-Time
     check-name = Max-Daily-Session
     reply-name = Session-Timeout
#       allowed-servicetype = Framed-User
     cache-size = 5000
#        return-attribute = Session-Timeout
     }
-------------------------------------------------------------------------------------------------


but after 100 second the user doesn't disconnect .

i checked the " access.log " of squid but nothing about disconnecting
user was in  there .



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux