Using SQL instead of radutmp - WAS Re: Problems with radutmp

2009-10-12 Thread Craig Campbell
From: "Gerardo Contreras" To: "Craig Campbell" Sent: Friday, October 09, 2009 6:21 PM Subject: Re: Problems with radutmp > > Hi. > > I think I have a very similar scenario to yours. > > I have this NAS server which sends the same NAS port to the radius

Re: Problems with radutmp

2009-10-09 Thread Gerardo Contreras
https://lists.freeradius.org/pipermail/freeradius-users/2009-September/msg00809.html Oh! I see... thanks. Alan DeKok wrote: Gerardo Contreras wrote: I've been watching the log records from users sessions, and I noted that every access from the NAS comes from the same NAS-Port. C

Re: Problems with radutmp

2009-10-09 Thread Alan DeKok
Gerardo Contreras wrote: > > I've been watching the log records from users sessions, and I noted that > every access from the NAS comes from the same NAS-Port. Could it be the > reason? Yes. > If so, is there any way so radutmp registers all of the entries > even if the nas port is the same?

Re: Problems with radutmp

2009-10-09 Thread Craig Campbell
What is the NAS-Port value? I don't THINK radutmp can handle multiple sessions sharing a port. -craig - Original Message - From: "Gerardo Contreras" To: Sent: Friday, October 09, 2009 1:00 PM Subject: Problems with radutmp Hi. I'm having some problems with

Re: Problems with radutmp

2009-10-09 Thread Gerardo Contreras
x27;ve run tcpdump on the system and the radius server is NOT receiving any STOP accounting package from the NAS. Gerardo Contreras wrote: Hi. I'm having some problems with radutmp. I'm using an Aruba Mobility Controller which has radauth and radacct configured to this freeradius server.

Re: Problems with radutmp

2009-10-09 Thread Gerardo Contreras
. I've run tcpdump on the system and the radius server is NOT receiving any STOP accounting package from the NAS. Gerardo Contreras wrote: Hi. I'm having some problems with radutmp. I'm using an Aruba Mobility Controller which has radauth and radacct configured to this freera

Problems with radutmp

2009-10-09 Thread Gerardo Contreras
Hi. I'm having some problems with radutmp. I'm using an Aruba Mobility Controller which has radauth and radacct configured to this freeradius server. In fact, I've tried with freeradius both on centOS and ubuntu with same results. When a user logs in, a corresponding en

Re: problems with radutmp

2004-12-28 Thread Luiz Gustavo Anflor Pereira
Hello, Thank you very much. In radzap.c, the main routine calls the read_mainconfig, and this routine exits the program if the port 1812 is not free. I copied this routine to a new one, called read_mainconfig_zap, and it does not exit the program, so the radzap now zaps the user... But i have

Re: problems with radutmp

2004-12-24 Thread Alan DeKok
"Luiz Gustavo Anflor Pereira" <[EMAIL PROTECTED]> wrote: > Are radzap and the radiusd server on the same machine? I have this > situation, and it looks like they are cconcurring for the same port > (1812). Is that correct? It's a bug in radzap. radzap shouldn't read "radiusd.conf", but should g

Re: problems with radutmp

2004-12-24 Thread Luiz Gustavo Anflor Pereira
Ok. I dont want to ask too much, but i am new on freeradius :-) Are radzap and the radiusd server on the same machine? I have this situation, and it looks like they are cconcurring for the same port (1812). Is that correct? Thanks again. Merry Christmas!! > On Fri, Dec 24, 2004 at 09:39:58AM

Re: problems with radutmp

2004-12-24 Thread Paul Hampson
On Fri, Dec 24, 2004 at 09:39:58AM -0200, Luiz Gustavo Anflor Pereira wrote: > I am using freeradius 1.0.1. > Let me try to understand. If a client loses its connection, we can use radzap > to > comunicate with the NAS. Then it sends back a stop packet, and the login is > released. Is that correc

Re: problems with radutmp

2004-12-24 Thread Luiz Gustavo Anflor Pereira
Hi I am using freeradius 1.0.1. Let me try to understand. If a client loses its connection, we can use radzap to comunicate with the NAS. Then it sends back a stop packet, and the login is released. Is that correct? But due to session_id is too long, it is not working. To fix it, we can use the

Re: problems with radutmp

2004-12-21 Thread Alan DeKok
[EMAIL PROTECTED] (Paul Hampson) wrote: > I'm gonna take a stab in the dark, and guess that the records are not > being deleted because the Accounting Session ID you're getting is too > long for the session_id field in radutmp... See FreeRADIUS bug 62 at > http://bugs.freeradius.org/show_bug.cgi?id

Re: problems with radutmp

2004-12-20 Thread Paul Hampson
On Mon, Dec 20, 2004 at 02:19:11PM -0200, Luiz Gustavo Anflor Pereira wrote: > > hello all > > I have a problema concerning radutmp. > Here is the situation: > The command " radwho | grep 7969 " gives me the output: > rsf7969rsf7969 PPP >999 Fri 16:20 200.96.10 > If i use the o

problems with radutmp

2004-12-20 Thread Luiz Gustavo Anflor Pereira
hello all I have a problema concerning radutmp. Here is the situation: The command " radwho | grep 7969 " gives me the output: rsf7969rsf7969 PPP >999 Fri 16:20 200.96.10 If i use the option "-r", so "radwho -r | grep 7969", the output is: rsf7969,rsf7969,PPP,S-2145975988,Fri 1