我正在使用freeradius2,我想从一个radius属性中提取数据,这是在会计请求上发送的。
您能告诉我在记帐部分需要哪些参数,以便我可以执行脚本并提取radius标头吗?
accounting {
acct_unique
detail
#update request {
#execute script here
}
sql_accounting
attr_filter.accounting_response
}发布于 2013-10-01 04:37:41
update request {
Tmp-String-0 := `/my/script "%{hex:Attribute}"`
}然后,您的脚本可以解析传递的十六进制数,并返回格式正确的属性。
https://stackoverflow.com/questions/15811750
复制相似问题