FR3.0.12 and detail listener with Access-Requests
I'm looking to do some offloading of processing using the detail file writer. When I write a Access-Request packet using the detail module then attempt to use a new virtual server / site to pick up the detail file and then process it. Accounting packets are processed fine with the detail, but if I log an Access-Request then it never gets processed. server update { # Read accounting packets from the detail file(s) for # the home server. # listen { type = detail filename = "${radacctdir}/detail.update/detail-*:*" load_factor = 10 } authorize { ok ... But the authorize section never gets touched. detail (/log/radius/radacct/detail.update/detail-*:*): Polling for detail file detail (/log/radius/radacct/detail.update/detail-*:*): Renaming /log/radius/radacct/detail.update/detail-20170126:16:29 -> /log/radius/radacct/detail.update/detail.work detail (/log/radius/radacct/detail.update/detail-*:*): Read packet from /log/radius/radacct/detail.update/detail.work Packet-Type = Access-Request ENV = "DEV" .... Waking up in 4.5 seconds. detail (/log/radius/radacct/detail.update/detail-*:*): Unlinking /log/radius/radacct/detail.update/detail.work detail (/log/radius/radacct/detail.update/detail-*:*): Polling for detail file Any ideas what I am doing wrong or was the detail reader only designed to parse Accounting not Access-Request/Accept logged events?
On Jan 25, 2017, at 10:41 PM, Peter Lambrechtsen <peter@crypt.nz> wrote:
I'm looking to do some offloading of processing using the detail file writer.
When I write a Access-Request packet using the detail module then attempt to use a new virtual server / site to pick up the detail file and then process it.
That isn't implemented.
Any ideas what I am doing wrong or was the detail reader only designed to parse Accounting not Access-Request/Accept logged events?
It only does Accounting-Request and CoA/Disconnect-Request. I'm not sure why you'd put authentication through the detail file reader. It's OK for accounting packets to sit in a file for a while, as they're not time sensitive. Authentication packets are. Alan DeKok.
participants (2)
-
Alan DeKok -
Peter Lambrechtsen