Hi,
Thank you all for your help. I added two more listen blocks in radiusd.conf and I updated detail { ... with the following: %{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}} and it works but ..... (there's always a but). if we use an IPv6 address, then Packet-Src-APv6-Address value will be, for instance, 0:0:0:0:0:0:0:0, and the path becomes :
${radacctdir}/0:0:0:0:0:0:0:0/detail-%Y%m%d.log
but FR crashes since it cannot create a folder with that name. Is there any way of overcoming this issue? replace : with . or so???
well, you asked how it could be done..you didnt say you were trying this on Windows! whats the next surprise? I would do something like use PERL to make %{Packet-Src-IPv6-Address} become sanitized..... eg assign %{Tmp-String-0} and use SED to swap : with - this means no single source code line change and easily adaptable to whatever else you might come across.... then use simly use %{Tmp-String-0} in your detail module config.... alan