radmin - problem with setting up username based filter as condition

Alan DeKok aland at deployingradius.com
Mon Jan 21 14:27:08 CET 2019


On Jan 21, 2019, at 2:23 AM, Fekete Tamás <fektom at gmail.com> wrote:
> I want to log debug information only about one user with using radmin, but
> I experience two problems in the expected behaviour of this tool.
> When I set up radmin with the following options:
> 
> debug level 4
> debug condition '(User-Name == "bob")'
> debug file bob.log
> 
> the /var/log/radius/bob.log is created and filled by Freeradius, but
> /var/log/radius/radius.log gets the same debug logs, so the debug
> information is duplicated.

  That's unfortunately the way it works.  Changing that is hard at this point.

> The second problem is that if I use another user name, for example
> 'whatever', for connection trial, the debug information still goes to
> /var/log/radius/bob.log, however, the debug condition was

  You can change the debug file...

> debug condition '(User-Name == "bob")'
> 
> My question is, why the filtering condition doesn't work

  It does work.  Especially if you use a different use name.

> and the second is,
> how can I stop the double logging (into /var/log/radius/radius.log
> /var/log/radius/bob.log in the same time)?

  Send a patch.

  Alan DeKok.




More information about the Freeradius-Users mailing list