Managing connection on Freeradius
Hello all, I am quite new to freeradius and I am with a doubt. I have a PPPoE-Server that authenticate the users into my FreeRadius server. The problem is that if a client, by some reason, get lost of connection the freeradius mantain the log about that connection and, if the client try to connect again, it say that siomultaneos use is not allowed. So I have to delete radutmp and radwtmp, restart radius, and lost the track of connections. There is any tool to make it easier? Or some configuration that if there is no package coming from the cliente for 60 seconds it will disconect the client? Att, Nataniel Klug
Alan, I have readed the manual and tryed to use radzap before. All docs are very small and do not show how to use it, I tryed this: [root@ns2 ~]# radzap Usage: radzap [-d raddb] [-p acct_port] [-r servername|serverip] termserver [port] [user] Options: -d raddb Set the raddb directory (default is /etc/raddb) -p acct_port Accounting port on radius server -r radserver Radius server name or IP address termserver Terminal Server (NAS) name or IP address to match, can be '' for any [port] Terminal Server port to match [user] Login account to match [root@ns2 ~]# radzap -d /etc/raddb -p 1813 -r 127.0.0.1 '' nataniel Sun Feb 19 09:02:13 2006 : Info: Starting - reading configuration files ... [root@ns2 ~]# radwho Login Name What TTY When From Location pmlseng PPP S0 Sun 08:53 200.163.2 200.140.222.130 nataniel PPP S1 Sun 08:53 200.163.2 200.140.222.131 [root@ns2 ~]# But as you can see user "NATANIEL" is still conected when I use radwho. Att, Nataniel Klug ----- Original Message ----- From: "Alan DeKok" <aland@ox.org> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Saturday, February 18, 2006 12:14 PM Subject: Re: Managing connection on Freeradius
"Nataniel Klug" <nata@cnett.psi.br> wrote:
There is any tool to make it easier?
radzap.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Alan, I am using version freeradius-1.0.1-1. I will try to update this software. Att, Nataniel Klug ----- Original Message ----- From: "Alan DeKok" <aland@ox.org> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Sunday, February 19, 2006 3:06 PM Subject: Re: Managing connection on Freeradius
"Nataniel Klug" <nata@cnett.psi.br> wrote:
[root@ns2 ~]# radzap -d /etc/raddb -p 1813 -r 127.0.0.1 '' nataniel Sun Feb 19 09:02:13 2006 : Info: Starting - reading configuration files ...
Upgrade to 1.1.0. The version you're using doesn't work.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hello all,
I am quite new to freeradius and I am with a doubt. I have a PPPoE-Server that authenticate the users into my FreeRadius server. The problem is that if a client, by some reason, get lost of connection the freeradius mantain the log about that connection and, if the client try to connect again, it say that siomultaneos use is not allowed.
So I have to delete radutmp and radwtmp, restart radius, and lost the track of connections.
There is any tool to make it easier? Or some configuration that if there is no package coming from the cliente for 60 seconds it will disconect the client?
Read radzap help
participants (3)
-
Alan DeKok -
Igor Smitran -
Nataniel Klug