Afternoon - We use Freeradius/MySQL with Cisco-AVPair entries to send radreplies and radgroupreplies that specify speeds and such with great success. However, we are having a bit of difficulty sorting out how to sort out Cisco-AVPair accounting entries so that we can insert them into the database. We have read through some list discussions about rewriting things, the cisco vsa hack, and ulang. But, in the end, we are still left needing some assistance, examples, or even a howto. We get two Cisco-AVPair accounting responses in each start record and five in each stop record. What is the best way to sort them out and get them inserted into the radacct table? Thanks! Bryan - bbc@misn.com
We use Freeradius/MySQL with Cisco-AVPair entries to send radreplies and radgroupreplies that specify speeds and such with great success. However, we are having a bit of difficulty sorting out how to sort out Cisco-AVPair accounting entries so that we can insert them into the database.
We have read through some list discussions about rewriting things, the cisco vsa hack, and ulang. But, in the end, we are still left needing some assistance, examples, or even a howto.
We get two Cisco-AVPair accounting responses in each start record and five in each stop record. What is the best way to sort them out and get them inserted into the radacct table?
man unlang. Read about variables. Ivan Kalik
From someone who has already suffered through it five years ago. And, for the benefit of those who come after me. 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 newattributes with these names. Now all that remains is figuring out the rewrite to stuff the odd Cisco-AVPair attribute values in pre-existing attributes that are already in the schema. - tnt@kalik.net wrote:
We use Freeradius/MySQL with Cisco-AVPair entries to send radreplies and radgroupreplies that specify speeds and such with great success. However, we are having a bit of difficulty sorting out how to sort out Cisco-AVPair accounting entries so that we can insert them into the database.
We have read through some list discussions about rewriting things, the cisco vsa hack, and ulang. But, in the end, we are still left needing some assistance, examples, or even a howto.
We get two Cisco-AVPair accounting responses in each start record and five in each stop record. What is the best way to sort them out and get them inserted into the radacct table?
man unlang. Read about variables.
Ivan Kalik
participants (2)
-
Bryan Campbell -
tnt@kalik.net