Re: PopToP VPN + FreeRadius
Find out in documentation if PopTop supports Session-Timeout radius attribute. Or simply send it and see if the user gets disconnected after set time. If it does then counters/sqlcounters will work. pppd (it's radius plugin) supports Session-Timeout (and Session-Octets-Limit) so if PopTop uses pppd to establish and authorize the ppp session (and I see no reason not to) .. it will support that. -- damjan | дамјан This is my jabber ID -- [EMAIL PROTECTED] -- not my mail address, it's a Jabber ID --^ :) - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
PopToP VPN + FreeRadius
Hello, I am running a PopTop server with FreeRadius for authentification. I have configured FreeRadius to use Oracle and I can successfully authenticate the users that connect to the VPN. My questions is how can I after a certain-period of time or after a certain condition is true (for example a value in the db in a table reaches 0) to disconnect a certain user ? Reading the documentation from the site I understood that the NAS server is responsable with this. How can i then do this using PopTop FreeRadius ? Any help or hint is appreciated ! Thank You - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: PopToP VPN + FreeRadius
Find out in documentation if PopTop supports Session-Timeout radius attribute. Or simply send it and see if the user gets disconnected after set time. If it does then counters/sqlcounters will work. Ivan Kalik Kalik Informatika ISP Dana 30/5/2008, Victor Asavei [EMAIL PROTECTED] piše: Hello, I am running a PopTop server with FreeRadius for authentification. I have configured FreeRadius to use Oracle and I can successfully authenticate the users that connect to the VPN. My questions is how can I after a certain-period of time or after a certain condition is true (for example a value in the db in a table reaches 0) to disconnect a certain user ? Reading the documentation from the site I understood that the NAS server is responsable with this. How can i then do this using PopTop FreeRadius ? Any help or hint is appreciated ! Thank You - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: PopToP VPN + FreeRadius
Victor Asavei wrote: Hello, I am running a PopTop server with FreeRadius for authentification. I have configured FreeRadius to use Oracle and I can successfully authenticate the users that connect to the VPN. My questions is how can I after a certain-period of time or after a certain condition is true (for example a value in the db in a table reaches 0) to disconnect a certain user ? Reading the documentation from the site I understood that the NAS server is responsable with this. How can i then do this using PopTop FreeRadius ? Any help or hint is appreciated ! In fact, the easiest way - to run external script via cron (or oracle sheduler) and do all job (i.e. ssh my_pptp_box kill `cat /var/run/ppp$1.pid`). For now, neither freeradius and radiusclient supports CoA and DM messages :-( -- With best regards, Evgeniy Kozhuhovskiy, Leader of Services team, Minsk State Phony Network, RUE Beltelecom. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: PopToP VPN + FreeRadius
Thank you for your reply, I was thinking about something similar but I thought there is another way and I couldn't find it in the docs :( As I see it the only thing with this kind of approach needed to make it work is to see which user is associated with which ppp connection (pppX). Victor Evgeniy Kozhuhovskiy [EMAIL PROTECTED] wrote: Victor Asavei wrote: Hello, I am running a PopTop server with FreeRadius for authentification. I have configured FreeRadius to use Oracle and I can successfully authenticate the users that connect to the VPN. My questions is how can I after a certain-period of time or after a certain condition is true (for example a value in the db in a table reaches 0) to disconnect a certain user ? Reading the documentation from the site I understood that the NAS server is responsable with this. How can i then do this using PopTop FreeRadius ? Any help or hint is appreciated ! In fact, the easiest way - to run external script via cron (or oracle sheduler) and do all job (i.e. ssh my_pptp_box kill `cat /var/run/ppp$1.pid`). For now, neither freeradius and radiusclient supports CoA and DM messages :-( -- With best regards, Evgeniy Kozhuhovskiy, Leader of Services team, Minsk State Phony Network, RUE Beltelecom. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: PopToP VPN + FreeRadius
Ok , I will do that. Just a question about Session-Timeout : if I modify the Session-Timeout for an user when it is connected , it will work dynamically ? To be clear : user connects and has a Session-Timeout of 1 hour ; after 30 mins the Session-Timeout is modified to 2 hours : the user will be disconnected after the 2 hours or after the initial Session-Timeout of 1 hour ? Thanks, Victor Ivan Kalik [EMAIL PROTECTED] wrote: Find out in documentation if PopTop supports Session-Timeout radius attribute. Or simply send it and see if the user gets disconnected after set time. If it does then counters/sqlcounters will work. Ivan Kalik Kalik Informatika ISP Dana 30/5/2008, Victor Asavei pi¹e: Hello, I am running a PopTop server with FreeRadius for authentification. I have configured FreeRadius to use Oracle and I can successfully authenticate the users that connect to the VPN. My questions is how can I after a certain-period of time or after a certain condition is true (for example a value in the db in a table reaches 0) to disconnect a certain user ? Reading the documentation from the site I understood that the NAS server is responsable with this. How can i then do this using PopTop FreeRadius ? Any help or hint is appreciated ! Thank You - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: PopToP VPN + FreeRadius
Just a question about Session-Timeout : if I modify the Session-Timeout for an user when it is connected , it will work dynamically ? No. If PopTop does support CoA you can use radclient to send such a request with a new Session-Timeout value. Ivan Kalik Kalik Informatika ISP - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html