Re: kill user connection

2004-09-03 Thread Edgars
yes, Session-Timeout is good,but will it work if i'll will add it to the data base table in moment the user is already logged in? i think no because attributes are given to user only after authentication, isn't it so? Maybe someone know how to send, for example, session-timeout=1s to user

Re: kill user connection

2004-09-03 Thread Simon Bryden
It depends what you are trying to do. If you want a constant timeout then you can add it to the database as a reply attribute. If you need something dynamic, such as what you described in your other post, then you can use rlm_exec to calculate and return the timeout at authentication time.

Re: kill user connection

2004-09-03 Thread Edgars
i want such a thing - i have one additional field in radcheck table which is true/false. So i have one function which starts to work after user is authenticated for the first time. And if there is special timeout set for him (i.e. for example 1 hour) then starting from this moment his username

Re: kill user connection

2004-09-03 Thread Troy Davis
http://freshmeat.net/projects/radkill/ Regards Troy Comstech Systems Ph: 1300 550 664 www.comstech.com - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 03, 2004 10:12 AM Subject: Re: kill user connection Could you explain how to use snmp

Re: kill user connection

2004-09-03 Thread armando
connection.. that might be faster and a better option.. But even tho is an option, tnx for your advise. Armando Leal - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 03, 2004 10:12 AM Subject: Re: kill user connection Could you explain how

kill user connection

2004-09-02 Thread Edgars
is there a way to do subj. from the freeradius - i'll use this when some time is reached. Edgars - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: kill user connection

2004-09-02 Thread armando
Could you explain how to use snmp to disconnect a session, I been told you need to use snmpwalk and do some configs on NAS to autentificate, also a problem is knowing what is the channel, ofcourse obtaining it by radius to send to the NAS a line clear. I had tried to find a snmp scripts to do

Re: kill user connection

2004-09-02 Thread Simon Bryden
There is a RADIUS disconnect mechanism which is not standardised as far as I know and not too widely supported. In most cases you need to use SNMP or other techniques to disconnect sessions. The most standardised way of disconnecting sessions is to use Session-Timeout attribute to tell the NAS