linelog and internal variables
Arran Cudbard-Bell
a.cudbardb at freeradius.org
Wed Apr 9 13:05:25 CEST 2014
On 9 Apr 2014, at 11:20, Eugene Grosbein <fr at grosbein.net> wrote:
> 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}.
Ah, wasn't sure what it'd be set to in DHCP. In that case patches welcome.
Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/mailman/private/freeradius-users/attachments/20140409/1ec38ad9/attachment.pgp>
More information about the Freeradius-Users
mailing list