David ROUMANET wrote:
Hello,

in wireless network (EAP/TTLS), there is no way to use FreeRADIUS for dynamic IP affectation, so I use dhcpd. Unfortunely, I'm not able to have accounting with IP address ==> user.
I will write a script to scan dhcpd log and RADIUS accounting log but before I would to be sure nobody has already done this... I don't want to re-invent the wheel ;)


Could anybody help me ? thanks a lot,
David

---------------------------------------------------------------------
David ROUMANET                                   Tel : 04 76 51 46 08
Centre Interuniversitaire de Calcul Grenoblois   Fax : 04 76 42 11 71
---------------------------------------------------------------------



dhcpd is the right tool for that job - I've never understood why people think FreeRADIUS should hand out IPs.


What we do is have dhcpd syslog to a central syslog-ng server, which in turn filters the incoming data and inserts those logs into a MySQL server. FreeRADIUS can log accounting packets to MySQL as well.

Works well - although I personally would rather have FreeRADIUS use 'syslog' to log *everything* rather than have a build dependency for MySQL in my FreeRADIUS builds.

We log authentication packets via syslog, and I pray to the 'FreeRADIUS developer gods' that logging accounting via syslog may be added some day (or at least personal time to find to the correct place in the source code to add this myself). :)

--Craig

--
/ Craig Huckabee        |          e-mail: [EMAIL PROTECTED] /
/ Code 715-CH           |           phone: (843) 218 5653       /
/ SPAWAR Systems Center | close proximity: "Hey You!"           /
/ Charleston, SC        |            ICBM:  32.78N, 79.93W      /


- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to