proxy accounting in cvs

Joe Maimon jmaimon at ttec.com
Wed Sep 28 13:28:08 CEST 2005



Joe Maimon wrote:

> appears to not set the src_ipaddr, even though server is bound to single 
> ip on multiple IP'd host machine.
> 
> Therefore all accounting servers marked dead.
> 
> Proxy auth appears to work.
> 
> Joe
> - List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/devel.html
> 
> 
And this little hack into proxy.c:487 fixes accounting....

/* Hack in src_ipaddr */
         if(!request->proxy->src_ipaddr.af)
                 memcpy(&request->proxy->src_ipaddr, 
&request->packet->dst_ipaddr, sizeof(request->proxy->src_ipaddr));

which truly stinks and something better should be done, such as take the 
first address bound to, accept a src_ip/interface argument in 
proxy.conf.......



More information about the Freeradius-Devel mailing list