New "raddebug" command

Alan DeKok aland at deployingradius.com
Fri Feb 13 22:04:19 CET 2009


   See git.freeradius.org (stable or master branch) for a new "raddebug"
command. It requires:

- raddb/sites-available/control-socket to be enabled, and r/w permission
added

- radmin to be in the $PATH

- the user running raddebug to have permissions to connect to the
socket, and to run commands

- the user running raddebug to have group write access to $logdir.


  Then:


$ raddebug

  prints all debug output to stdout for 10s. (default timeout)

$ raddebug -t 0

  prints all debug output to stdout until CTRL-C

$ raddebug -u bob

  prints all debug output for user "bob" for 10s

$ raddebug -i 127.0.0.1

  prints all debug output for client 127.0.0.1 for 10s

$ raddebug -c '((User-Name == bob) && (Packet-Src-IP-Address == 127.0.0.1))'

  prints all debug output for bob, when logging in via client 127.0.0.1,
for 10s.

  This was at the request of a Network RADIUS customer. :)

  Enjoy.

  Alan DeKok.



More information about the Freeradius-Users mailing list