linelog (special character)

Peter Balsianok balsianok.peter at gmail.com
Thu Apr 23 16:37:59 CEST 2015


Sorry, but no.

(0)     update request {
(0)       Tmp-Octets-0 := 0x01020304
(0)     } # update request = noop
(0) log_request: EXPAND /app_log/radius/auth/radius.log
(0) log_request:    --> /app_log/radius/auth/radius.log
(0) log_request: EXPAND %t %{Tmp-Octets-0} foo
(0) log_request:    --> Thu Apr 23 16:34:57 2015 0x01020304 foo

radius.log:
Thu Apr 23 16:34:57 2015 0x01020304 foo


On Thu, Apr 23, 2015 at 3:43 PM, Alan DeKok <aland at deployingradius.com>
wrote:

> On Apr 23, 2015, at 9:32 AM, Peter Balsianok <balsianok.peter at gmail.com>
> wrote:
>
> > It`s not working.
> >
> > linelog configration:
> > linelog log_request {
> >  filename = ${logdir}radius.log
> >  format = "%t \001 \002 \003 \004 \005 \006 \007 \010"
> > }
>
>   Put the non-ASCII characters into an attribute, and then use that:
>
>         Tmp-Octets-0 := 0x01020304
>
> linelog {
>         ...
>         format = "%t &Tmp-Octets-0"
> }
>
>   I think that works.
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


More information about the Freeradius-Users mailing list