Logging raw accounting packets

Alan DeKok aland at deployingradius.com
Fri Aug 17 15:48:30 CEST 2012


Brian Candler wrote:
> I would like to put accounting logs into some sort of database, but store
> the entire raw binary packet as well as some decoded attributes.

  I'd suggest using tcpdump for raw packets.

> I can think of plenty of options for the storage: e.g. mysql Blob column,
> CouchDB binary attachment, MongoDB etc.  But I can't see how to get at the
> raw packet from the freeradius config.  Even rlm_perl doesn't seem to
> receive the raw packet, only a hash of decoded attributes.
> 
> Is there a module which can do this already, or should I be looking to hack
> something up in C?

  There's no module to do this.  There are very few reasons to do this,
IMHO.

  Alan DeKok.



More information about the Freeradius-Users mailing list