pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libpam-radius-auth (Ubuntu) |
Triaged
|
Undecided
|
Unassigned | ||
shadow (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
New and fully updated 24.04 LTS with disabled IPv6 (The CISA secure config states that IPv6 is to be disabled unless it's in use).
lsb_release -rd:
No LSB modules are available.
Description: Ubuntu 24.04 LTS
Release: 24.04
apt-cache policy libpam-radius-auth
libpam-radius-auth:
Installed: 2.0.1-1
Candidate: 2.0.1-1
Version table:
*** 2.0.1-1 500
500 http://
100 /var/lib/
What you expected to happen:
Based on https:/
/etc/pam.d/sshd:
auth sufficient pam_radius_auth.so conf=/etc/
What happened instead:
2024-06-
2024-06-
2024-06-
2024-06-
2024-06-
2024-06-
Please note that /github. com/FreeRADIUS/ pam_radius radius- auth_2. 0.1_amd64. deb 07T22:45: 13.395293+ 10:00 ubuntu sshd[1457]: pam_radius_auth: 2.0.1 DEVELOPER BUILD - (git #d802da75), built on Jun 7 2024 at 12:38:28 07T22:45: 13.395508+ 10:00 ubuntu sshd[1457]: pam_radius_auth: _pam_parse: argv[0] = 'conf=/ etc/pam_ radius_ auth.conf' 07T22:45: 13.395585+ 10:00 ubuntu sshd[1457]: pam_radius_auth: _pam_parse: argv[1] = 'retry=3' 07T22:45: 13.395642+ 10:00 ubuntu sshd[1457]: pam_radius_auth: _pam_parse: argv[2] = 'ipv4=yes' 07T22:45: 13.395709+ 10:00 ubuntu sshd[1457]: pam_radius_auth: _pam_parse: argv[3] = 'ipv6=no' 07T22:45: 13.395809+ 10:00 ubuntu sshd[1457]: pam_radius_auth: _pam_parse: argv[4] = 'debug' 07T22:45: 13.395968+ 10:00 ubuntu sshd[1457]: pam_radius_auth: DEBUG: conf='/ etc/pam_ radius_ auth.conf' use_first_pass=no try_first_pass=no skip_passwd=no retry=3 localifdown=no client_id='' ruser=no prompt='Password: ' force_prompt=no prompt_attribute=no max_challenge=0 privilege_level=no
```git clone https:/
cd pam_radius
make deb && dpkg -i ../libpam-
```
is working as expected:
2024-06-
2024-06-
2024-06-
2024-06-
2024-06-
2024-06-
2024-06-