RADDEBUG(8)
π NAME π
okay so this is raddebug(8), fresh from the FreeRADIUS Daemon manual, and its whole job is literally to display debugging output from a running server. Bestie, it's the debug hookup you've been waiting for. π«Ά
β¨ SYNOPSIS β¨
raddebug [-c condition] [-d config_directory] [-D dictionary_directory]
[-n name] [-i ipv4-address] [-I ipv6-address] [-f socket_file] [-t
timeout] [-u user-name]
π DESCRIPTION π
okay so raddebug is a shell script wrapper around radmin that automates the whole "get debugging output from a running server" process. And the slay part? It does this without impacting service availability, unlike using radiusd -X. Iconic behavior, honestly. β¨
There are a number of prerequisites that are required for its proper operation β like, actual requirements, no skipping:
radminmust be available in thePATH.- The user running
raddebugmust have permission to connect to the server control socket. - The control socket must be configured. For instructions, see
raddb/sites-available/control-socket. - The control socket must be marked as
"mode = rw". - The user running
raddebugmust have permission to read and write files in the"logdir"directory. This is usually/var/log/radiusd.
For a number of reasons, the debugging output is placed in an intermediate file, rather than being sent directly to standard output. In order to prevent this file from growing too large, the raddebug program is automatically terminated after 10 seconds. This timeout can be changed via the -t parameter. π
When the script exits, debug mode in the server is disabled, and the intermediate file is deleted. Cleanup queen. π§Ή
Debug output from a live server can be redirected to only one location. If a second instance of raddebug is started while the first one is still running, the later one will over-ride the first one, and the first will stop producing output. It's giving "there can only be one main character" energy. π
πΈ OPTIONS πΈ
-ccondition β Set a specific debug condition. The format of the condition is as specified in the CONDITIONS section of theunlangmanual page.-fsocket_file β The path to the control socket. See theradminmanual page for more description of this option.-iipv4-address β Show debug output for the client having the given IPv4 address. This option is equivalent to using:
-c '(Packet-Src-IP-Address == ipv4-address)'
-dconfig directory β The radius configuration directory, usually/etc/raddb. See theradminmanual page for more description of this option.-Ddictionary directory β Set main dictionary directory. Defaults to/usr/share/freeradius.-nmname β Readraddb/name.confinstead ofraddb/radiusd.conf.-Iipv6-address β Show debug output for the client having the given IPv6 address. This option is equivalent to using:
-c '(Packet-Src-IPv6-Address == ipv6-address)'
-ttimeout β Stop printing debug output aftertimeoutseconds. The default timeout is sixty (60) seconds. Use-t 0to print debugging output forever, or until the script exits.-uname β Show debug output for users having the given name. This option is equivalent to using:
-c '(User-Name == name)'
π¦ SEE ALSO π¦
Go bother these pages, bestie:
radmin(8)raddb/sites-available/control-socketunlang(5)radiusd.conf(5)
π AUTHORS π
Alan DeKok <aland@freeradius.org>
That's the whole page, bestie. Source/version vibes: FreeRADIUS Daemon, dated 1 September 2010. Now go get that debug output, and remember: only one raddebug gets to be main character at a time. π
β¨
π¦ where this page comes from
- alpine 3.22: freeradius-doc 3.0.27-r1 Β· GPL-2.0-or-later
- alpine 3.23: freeradius-doc 3.0.27-r2 Β· GPL-2.0-or-later
- alpine 3.24: freeradius-doc 3.0.27-r3 Β· GPL-2.0-or-later
- arch rolling: freeradius 3.2.10-4 Β· GPL-2.0-or-later
- centos-stream 10: freeradius 3.2.8-2.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- centos-stream 9: freeradius 3.0.27-4.el9 Β· GPLv2+ and LGPLv2+
- fedora 43: freeradius 3.2.7-6.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: freeradius 3.2.7-6.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: freeradius 3.2.8-2.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: freeradius 3.2.8-2.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: freeradius 3.2.8-3.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: freeradius 3.2.8-3.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: freeradius-server 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: freeradius-server 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: freeradius-server 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: freeradius-server 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms