Hey,
I've created a RADIUS accounting script this weekend. It is based on syslog and works with PHP scripts (because I like that and I cannot C++, thats why). It is not for the faint hearted and not aimed for production systems.
https://github.com/kosztyua/softether-radacct
Enjoy.