accouting detail

Guillaume Chartrand guillaume.chartrand at Collanaud.Qc.Ca
Thu Apr 17 16:13:48 CEST 2008


Hi, I'm using freeradius 2.0.3 and I want to make accounting with the detail module.

I enable it in the accouting section and the detail module is defined in radiusd.conf
Here is the accounting section in site-enabled/default file
accounting {
        #
        #  Create a 'detail'ed log of the packets.
        #  Note that accounting requests which are proxied
        #  are also logged in the detail file.
        detail
        #
        #  Instead of sending the query to the SQL server,
        #  write it into a log file.
        #
        sql_log
        attr_filter.accounting_response
}

Here is the detail section.
Detail {
      detailfile = ${radacctdir}/%{Client-IP-Address}/detail-%Y%m%d
      detailperm = 0600
      header = "%t"
}

But I don't have any file like the detailfile described before. In my radaccdir I have only the sql-relay file.
And I check all the debug output and the detail module or the rlm_detail is doesn't call anywhere but it's defined when I start the server.

Module: Checking accounting {...} for more modules to load
 Module: Linked to module rlm_detail
 Module: Instantiating detail
  detail {
        detailfile = "/usr/local/var/log/radius/radacct/%{Client-IP-Address}/det
ail-%Y%m%d"
        header = "%t"
        detailperm = 384
        dirperm = 493
        locking = no
        log_packet_header = no
  }

So why he doesn't make accounting. Can it be my AP who's doesn't send accounting packet? For my testing purpose I use a sample D-Link router.

Thanks

----------------------------
Guillaume Chartrand
Technicien informatique
Cégep régional de Lanaudière
Centre administratif, Repentigny
(450) 470-0911 poste 7218





More information about the Freeradius-Users mailing list