linelog and internal variables

Eugene Grosbein fr at grosbein.net
Wed Apr 9 12:20:04 CEST 2014


On 09.04.2014 16:51, Arran Cudbard-Bell wrote:
> 
> On 9 Apr 2014, at 10:41, Eugene Grosbein <fr at grosbein.net> wrote:
> 
>> Hi!
>>
>> Where can I get a list of the freeradius core variables
>> supported by the linelog module similar to %{User-Name} ?
>>
>> Specifically, I need a variable name for the freeradius internal request id
>> that is written as 14280311 in the following example in freeradius log:
>>
>>> Discarding duplicate request from client dhcp port 67 - ID: 1381353109 due to unfinished request 14280311
>>
>> Eugene Grosbein
> 
> That'd be %I
> 
> Only available in later versions of 2, probably >= 2.2.0 and 3.x.x.
> 
> Arran Cudbard-Bell <a.cudbardb at freeradius.org>
> FreeRADIUS Development Team

%I works for me (2.2.0) but it's not what I need.

I need "request->number" that is small number just after radiusd restart
but %I always gives me large numbers equal to %{DHCP-Transaction-Id}.



More information about the Freeradius-Users mailing list