To answer my own question, I found out that if I:

1) set with_cisco_vsa_hack = yes in radiusd.conf
2) add the attributes I want to have stripped from the AVPair fields to cisco.dictionary in /usr/local/share/freeradius, freeradius will create new attributes with these names.


----- Original Message ----- From: "Mikel Beck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 22, 2004 2:23 PM
Subject: Help with Cisco AVPair Attributes



I've got accounting data coming into my freeradius from a bunch of Cisco 1200AP Wireless access points. I'd like to log the data included in the Cisco-AVPair attributes.

I changed the 1200's to report their data to the freeradius as "non-standard". This helped somewhat, some of the attributes came in as "X-Ascend", but others are still listed as "Cisco-AVPair".

Here's an "start" packet example:

     Acct-Session-Id = "00000099"
       Called-Station-Id = "mac-address1"
       Calling-Station-Id = "mac-address2"
       Cisco-AVPair = "ssid=cisco-ssid"
       Cisco-AVPair = "nas-location=unspecified"
       X-Ascend-Connect-Progress = 10
       Cisco-AVPair = "connect-progress=Call Up"
       User-Name = "mac-address2"
       Acct-Status-Type = Start
       NAS-Port-Type = Wireless-802.11
       Cisco-NAS-Port = "330"
       NAS-Port = 330
       Service-Type = Framed-User
       NAS-IP-Address = nas-ip-address
       Acct-Delay-Time = 0
       Client-IP-Address = 192.168.3.242
       Acct-Unique-Session-Id = "sessionid"
       Timestamp = 1098456793

I'd like to log the data contained in the Cisco-AVPair fields. On the "stop" packet there are more fields than are shown here.

How do I go about doing this?

- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to