CHECKRAD(5)
π CHECKRAD(5) β the file formats manual page, bestie edition π
okay so like. this is the manual page for checkrad, from the File Formats Manual section (section 5, if you're keeping score). buckle up π
β¨ NAME β¨
checkrad β literally just: See if a user is (still) logged in on a certain port. that's it. that's the whole vibe check. π΅οΈβοΈ
πΈ SYNOPSIS πΈ
checkrad [-d] nas-type nas-ip nas-port login session-id
π¦ DESCRIPTION π¦
so Checkrad is the little bestie that the radius server calls when it suspects a double login π β it goes and checks whether the server's idea of a user being logged in on a certain port/NAS is actually correct.
and it reports back with a number, which is honestly giving exit-code energy:
0= no duplicate π βοΈ1= duplicate π±>1= error π
π OPTIONS π
-dβ turns on printing of debugging information. it's giving "let me see everything" πnas-typeβ the type of port/NAS you're dealing with. can be any one of these, and yes bestie, I'm listing every single one because we do not skip:ascendbayciscocisco_l2tpcomputonecvxdigitrodot1xlivingstonmax40xxmikrotikmikrotik_snmpmultitechnetserverotherpathraspattonportslavepr3000pr4000redbacktcusrhiperversanet
β οΈ and here's the plot twist: the "other" type makes checkrad skip any check and always return 1. no cap. it just says "yeah sure, duplicate" and leaves. iconic behaviour honestly but be careful with it π
nas-ipβ the IP address of the NAS you want to check. give it the address, it goes and looks πnas-portβ the NAS port to check. heads up though: this may be ignored by some nas-type π«loginβ the login name to check. yes, the actual username bestie πsession-idβ the session to check. and ngl this one is actually ignored by all nas-type π so it's just... there. sitting pretty. being decorative. we love a placeholder that serves cunt and nothing else π
π₯ SEE ALSO π₯
radiusd(8)β go read that one too, it's the whole reason this little helper exists π
π AUTHOR π
Written by Miquel van Smoorenburg, miquels@cistron.nl. legend behaviour honestly π«Ά
This manual page was written by Marco Nenciarini <mnencia@debian.org> for the Debian project (but may be used by others). π
okay that's the whole page, you ate that, no notes β¨π
and a cute lil sign-off: this was pulled from the File Formats Manual, dated 13 January 2006 β yes bestie, 2006, we're reading vintage and it's still serving ππ¦ periodt π
π¦ 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-utils 3.2.8-2.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- centos-stream 9: freeradius-utils 3.0.27-4.el9 Β· GPLv2+ and LGPLv2+
- debian bookworm: freeradius-common 3.2.1+dfsg-4+deb12u1 Β· GPL-2.0-or-later
- debian trixie: freeradius-common 3.2.7+dfsg-1+deb13u2 Β· GPL-2.0-or-later
- fedora 43: freeradius-utils 3.2.7-6.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: freeradius-utils 3.2.8-2.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: freeradius-utils 3.2.8-3.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- nixos 26.05: freeradius 3.2.8
- nixpkgs unstable: freeradius 3.2.10
- 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
- ubuntu jammy: freeradius-common 3.0.26~dfsg~git20220223.1.00ed0241fa-0ubuntu3 Β· GPL-2.0-or-later
- ubuntu jammy: freeradius-common 3.0.26~dfsg~git20220223.1.00ed0241fa-0ubuntu3.3 Β· GPL-2.0-or-later
- ubuntu jammy: freeradius-common 3.0.26~dfsg~git20220223.1.00ed0241fa-0ubuntu3.4 Β· GPL-2.0-or-later
- ubuntu noble: freeradius-common 3.2.3+dfsg-2build7 Β· GPL-2.0-or-later
- ubuntu noble: freeradius-common 3.2.5+dfsg-3~ubuntu24.04.1 Β· GPL-2.0-or-later
- ubuntu noble: freeradius-common 3.2.5+dfsg-3~ubuntu24.04.3 Β· GPL-2.0-or-later
- ubuntu questing: freeradius-common 3.2.7+dfsg-1ubuntu2
- ubuntu resolute: freeradius-common 3.2.8+dfsg-1ubuntu2 Β· GPL-2.0-or-later
- ubuntu stonking: freeradius-common 3.2.10+dfsg-1ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms