RADRELAY(8)
β¨ RADRELAY β the FreeRADIUS Daemon girlies' guide π
okay so bestie, we're in section 8 of the manual (that's the admin/daemon section, iykyk) and the vibe here is... complicated. let me hold your hand through it π«Ά
πΈ NAME πΈ
radrelay β Deprecated command. yeah. she's retired. gone but not forgotten. π
π DESCRIPTION π
so here's the tea: everything radrelay used to do? it got folded into radiusd itself. the glow-up was real. β¨
and one major perk of the merge β one single instance of radiusd can read multiple detail files, among other things. not me being obsessed with consolidation. π
also, the rlm_sql_log module does something similar, but for SQL queries instead. go check its man page for the deets, bestie. π
π REPLICATION FOR BACKUPS π
okay so picture this: lots of sites run multiple radius servers β at minimum one primary and one backup. and when the primary goes down, most NASes notice and switch over to the backup. main character energy from the backup, honestly. π
but here's where it gets messy π β that switch means your accounting packets are now heading to the backup server. and some NASes don't even switch back to the primary when it comes back up. they just stay there. rude.
the fallout:
- accounting records get missed, and/or
- the administrator has to jump through hoops to combine the different detail files from multiple servers πͺ
- and the session database (
radutmp, which is whatradwhoand simultaneous use detection rely on) gets out of sync π«
so how do we fix it? we "relay" packets from one server to another, so they both end up with the same set of accounting data. matching outfits. iconic. π
see raddb/sites-available/buffered-sql for more information. β¨
π¦ BUFFERING FOR HIGH-LOAD SERVERS π¦
imagine the RADIUS server suddenly gets a ton of accounting packets all at once. there may not be enough CPU power to process them all in a timely manner π. this problem hits especially hard when those accounting packets are headed to a back-end database. she's stressed. she's trying her best.
similarly β and this is the fun part β you might have one database tracking "live" sessions and another tracking historical accounting data. in that case, accessing the first database is fast, because it's small. accessing the second one may be slower, because it can contain multiple gigabytes of data. π³
and the priorities are different too: writing to the first database in a timely manner is important, while data can be written to the second database with a few minutes delay without any harm being done. no rush, babe. π
see raddb/sites-available/copy-to-home-server for more information. π«Ά
π SEE ALSO π
radiusd(8)rlm_sql_log(5)
π AUTHOR π
The FreeRADIUS Server Project β the legends themselves. π
okay that's the whole page, bestie, you ate that. this one's dated 23 October 2007 and it's from the FreeRADIUS Daemon manual set. slay, go read radiusd(8) next πβ¨π
π¦ 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+
- 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 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
- 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