How to filter accountings based on the value of a VSA attribute

cris miyata cmiyata at lycos.com
Wed Nov 19 21:24:34 CET 2008


An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20081119/023d06d2/attachment.html>
-------------- next part --------------
Thanks a lot Alexandre! It worked perfectly!
Cheers, Cristina Miyata


---------[ Received Mail Content ]----------
Subject : Re: How to filter accountings based on the value of a VSA attribute
Date : Wed, 19 Nov 2008 09:31:08 -1000
>From : Alexandre Chapellon <alexandre.chapellon at mana.pf>
To : FreeRadius users mailing list <freeradius-users at lists.freeradius.org>

Having more details about your conf would help but anyway "unlang" can 
do this (man unlang). 

if (attribute == "value") { 
update control { 
Proxy-To-Realm := "realm" 
} 
} 

P.S: this cannot be done in proxy.conf file..... 

Le 19.11.2008 08:55, cris miyata a écrit : 
> Dear FreeRADIUS users, 
> 
> 
> 
> We configured FreeRADIUS to send accounting to 2 different servers, but for one of them I want to send only the accountings that have a VSA attribute equal to a give value. 
> 
> 
> 
> Does anyone know how to do this configuration? 
> 
> 
> 
> Thanks in advance. 
> 
> 
> 
> Regards, 
> 
> 
> Cristina Miyata 
> 
> 
> ------------------------------------------------------------------------ 
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html 


More information about the Freeradius-Users mailing list