Hi, I have a working VMPS installation, radiusd -X shows me the relevant information ( MAC - VLAN assignments) but how do I log these information to a file or syslog? thanks Jens -- ------------------------------------------------------------------------- | Foelderichstr. 40 | 13595 Berlin, Germany | +49-151-18721264 | | http://blog.quux.de | jabber: jenslink@guug.de | ------------------- | -------------------------------------------------------------------------
Alan DeKok <aland@deployingradius.com> writes:
Jens Link wrote:
I have a working VMPS installation, radiusd -X shows me the relevant information ( MAC - VLAN assignments) but how do I log these information to a file or syslog?
rlm_linelog
Either I'm to tired or to stupid to get it up an running. Is there an example on how to use it? thanks Jens -- ------------------------------------------------------------------------- | Foelderichstr. 40 | 13595 Berlin, Germany | +49-151-18721264 | | http://blog.quux.de | jabber: jenslink@guug.de | ------------------- | -------------------------------------------------------------------------
Am Sonntag, 2. Mai 2010 12:22:57 schrieb Jens Link:
Alan DeKok <aland@deployingradius.com> writes:
Jens Link wrote:
I have a working VMPS installation, radiusd -X shows me the relevant information ( MAC - VLAN assignments) but how do I log these information to a file or syslog?
rlm_linelog
Either I'm to tired or to stupid to get it up an running. Is there an example on how to use it?
thanks
Jens
hi, I also got problems logging Access-Accept details through linelog. Is it possible at all? thanks. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch@multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42
Am Montag, 3. Mai 2010 13:29:24 schrieb Alan DeKok:
Michael Schwartzkopff wrote:
Am Sonntag, 2. Mai 2010 12:22:57 schrieb Jens Link: I also got problems logging Access-Accept details through linelog. Is it possible at all?
Yes... what's going wrong?
Strange. I added a line Access-Accept = "Accepted %{User-Name}" But I only see entries from the Access-Request part of the linelog module. Greetings, -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch@multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42
Am Montag, 3. Mai 2010 16:56:23 schrieb Alan DeKok:
Michael Schwartzkopff wrote:
Strange. I added a line Access-Accept = "Accepted %{User-Name}"
But I only see entries from the Access-Request part of the linelog module.
You have the "reference" line as "Packet-Type"? Change it to "reply:Packet-Type"
Alan DeKok.
Yes, this works. Thanks. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch@multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42
Jens Link wrote:
Alan DeKok <aland@deployingradius.com> writes:
Jens Link wrote:
I have a working VMPS installation, radiusd -X shows me the relevant information ( MAC - VLAN assignments) but how do I log these information to a file or syslog? rlm_linelog
Either I'm to tired or to stupid to get it up an running. Is there an example on how to use it?
What part is missing? The VMPS data is just attributes. If you can see them in the debug output, you can configure them to be logged in rlm_linelog. Alan DeKok.
Alan DeKok <aland@deployingradius.com> writes:
What part is missing?
I don't know. I just can't get it to log anything. I put linelog { filename = /var/log/vmps.log format = "VMPS: %{VMPS-Mac} - %{VMPS-VLAN-Name}" } into the the vpms server configuration and it dosen't work. Any ideas? Jens -- ------------------------------------------------------------------------- | Foelderichstr. 40 | 13595 Berlin, Germany | +49-151-18721264 | | http://blog.quux.de | jabber: jenslink@guug.de | ------------------- | -------------------------------------------------------------------------
Hi,
Alan DeKok <aland@deployingradius.com> writes:
What part is missing?
I don't know. I just can't get it to log anything.
I put
linelog { filename = /var/log/vmps.log format = "VMPS: %{VMPS-Mac} - %{VMPS-VLAN-Name}" }
into the the vpms server configuration and it dosen't work.
Any ideas?
radiusd -X alan
Alan Buxey <A.L.M.Buxey@lboro.ac.uk> writes:
I don't know. I just can't get it to log anything.
I put
linelog { filename = /var/log/vmps.log format = "VMPS: %{VMPS-Mac} - %{VMPS-VLAN-Name}" }
into the the vpms server configuration and it dosen't work.
Any ideas?
radiusd -X
Works fine. But it's not writing any data to the logfile. cheers, Jens -- ------------------------------------------------------------------------- | Foelderichstr. 40 | 13595 Berlin, Germany | +49-151-18721264 | | http://blog.quux.de | jabber: jenslink@guug.de | ------------------- | -------------------------------------------------------------------------
Le 07/05/2010 02:05, Jens Link a écrit :
Alan Buxey <A.L.M.Buxey@lboro.ac.uk> writes:
I don't know. I just can't get it to log anything.
I put
linelog { filename = /var/log/vmps.log format = "VMPS: %{VMPS-Mac} - %{VMPS-VLAN-Name}" }
into the the vpms server configuration and it dosen't work.
Any ideas?
radiusd -X
Works fine. But it's not writing any data to the logfile.
Extract of radius.conf => # The command-line option "-X" over-rides this option, and forces # logging to go to stdout. The debug mode doesn't write any data to logfile. Best regards. -- Lycée polyvalent Alfred Nobel, Clichy sous Bois http://www.lyceenobel.org
Jens Link <lists@quux.de> writes:
Hi,
I have a working VMPS installation, radiusd -X shows me the relevant information ( MAC - VLAN assignments) but how do I log these information to a file or syslog?
When I'm using post-auth { reply_log } inside the VMPS config, something[1] gets logged, but VMPS doesn't work properly. I've attached the complete config for the VMPS server. Any ideas? Jens [1] ----- snip log ----- Mon May 3 09:15:24 2010 Packet-Type = 0 Mon May 3 09:15:31 2010 Packet-Type = 0 Mon May 3 09:15:44 2010 Packet-Type = 0 Mon May 3 09:15:49 2010 Packet-Type = 0 ----- /snip log ----- -- ------------------------------------------------------------------------- | Foelderichstr. 40 | 13595 Berlin, Germany | +49-151-18721264 | | http://blog.quux.de | jabber: jenslink@guug.de | ------------------- | -------------------------------------------------------------------------
Jens Link <lists@quux.de> writes:
I have a working VMPS installation, radiusd -X shows me the relevant information ( MAC - VLAN assignments) but how do I log these information to a file or syslog?
Here is an example of a working config using linelog: /usr/local/etc/raddb/modules/linelog: linelog { filename = syslog reference = reply:VMPS-Join-Response format = "%{VPMS-MAC} %{VMPS-VLAN-Name}" reply:VMPS-Join-Response = "%{VMPS-MAC} - VLAN: %{VMPS-VLAN-Name}" } Linelog has to be called from the vmps server. cheers Jens -- ------------------------------------------------------------------------- | Foelderichstr. 40 | 13595 Berlin, Germany | +49-151-18721264 | | http://blog.quux.de | jabber: jenslink@guug.de | ------------------- | -------------------------------------------------------------------------
participants (5)
-
Alan Buxey -
Alan DeKok -
Jens Link -
Michael Schwartzkopff -
Philippe Schwarz