Re: freeradius+openvpn disconnect user from radius

2012-01-05 Thread Azfar Hashmi
pptp and l2tp working fine, if I see radiusplgin source code then these things are defined there ie.g session-timeout and idle-timeout but since I am not good in programing i have no idea why they are there, anyone confirm why they are in code if not supported? I am on v2.1a b1 1/5/2012 11:17 AM,

Re: freeradius+openvpn disconnect user from radius

2012-01-05 Thread Alexandre Chapellon
From the ./UserAuth.cpp file in the radiusplugin code: /**The method send an authentication packet to the radius server and * calls the method parseResponsePacket(). The following attributes are in the packet: * - User_Name, * - User_Password * - NAS_PortCalling_Station_Id, * -

Re: freeradius+openvpn disconnect user from radius

2012-01-05 Thread Alexandre Chapellon
First We should know if openvpn is able to create a vpn session for a certain amount of time and then disconnect the user once time expired... I am not sure openvpn has such a feature... If it doesn't that mean that openvpn code would also need to be hacked. This thread is slightly becomming

freeradius+openvpn disconnect user from radius

2012-01-04 Thread Azfar Hashmi
Anyone confirm me that openvpn support session-timout/acct-session-timeout, i want radius to tell my NAS to disconnect users if they reached their expiration. Currently its not working. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: freeradius+openvpn disconnect user from radius

2012-01-04 Thread Fajar A. Nugraha
On Wed, Jan 4, 2012 at 3:18 PM, Azfar Hashmi azfar.has...@cloudways.com wrote: Anyone confirm me that openvpn support session-timout/acct-session-timeout, i want radius to tell my NAS to disconnect users if they reached their expiration. Currently its not working. Did you ask in openvpn list?

Re: freeradius+openvpn disconnect user from radius

2012-01-04 Thread Azfar Hashmi
I did but the list has very low activity. Only few posts in numerous days there. On 1/4/2012 1:32 PM, Fajar A. Nugraha wrote: On Wed, Jan 4, 2012 at 3:18 PM, Azfar Hashmi azfar.has...@cloudways.com wrote: Anyone confirm me that openvpn support session-timout/acct-session-timeout, i want

Re: freeradius+openvpn disconnect user from radius

2012-01-04 Thread Alexandre Chapellon
I tried to setup exactly the same things a while ago using the radiusplugin for openvpn. It just don't work! Looking at the code of the radiusplugin I could not find anything that handle Sessiontimeout attribute (I didn't tried with Acc-Session-Timeout but didn't see anything either). Even if

Re: freeradius+openvpn disconnect user from radius

2012-01-04 Thread Azfar Hashmi
Hi Alexandre, Thanks for sharing your experience. On 1/4/2012 4:02 PM, Alexandre Chapellon wrote: I tried to setup exactly the same things a while ago using the radiusplugin for openvpn. It just don't work! Looking at the code of the radiusplugin I could not find anything that handle

Re: freeradius+openvpn disconnect user from radius

2012-01-04 Thread Azfar Hashmi
One more related question. I have to test this with pptp and lt2p also, do they support it? On 1/4/2012 4:14 PM, Azfar Hashmi wrote: Hi Alexandre, Thanks for sharing your experience. On 1/4/2012 4:02 PM, Alexandre Chapellon wrote: I tried to setup exactly the same things a while ago using

Re: freeradius+openvpn disconnect user from radius

2012-01-04 Thread Alexandre Chapellon
pptp does it very well (at least poptop does). Never tried with L2TP itself but I know ppp sessions inside L2TP tunnels works as expected... but that inly pppd works ok with session-timeout. Regards. Le 04/01/2012 12:19, Azfar Hashmi a écrit : One more related question. I have to test this

Re: freeradius+openvpn disconnect user from radius

2012-01-04 Thread Azfar Hashmi
I am gonna try it now. On 1/4/2012 5:49 PM, Alexandre Chapellon wrote: pptp does it very well (at least poptop does). Never tried with L2TP itself but I know ppp sessions inside L2TP tunnels works as expected... but that inly pppd works ok with session-timeout. Regards. Le 04/01/2012

Disconnect user to turn off windows

2010-07-26 Thread jorge88
Good afternoon, Someone could help me? When a user need to turn off the computer, you are automatically disconnect the session. Is this possible? Thank you very much Regards Jorge -- View this message in context: http://old.nabble.com/Disconnect-user-to-turn-off-windows

Re: Disconnect user to turn off windows

2010-07-26 Thread Alan DeKok
jorge88 wrote: When a user need to turn off the computer, you are automatically disconnect the session. Is this possible? It's up to the NAS to send an Accounting Stop when the computer is no longer connected to the network. Alan DeKok. - List info/subscribe/unsubscribe? See

Re: Disconnect user to turn off windows

2010-07-26 Thread jorge88
://old.nabble.com/Disconnect-user-to-turn-off-windows-tp29266422p29266867.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Disconnect user to turn off windows

2010-07-26 Thread Alan DeKok
jorge88 wrote: What event and / or attribute to the NAS should send a disconnection? This is layer2 (ethernet). It could automatically detect when you turn off the computer? It can detect when the ethernet link layer goes away. The NAS I use is coovachilli Well.. ask them if they

Re: Disconnect user to turn off windows

2010-07-26 Thread jorge88
/users.html -- View this message in context: http://old.nabble.com/Disconnect-user-to-turn-off-windows-tp29266422p29267171.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Disconnect user to turn off windows

2010-07-26 Thread Alan DeKok
jorge88 wrote: Yeah, well, is that I'd rather do it with the radius. Could you use an attribute to be turned off at 50 seconds of inactivity? See Idle-Timeout. If that doesn't do what you want, then what you want is impossible to do in RADIUS. Alan DeKok. - List

Re: Disconnect user in radius

2007-02-01 Thread satish patel
. Dennis Skinner wrote: satish patel wrote: I have useing freeradius with microsoft mssql now my question is how do i disconnect user from freeradius means example:- user xyz is online and i want to disconnect user from radius so what is the option for this task ?? is there any

Re: Disconnect user in radius

2007-02-01 Thread Peter Nixon
On Wed 31 Jan 2007 13:48, satish patel wrote: Dear ALL I have useing freeradius with microsoft mssql now my question is how do i disconnect user from freeradius means example:- user xyz is online and i want to disconnect user from radius so what is the option for this task

Disconnect user in radius

2007-01-31 Thread satish patel
Dear ALL I have useing freeradius with microsoft mssql now my question is how do i disconnect user from freeradius means example:- user xyz is online and i want to disconnect user from radius so what is the option for this task ?? is there any script or any option to integrate

Re: Disconnect user in radius

2007-01-31 Thread Dennis Skinner
satish patel wrote: I have useing freeradius with microsoft mssql now my question is how do i disconnect user from freeradius means example:- user xyz is online and i want to disconnect user from radius so what is the option for this task ?? is there any script or any option

Re: Disconnect user in radius

2007-01-31 Thread Michael Lecuyer
: I have useing freeradius with microsoft mssql now my question is how do i disconnect user from freeradius means example:- user xyz is online and i want to disconnect user from radius so what is the option for this task ?? is there any script or any option to integrate with webpage of dialupadmin

Re: Disconnect user in radius

2007-01-31 Thread Dennis Skinner
Michael Lecuyer wrote: You can send a Disconnect-Message from the RADIUS server to the client to disconnect them if the NAS supports DM/COA. The DM will cause the NAS to drop the connection effectively disconnecting them from any services they were using. Yesin other words Check the

disconnect user and clear session

2007-01-18 Thread satish patel
Dear ALL I have usering freeradius version 1.1.4 with mysql it is working fine but i dont know how to kick off user during login time means i want to disconnect user from radius then how to do it and i also have one more problem of session i have disconnected user but whn i

Re: how to disconnect user after quota given to him finishes ?

2006-02-19 Thread Alan DeKok
Rupesh Amatya [EMAIL PROTECTED] wrote: As you have suggested to check rlm_counter, I looked and found two files /usr/lib/rlm_counter.so /usr/lib/rlm_counter-1.0.1.so But both the files are binary files. Perhaps you could try reading the documentation and sample configuration files.

Re: Re: how to disconnect user after quota given to him finishes ?

2006-02-18 Thread Rupesh Amatya
Dear Alan, As you have suggested to check rlm_counter, I looked and found two files /usr/lib/rlm_counter.so /usr/lib/rlm_counter-1.0.1.so But both the files are binary files. Can you give me a little more hint on how I can do that. I am trying to create packages like 2hrs/day,4hrs/day. I am

Re: Re: how to disconnect user after quota given to him finishes ?

2006-02-16 Thread Rupesh Amatya
. This for PPPOE users. I used Dialup Admin to manage freeradius. There is default package of 4hours/day but the users do not get disconnect after 4 hours. It just shows Out of Quota. What needs to be done to automatically disconnect user after the daily quota is finished

Re: Re: how to disconnect user after quota given to him finishes ?

2006-02-16 Thread bishal
to be done to automatically disconnect user after the daily quota is finished ? ** There a few session attrbutes you could use for this. Session-Timeout is the first one that springs to mind. I don't know if the client will pay attention to it though. - List

Re: how to disconnect user after quota given to him finishes ?

2006-02-16 Thread Alan DeKok
Rupesh Amatya [EMAIL PROTECTED] wrote: If I put 4hours in Session time and after using 3 hours , if he disconnects and then reconnects, he can again use 4 hours. Is there a way that he can no more log in after he uses 4 hours/day ? rlm_counter. Alan DeKok. - List

how to disconnect user after quota given to him finishes ?

2006-02-15 Thread Rupesh Amatya
to automatically disconnect user after the daily quota is finished ? Hope to get help . Thanking you Rupesh - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: how to disconnect user after quota given to him finishes ?

2006-02-15 Thread Lewis Bergman
. What needs to be done to automatically disconnect user after the daily quota is finished ? There a few session attrbutes you could use for this. Session-Timeout is the first one that springs to mind. I don't know if the client will pay attention to it though. -- Lewis Bergman Texas

disconnect user from terminal

2005-07-20 Thread yuniva wati
hello, I have a problem using freeradius. when one user connect to freeradius can we disconnect them if we want to do that. Can we use terminal on Linux to disconnect??? thank you__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam

Disconnect User

2004-03-04 Thread SPROUSE Troy F
Is there a command to send to disconnect a user if you are proxying requests through FreeRadius? Any help would be greatly appreciated? Troy