rlm_digest(5)
π rlm_digest β FreeRADIUS Module π
okay so bestie, this is the manual page for rlm_digest, which lives in section 5 of the FreeRADIUS Module docs. buckle up, it's short but it's cute π¦
β¨ NAME β¨
rlm_digest β literally the FreeRADIUS Module, that's the whole name, slay π
πΈ DESCRIPTION πΈ
so the rlm_digest module authenticates RADIUS Access-Request packets that contain Cisco SIP digest authentication attributes. yep, that's the whole vibe β SIP digest, Cisco flavored, iconic π
and like, important: the module should be listed in the authorize and authenticate sections of radiusd.conf. both of them. don't skip one, bestie, it's giving "I forgot to plug in the second cable" energy π
π CONFIGURATION π
good news: the digest module requires no additional configuration items. zero. none. it's low maintenance, main character energy fr fr β¨
but β and this is the plot twist β when it's being used to authenticate requests, it does require access to the clear-text password for the user. hashed passwords are not acceptable, and will not work. periodt. no cap. if your password is hashed, this module is gonna look at you like π
lowkey a big deal: hashed passwords = no auth. clear-text only. iykyk π
π§ EXAMPLES π§
okay so add the following lines to the top of your raddb/users file:
#---
test Auth-Type := Digest, User-Password = "test"
Reply-Message = "Hello, test with digest"
#---
once the server has been started (debugging mode is recommended, highly recommend, do it π), use radclient to send the following packet to the server:
$ radclient -f digest localhost auth testing123
where digest is a file containing:
User-Name = "test",
Digest-Response = "631d6d73147add2f9e437f59bbc3aeb7",
Digest-Realm = "testrealm",
Digest-Nonce = "1234abcd",
Digest-Method = "INVITE",
Digest-URI = "sip:5555551212@example.com",
Digest-Algorithm = "MD5",
Digest-User-Name = "test",
Message-Authenticator = ""
and then?? you should see the authentication succeed. ate. π₯
π SECTIONS π
authorizeauthenticate
π FILES π
/etc/raddb/radiusd.confdraft-sterman-aaa-sip-00.txt
π AUTHOR π
Alan DeKok <aland@ox.org> β the icon, the legend, the moment π«Ά
and that's the whole page bestie, you're officially a rlm_digest expert β¨ this was rlm_digest(5) from the FreeRADIUS Module docs, dated 31 March 2005. oldie but a goodie, mwah π
π¦ 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