Help with adding attribute to accounting packet.
Hi All. I have searched the net looking for a solution to add the Framed-Route attribute to a proxied accounting packet. The attribute is sent in the standard auth packet but I to have it added to the accounting packets. The reason for this is that we have a traffic shaper that requires the framed-route attribute in order to correctly map the subscriber IP's in addition to the Framed-IP Address. Can someone please assist. I am guessing it will not be added in proxy.conf but here is the file anyway. proxy server { default_fallback = no } home_server localhost { type = auth ipaddr = 127.0.0.1 port = 1812 secret = ********* require_message_authenticator = yes response_window = 20 zombie_period = 40 revive_interval = 120 status_check = status-server check_interval = 30 num_answers_to_alive = 3 max_outstanding = 65536 coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm $$$$$.net { type = radius accthost = xxx.68.160.yyy:1813 secret = ************ nostrip }
On May 29, 2018, at 1:44 PM, Leon Botes <leon.botes1@gmail.com> wrote:
I have searched the net looking for a solution to add the Framed-Route attribute to a proxied accounting packet.
Add it in the "pre-proxy" section.
The attribute is sent in the standard auth packet but I to have it added to the accounting packets.
This is what a database is for. FreeRADIUS uses databases, but isn't a database. When the Access-Request comes in, write the Framed-Route to a DB. Then for the accounting packet, read it from the DB.
I am guessing it will not be added in proxy.conf but here is the file anyway.
We already know what's in that file. The comments in that file document what it does. Nothing in those comments mentions editing attributes. PLEASE don't post configuration files to the list. They're entirely useless. Alan DeKok.
participants (2)
-
Alan DeKok -
Leon Botes