All, I've set up FR2 to log acct data to mysql and that appears to be working. I'm curious about how to enable the logging of specific attributes that are being sent by the NAS. Specifically: rad_recv: Accounting-Request packet from host x.x.x.120 port 51637, id=50, length=95 Acct-Status-Type = Interim-Update Acct-Session-Id = "C2594B9A71DB" Acct-Delay-Time = 0 User-Name = "joe.bobuser" NAS-Identifier = "M20" Juniper-Interactive-Command = "run start shell " NAS-IP-Address = x.x.x.120 +- entering group preacct {...} As you can see in the Accounting-Request packet above There is a NAS-Identifier and a Juniper-Interactive-Command entry. Those attributes are not being logged (nor do I think I'd want them) in my radacct file. Is there a way to have radius automatically populate an accountingactivity table (history file if you will)? Or this there a manual way say in postauth to send those attributes to a mysql table via script when an Accounting-Request packet is received. The above attributes are being sent and are logged in my detail-`date` log file in /var/log/radius/radacct/IP_OF_NAS directory. Thanks, N
Hello all, we are trying to install Radius Manager from DmaSoftlab. We need to install Freeradius and we gt problems with the "make" We get this errors: ********************************************************************* modcall.lo radiusd.lo stats.lo session.lo threads.lo util.lo valuepair.lo version.lo xlat.lo event.lo realms.lo evaluate.lo vmps.lo detail.lo \ /root/work/freeradius-server-2.1.8/src/lib/libfreeradius-radius.la -lnsl -lresolv -lpthread \ -lcrypt -lltdl -lcrypto -lssl -lcrypto rm -f .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT creating .libs/radiusdS.c (cd .libs && gcc -g -O2 -c -fno-builtin "radiusdS.c") rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT gcc .libs/radiusdS.o -o .libs/radiusd .libs/acct.o .libs/auth.o .libs/client.o .libs/conffile.o .libs/crypt.o .libs/exec.o .libs/files.o .libs/listen.o .libs/log.o .libs/mainconfig.o .libs/modules.o .libs/modcall.o .libs/radiusd.o .libs/stats.o .libs/session.o .libs/threads.o .libs/util.o .libs/valuepair.o .libs/version.o .libs/xlat.o .libs/event.o .libs/realms.o .libs/evaluate.o .libs/vmps.o .libs/detail.o -Wl,--export-dynamic /root/work/freeradius-server-2.1.8/src/lib/.libs/libfreeradius-radius.so -lnsl -lresolv -lpthread -lcrypt /usr/lib/libltdl.so -lssl -lcrypto -ldl .libs/modules.o: In function `setup_modules': /root/work/freeradius-server-2.1.8/src/main/modules.c:1358: undefined reference to `lt__PROGRAM__LTX_preloaded_symbols' collect2: ld returned 1 exit status make[4]: *** [radiusd] Error 1 make[4]: se sale del directorio `/root/work/freeradius-server-2.1.8/src/main' make[3]: *** [common] Error 2 make[3]: se sale del directorio `/root/work/freeradius-server-2.1.8/src' make[2]: *** [all] Error 2 make[2]: se sale del directorio `/root/work/freeradius-server-2.1.8/src' make[1]: *** [common] Error 2 make[1]: se sale del directorio `/root/work/freeradius-server-2.1.8' make: *** [all] Error 2 ********************************************************************* SO: Ubuntu Server 10.0.4 Lucid Lynxs We tryed the sources from dmasoftlab (2.1.8 modified) and the sources of freeradius.org (2.1.9) with the 2 sources we get the same error. What we have to install or fix? Thanks, Martín Ruiz Ibersystems Solutions, SL Dpto. Redes Inalámbricas Tel. 902 430 367 669 37 95 21 Fax 93 758 63 01 http://www.ibersystems.es [http://www.ibersystems.es/] martinruiz@ibersystems.es [mailto:martinruiz@ibersystems.es] Estemensaje puede contener información confidencial y/o privilegiada. Siusted no es el destinatario o una persona expresamente autorizada pararecibir este envío no debe utilizar, copiar, reenviar, distribuir, o engeneral disponer de ninguna forma de la información incluida. Sihubiera recibido este mensaje por error, sírvase informar al emisormediante una respuesta inmediata y bórrelo, por favor. Muchas gracias. PAntes de imprimir este e-mail, piensa en si es realmente necesario: El Medio Ambiente es responsabilidad de todos -----Original Message----- From: Natr Brazell <natrbrazell@gmail.com> To: freeradius-users@lists.freeradius.org Date: Wed, 9 Jun 2010 06:42:13 -0400 Subject: FreeRadius MYSQL tables All, I've set up FR2 to log acct data to mysql and that appears to be working. I'm curious about how to enable the logging of specific attributes that are being sent by the NAS. Specifically: rad_recv: Accounting-Request packet from host x.x.x.120 port 51637, id=50, length=95 Acct-Status-Type = Interim-Update Acct-Session-Id = "C2594B9A71DB" Acct-Delay-Time = 0 User-Name = "joe.bobuser" NAS-Identifier = "M20" Juniper-Interactive-Command = "run start shell " NAS-IP-Address = x.x.x.120 +- entering group preacct {...} As you can see in the Accounting-Request packet above There is a NAS-Identifier and a Juniper-Interactive-Command entry. Those attributes are not being logged (nor do I think I'd want them) in my radacct file. Is there a way to have radius automatically populate an accountingactivity table (history file if you will)? Or this there a manual way say in postauth to send those attributes to a mysql table via script when an Accounting-Request packet is received. The above attributes are being sent and are logged in my detail-`date` log file in /var/log/radius/radacct/IP_OF_NAS directory. Thanks, N
<quote> Update CFLAGS to add -DIE_LIBTOOL_DIE </quote> (Alan DeKok 2010-03-26 Thread "FreeRADIUS 2.1.7 and 2.1.8 fail to build") Have a nice day! Am 09.06.2010 um 13:32 schrieb Martín @ Ibersystems:
Hello all,
we are trying to install Radius Manager from DmaSoftlab. We need to install Freeradius and we gt problems with the "make" We get this errors:
********************************************************************* modcall.lo radiusd.lo stats.lo session.lo threads.lo util.lo valuepair.lo version.lo xlat.lo event.lo realms.lo evaluate.lo vmps.lo detail.lo \ /root/work/freeradius-server-2.1.8/src/lib/ libfreeradius-radius.la -lnsl -lresolv -lpthread \ -lcrypt -lltdl -lcrypto -lssl -lcrypto rm -f .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT creating .libs/radiusdS.c (cd .libs && gcc -g -O2 -c -fno-builtin "radiusdS.c") rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/ radiusd.nmT gcc .libs/radiusdS.o -o .libs/radiusd .libs/acct.o .libs/ auth.o .libs/client.o .libs/conffile.o .libs/crypt.o .libs/ exec.o .libs/files.o .libs/listen.o .libs/log.o .libs/ mainconfig.o .libs/modules.o .libs/modcall.o .libs/radiusd.o .libs/ stats.o .libs/session.o .libs/threads.o .libs/util.o .libs/ valuepair.o .libs/version.o .libs/xlat.o .libs/event.o .libs/ realms.o .libs/evaluate.o .libs/vmps.o .libs/detail.o -Wl,--export- dynamic /root/work/freeradius-server-2.1.8/src/lib/.libs/ libfreeradius-radius.so -lnsl -lresolv -lpthread -lcrypt /usr/lib/ libltdl.so -lssl -lcrypto -ldl .libs/modules.o: In function `setup_modules': /root/work/freeradius-server-2.1.8/src/main/modules.c:1358: undefined reference to `lt__PROGRAM__LTX_preloaded_symbols' collect2: ld returned 1 exit status make[4]: *** [radiusd] Error 1 make[4]: se sale del directorio `/root/work/freeradius-server-2.1.8/ src/main' make[3]: *** [common] Error 2 make[3]: se sale del directorio `/root/work/freeradius-server-2.1.8/ src' make[2]: *** [all] Error 2 make[2]: se sale del directorio `/root/work/freeradius-server-2.1.8/ src' make[1]: *** [common] Error 2 make[1]: se sale del directorio `/root/work/freeradius-server-2.1.8' make: *** [all] Error 2 *********************************************************************
SO: Ubuntu Server 10.0.4 Lucid Lynxs
We tryed the sources from dmasoftlab (2.1.8 modified) and the sources of freeradius.org (2.1.9) with the 2 sources we get the same error.
What we have to install or fix?
Thanks,
Martín Ruiz
Ibersystems Solutions, SL
Dpto. Redes Inalámbricas
Tel. 902 430 367 669 37 95 21
Fax 93 758 63 01
http://www.ibersystems.es martinruiz@ibersystems.es
Estemensaje puede contener información confidencial y/o privilegiada. Siusted no es el destinatario o una persona expresamente autorizada pararecibir este envío no debe utilizar, copiar, reenviar, distribuir, o engeneral disponer de ninguna forma de la información incluida. Sihubiera recibido este mensaje por error, sírvase informar al emisormediante una respuesta inmediata y bórrelo, por favor. Muchas gracias. P Antes de imprimir este e-mail, piensa en si es realmente necesario: El Medio Ambiente es responsabilidad de todos
-----Original Message----- From: Natr Brazell <natrbrazell@gmail.com> To: freeradius-users@lists.freeradius.org Date: Wed, 9 Jun 2010 06:42:13 -0400 Subject: FreeRadius MYSQL tables
All,
I've set up FR2 to log acct data to mysql and that appears to be working. I'm curious about how to enable the logging of specific attributes that are being sent by the NAS. Specifically:
rad_recv: Accounting-Request packet from host x.x.x.120 port 51637, id=50, length=95 Acct-Status-Type = Interim-Update Acct-Session-Id = "C2594B9A71DB" Acct-Delay-Time = 0 User-Name = "joe.bobuser" NAS-Identifier = "M20" Juniper-Interactive-Command = "run start shell " NAS-IP-Address = x.x.x.120 +- entering group preacct {...}
As you can see in the Accounting-Request packet above There is a NAS- Identifier and a Juniper-Interactive-Command entry. Those attributes are not being logged (nor do I think I'd want them) in my radacct file. Is there a way to have radius automatically populate an accountingactivity table (history file if you will)? Or this there a manual way say in postauth to send those attributes to a mysql table via script when an Accounting-Request packet is received. The above attributes are being sent and are logged in my detail-`date` log file in /var/log/radius/radacct/IP_OF_NAS directory.
Thanks, N - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Nicolas Goutte extragroup GmbH - Karlsruhe Waldstr. 49 76133 Karlsruhe Germany Geschäftsführer: Lars Busch Registergericht: Amtsgericht Münster / HRB: 5624 Steuer Nr.: 337/5903/0421 / UstID: DE 204607841
On Wed, 2010-06-09 at 13:32 +0200, Martín @ Ibersystems wrote:
Hello all,
we are trying to install Radius Manager from DmaSoftlab. We need to install Freeradius and we gt problems with the "make"
We get this errors:
*********************************************************************
modcall.lo radiusd.lo stats.lo session.lo threads.lo util.lo valuepair.lo version.lo xlat.lo event.lo realms.lo evaluate.lo vmps.lo detail.lo \ /root/work/freeradius-server-2.1.8/src/lib/libfreeradius-radius.la -lnsl -lresolv -lpthread \ -lcrypt -lltdl -lcrypto -lssl -lcrypto rm -f .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT creating .libs/radiusdS.c (cd .libs && gcc -g -O2 -c -fno-builtin "radiusdS.c") rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT gcc .libs/radiusdS.o -o .libs/radiusd .libs/acct.o .libs/auth.o .libs/client.o .libs/conffile.o .libs/crypt.o .libs/exec.o .libs/files.o .libs/listen.o .libs/log.o .libs/mainconfig.o .libs/modules.o .libs/modcall.o .libs/radiusd.o .libs/stats.o .libs/session.o .libs/threads.o .libs/util.o .libs/valuepair.o .libs/version.o .libs/xlat.o .libs/event.o .libs/realms.o .libs/evaluate.o .libs/vmps.o .libs/detail.o -Wl,--export-dynamic /root/work/freeradius-server-2.1.8/src/lib/.libs/libfreeradius-radius.so -lnsl -lresolv -lpthread -lcrypt /usr/lib/libltdl.so -lssl -lcrypto -ldl .libs/modules.o: In function `setup_modules': /root/work/freeradius-server-2.1.8/src/main/modules.c:1358: undefined reference to `lt__PROGRAM__LTX_preloaded_symbols' collect2: ld returned 1 exit status make[4]: *** [radiusd] Error 1 make[4]: se sale del directorio `/root/work/freeradius-server-2.1.8/src/main' make[3]: *** [common] Error 2 make[3]: se sale del directorio `/root/work/freeradius-server-2.1.8/src' make[2]: *** [all] Error 2 make[2]: se sale del directorio `/root/work/freeradius-server-2.1.8/src' make[1]: *** [common] Error 2 make[1]: se sale del directorio `/root/work/freeradius-server-2.1.8' make: *** [all] Error 2 *********************************************************************
SO: Ubuntu Server 10.0.4 Lucid Lynxs
We tryed the sources from dmasoftlab (2.1.8 modified) and the sources of freeradius.org (2.1.9) with the 2 sources we get the same error.
What we have to install or fix?
Thanks,
I had exact problem in Archlinux , and I found this is because of libtool 2 for fix Instead of run ./configure I use ./configure --with-system-libtool That fix my problem, hope this help.
Hi, thanks for the answer, but we get the same error doing this. ; ( Martín Ruiz Ibersystems Solutions, SL Dpto. Redes Inalámbricas Tel. 902 430 367 669 37 95 21 Fax 93 758 63 01 http://www.ibersystems.es [http://www.ibersystems.es/] martinruiz@ibersystems.es [mailto:martinruiz@ibersystems.es] Estemensaje puede contener información confidencial y/o privilegiada. Siusted no es el destinatario o una persona expresamente autorizada pararecibir este envío no debe utilizar, copiar, reenviar, distribuir, o engeneral disponer de ninguna forma de la información incluida. Sihubiera recibido este mensaje por error, sírvase informar al emisormediante una respuesta inmediata y bórrelo, por favor. Muchas gracias. PAntes de imprimir este e-mail, piensa en si es realmente necesario: El Medio Ambiente es responsabilidad de todos -----Original Message----- From: f0rud <fzerorubigd@gmail.com> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Date: Wed, 09 Jun 2010 16:51:14 +0430 Subject: Re: Problem with "make" On Wed, 2010-06-09 at 13:32 +0200, Martín @ Ibersystems wrote:
Hello all,
we are trying to install Radius Manager from DmaSoftlab. We need to
install Freeradius and we gt problems with the "make"
We get this errors:
*********************************************************************
modcall.lo radiusd.lo stats.lo session.lo threads.lo util.lo
valuepair.lo version.lo xlat.lo event.lo realms.lo evaluate.lo vmps.lo
detail.lo \
/root/work/freeradius-server-2.1.8/src/lib/libfreeradius-radius.la -lnsl -lresolv -lpthread \
-lcrypt -lltdl -lcrypto -lssl -lcrypto
rm -f .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT
creating .libs/radiusdS.c
(cd .libs && gcc -g -O2 -c -fno-builtin "radiusdS.c")
rm
-f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT
gcc .libs/radiusdS.o
-o .libs/radiusd .libs/acct.o .libs/auth.o .libs/client.o .libs/conffile.o .libs/crypt.o .libs/exec.o .libs/files.o .libs/listen.o .libs/log.o .libs/mainconfig.o .libs/modules.o .libs/modcall.o .libs/radiusd.o .libs/stats.o .libs/session.o .libs/threads.o .libs/util.o .libs/valuepair.o .libs/version.o .libs/xlat.o .libs/event.o .libs/realms.o .libs/evaluate.o .libs/vmps.o .libs/detail.o -Wl,--export-dynamic /root/work/freeradius-server-2.1.8/src/lib/.libs/libfreeradius-radius.so -lnsl -lresolv -lpthread -lcrypt /usr/lib/libltdl.so -lssl -lcrypto -ldl
.libs/modules.o: In function `setup_modules':
/root/work/freeradius-server-2.1.8/src/main/modules.c:1358: undefined
reference to `lt__PROGRAM__LTX_preloaded_symbols'
collect2: ld returned 1 exit status
make[4]: *** [radiusd] Error 1
make[4]: se sale del directorio
`/root/work/freeradius-server-2.1.8/src/main'
make[3]: *** [common] Error 2
make[3]: se sale del directorio
`/root/work/freeradius-server-2.1.8/src'
make[2]: *** [all] Error 2
make[2]: se sale del directorio
`/root/work/freeradius-server-2.1.8/src'
make[1]: *** [common] Error 2
make[1]: se sale del directorio `/root/work/freeradius-server-2.1.8'
make: *** [all] Error 2
*********************************************************************
SO: Ubuntu Server 10.0.4 Lucid Lynxs
We tryed the sources from dmasoftlab (2.1.8 modified) and the sources
of freeradius.org (2.1.9) with the 2 sources we get the same error.
What we have to install or fix?
Thanks,
I had exact problem in Archlinux , and I found this is because of libtool 2 for fix Instead of run ./configure I use ./configure --with-system-libtool That fix my problem, hope this help. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html [http://www.freeradius.org/list/users.html]
On Wed, 2010-06-09 at 15:12 +0200, Martín @ Ibersystems wrote:
Hi,
thanks for the answer, but we get the same error doing this.
; (
Just do a clean before that make clean ./configure --with-system-libtool make all make install and another way : <quote> Update CFLAGS to add -DIE_LIBTOOL_DIE </quote> (Alan DeKok 2010-03-26 Thread "FreeRADIUS 2.1.7 and 2.1.8 fail to build") (from Nicolas Goutte post)
CFLAGS don't work Neither. We will try this make clean.. and if it doesn't work, we will use Ubuntu server 8.0.4. We always are using Debian, but we are unable to install the broadcom ethernet card in Debian. In Ubuntu server 10.0.4 we have the card but can't install FRadius. Let's see in 8.0.4.. xD Thanks, Martín Ruiz Ibersystems Solutions, SL Dpto. Redes Inalámbricas Tel. 902 430 367 669 37 95 21 Fax 93 758 63 01 http://www.ibersystems.es [http://www.ibersystems.es/] martinruiz@ibersystems.es [mailto:martinruiz@ibersystems.es] Estemensaje puede contener información confidencial y/o privilegiada. Siusted no es el destinatario o una persona expresamente autorizada pararecibir este envío no debe utilizar, copiar, reenviar, distribuir, o engeneral disponer de ninguna forma de la información incluida. Sihubiera recibido este mensaje por error, sírvase informar al emisormediante una respuesta inmediata y bórrelo, por favor. Muchas gracias. PAntes de imprimir este e-mail, piensa en si es realmente necesario: El Medio Ambiente es responsabilidad de todos -----Original Message----- From: f0rud <fzerorubigd@gmail.com> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Date: Wed, 09 Jun 2010 19:57:58 +0430 Subject: Re: Problem with "make" On Wed, 2010-06-09 at 15:12 +0200, Martín @ Ibersystems wrote:
Hi,
thanks for the answer, but we get the same error doing this.
; (
Just do a clean before that make clean ./configure --with-system-libtool make all make install and another way : <quote> Update CFLAGS to add -DIE_LIBTOOL_DIE </quote> (Alan DeKok 2010-03-26 Thread "FreeRADIUS 2.1.7 and 2.1.8 fail to build") (from Nicolas Goutte post) - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html [http://www.freeradius.org/list/users.html]
On Wed, 2010-06-09 at 17:43 +0200, Martín @ Ibersystems wrote:
CFLAGS don't work Neither. We will try this make clean.. and if it doesn't work, we will use Ubuntu server 8.0.4.
We always are using Debian, but we are unable to install the broadcom ethernet card in Debian. In Ubuntu server 10.0.4 we have the card but can't install FRadius. Let's see in 8.0.4.. xD
Thanks,
I use ubuntu 10.04 Lucid Lynx and it works fine (very simple and easy) But desktop edition.
I have just installed in Ubuntu Karmic Koala Server. It works great. Maybe u should use apt instead of compiling it from the source. Best On Wed, Jun 9, 2010 at 3:56 PM, f0rud <fzerorubigd@gmail.com> wrote:
On Wed, 2010-06-09 at 17:43 +0200, Martín @ Ibersystems wrote:
CFLAGS don't work Neither. We will try this make clean.. and if it doesn't work, we will use Ubuntu server 8.0.4.
We always are using Debian, but we are unable to install the broadcom ethernet card in Debian. In Ubuntu server 10.0.4 we have the card but can't install FRadius. Let's see in 8.0.4.. xD
Thanks,
I use ubuntu 10.04 Lucid Lynx and it works fine (very simple and easy) But desktop edition.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- ----------------------------------------------------------------- |JJohnny RANDRIAMAMPIONONA | | Phone: +212663682554 | | National School of Applied Sciences | | 1818 TANGIER 90000 | |----------------------------------------------------------------|
Tomorrow we'll try. Thanks, Martín Ruiz Director técnico 902430367 - 669379521 www.ibersystems.es Enviado desde mi iPhone El 09/06/2010, a las 22:21, Alan DeKok <aland@deployingradius.com> escribió:
Martín @ Ibersystems wrote:
CFLAGS don't work Neither. We will try this make clean.. and if it doesn't work, we will use Ubuntu server 8.0.4.
Edit Make.inc, and add the -DIE_LIBTOOL_DIE to CFLAGS. Then:
$ cd src/main $ make clean all
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Natr Brazell wrote:
I've set up FR2 to log acct data to mysql and that appears to be working. I'm curious about how to enable the logging of specific attributes that are being sent by the NAS. Specifically:
Edit the schema && queries.
As you can see in the Accounting-Request packet above There is a NAS-Identifier and a Juniper-Interactive-Command entry. Those attributes are not being logged (nor do I think I'd want them) in my radacct file. Is there a way to have radius automatically populate an accountingactivity table (history file if you will)?
Sure. Edit the configuration to make it do that. The queries are in a configuration file for a reason: they can be edited.
Or this there a manual way say in postauth to send those attributes to a mysql table via script when an Accounting-Request packet is received.
postauth is not used for Accounting-Request packets. Alan DeKok.
participants (7)
-
"Martín Ruiz at Ibersystems.es" -
Alan DeKok -
f0rud -
Johnny R -
Martín @ Ibersystems -
Natr Brazell -
Nicolas Goutte