[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-09-10 Thread Real Ursus
Do we have any progress?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-07-24 Thread Real Ursus
Other observation (different config):
vi /etc/pam.d/sshd
auth   sufficient   pam_radius_auth.so  conf=/etc/pam_radius_auth.conf 
retry=3 ipv4=yes ipv6=no debug

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-07-15 Thread Real Ursus
Needless to say that github version (simple exchange of .so) is working
as expected and already 3 months old...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-07-15 Thread Real Ursus
logs with debug option (auth   sufficient pam_radius_auth.so debug):
2024-07-16T01:23:31.004098+10:00 ubuntu sudo: pam_radius_auth: Got user name: 
'user'
2024-07-16T01:23:31.006038+10:00 ubuntu sudo: pam_radius_auth: Failed to open 
RADIUS IPv6 socket: Address family not supported by protocol

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-07-15 Thread Real Ursus
is `ip a` output showing only ipv4?

cat /etc/pam.d/sudo
sessionrequired   pam_limits.so

sessionrequired   pam_env.so readenv=1 user_readenv=0
sessionrequired   pam_env.so readenv=1 envfile=/etc/default/locale 
user_readenv=0
auth   sufficient pam_radius_auth.so
@include common-auth
@include common-account
@include common-session-noninteractive

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-07-12 Thread Mitchell Dzurick
Thanks for mentioning that, I definitely missed that in the setup.
However even with setting those parameters it is still not reproducible
(same steps as #12, except update the grub cmdline and use a VM instead
of container)

root@n-vm:~# cat /proc/cmdline 
BOOT_IMAGE=/vmlinuz-6.8.0-35-generic 
root=UUID=7df54820-4e88-4805-aed8-832ab23eb0ea ro ipv6.disable=1 console=tty1 
console=ttyS0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-07-08 Thread Real Ursus
vi /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1"

update-grub

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-07-08 Thread Real Ursus
Most importantly - you are using IPv6...

The whole idea of that request - do not use ipv6 stack (The CISA secure
config states that IPv6 is to be disabled unless it's in use)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-06-30 Thread Mitchell Dzurick
Real,

Is there more steps you took to configure the system? I'm not able to
reproduce the issue. Here's the steps I took to attempt a reproduction.

$ lxc launch ubuntu:noble n
$ lxc shell n
# apt update -y && apt upgrade -y
# echo "auth sufficient pam_radius_auth.so" >> /etc/pam.d/sudo
# echo "user ALL=(ALL:ALL) ALL" > /etc/sudoers.d/support
# sudo true

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-06-28 Thread Real Ursus
>Does `sudo true` also crash?
sudo true
free(): double free detected in tcache 2
Aborted (core dumped)

>It would be helpful to have a reproducer of this crash from a clean Noble 
>system.
It is clean system, built from scratch

>due to the fact that you configured /etc/pam.d/sudo to authenticate
using radius?

cat /etc/pam.d/sudo
...
auth   sufficient pam_radius_auth.so
...

cat /etc/sudoers.d/support
user   ALL=(ALL:ALL) ALL

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-06-27 Thread Paride Legovini
Hello, we'll likely have to figure out what other commits we need to
bring in into the Noble patch. But first, some questions. Is this error

user@ubuntu:~$ sudo vi /etc/passwd
free(): double free detected in tcache 2
Aborted (core dumped)

due to the fact that you configured /etc/pam.d/sudo to authenticate
using radius? Does `sudo true` also crash?

It would be helpful to have a reproducer of this crash from a clean
Noble system. Ideally something on these lines:

$ lxc launch ubuntu:noble reprocontainer
$ lxc exec reprocontainer bash
# add-apt-repository ppa:lvoytek/libpam-radius-auth-ipv4-6-yes-no
# apt update && apt install ...
# vim /etc/pam.d/..., remove X, add Y
# sudo ...
[crash!]

Would you be able to come up with something like that and share it?

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-06-26 Thread Real Ursus
My apologies, is there any possibility that we could rectify this issue? 
Thank you for your understanding.

>importing a full new release would not include just bug fixes, but it
may introduce new functionalities and also new bugs!

I would like to kindly point out that the last modification in the
repository was made two months ago, and according to your standards, it
should have reached a satisfactory level of stability.

Furthermore, I’ve observed that this version has been operating smoothly
in production for a month.

Let me know, if you want to test next PPA build...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-06-18 Thread Lucas Kanashiro
Real, not sure if you read the documentation page linked twice here (by
Paride and Seth), but in Ubuntu stable releases we do not import any new
version from github as you are suggesting. Stable releases are supposed
to be stable, therefore, we ship target fixes for the bugs present there
(importing a full new release would not include just bug fixes, but it
may introduce new functionalities and also new bugs!).

But thanks for testing the package provided by Lena. We need to double-
check if something is missing or if it requires any modification. Lena,
would you like to check that out?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-06-17 Thread Real Ursus
While github version is working as expected.

libpam-radius-auth_2.0.1-1ubuntu0.22.04.1~ppa1_amd64.deb version is
giving me:

user@ubuntu:~$ sudo vi /etc/passwd
free(): double free detected in tcache 2
Aborted (core dumped)

Could we please clone all github version not only add-ipv4-and-ipv6-yes-
no-options.patch ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-06-14 Thread Seth Arnold
Real, Lena is trying to fix the bug you reported. It would be helpful if
you could test the fix.

I suggest reading the https://wiki.ubuntu.com/StableReleaseUpdates page
to better understand our process.

Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-06-14 Thread Real Ursus
If we set aside the specific terminology for a moment, it appears that the 
version of the software available on GitHub is functioning as expected, while 
the version available through the “apt” package manager is not. 
My recommendation would be to consider updating the “apt” package directly, 
without the need to involve any personal or third-party “PPA”. 
I hope this suggestion proves helpful.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-06-14 Thread Paride Legovini
Hello, Lena understanding of the issue is correct, maybe there is some
confusion around terminology. In particular: the github version is what
we call "upstream".

Lena picked the upstream commit adding support for ipv4= and ipv6= and
applied it to the Noble packaged version of pam_radius. That's in the
PPA to test. See also [1] for how upgrades of stable Ubuntu releases
work.

[1] https://wiki.ubuntu.com/StableReleaseUpdates

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-06-12 Thread Real Ursus
Hi Lena,
Thank you for looking into the problem.
>I I created a PPA to test that adding this commit fixes the issue here: 
>https://launchpad.net/~lvoytek/+archive/ubuntu/libpam-radius-auth-ipv4-6-yes-no

I am afraid that I was misunderstood...
As I wrote, github version is working as expected but the upstream is not. 
I've suggested syncing upstream with github (which already respected ipvX 
arguments)

Here is my previous post:
 Please note that
```git clone https://github.com/FreeRADIUS/pam_radius
cd pam_radius
make deb && dpkg -i ../libpam-radius-auth_2.0.1_amd64.deb
```
is working as expected:
2024-06-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
2024-06-07T22:45:13.395508+10:00 ubuntu sshd[1457]: pam_radius_auth: 
_pam_parse: argv[0] = 'conf=/etc/pam_radius_auth.conf'
2024-06-07T22:45:13.395585+10:00 ubuntu sshd[1457]: pam_radius_auth: 
_pam_parse: argv[1] = 'retry=3'
2024-06-07T22:45:13.395642+10:00 ubuntu sshd[1457]: pam_radius_auth: 
_pam_parse: argv[2] = 'ipv4=yes'
2024-06-07T22:45:13.395709+10:00 ubuntu sshd[1457]: pam_radius_auth: 
_pam_parse: argv[3] = 'ipv6=no'
2024-06-07T22:45:13.395809+10:00 ubuntu sshd[1457]: pam_radius_auth: 
_pam_parse: argv[4] = 'debug'
2024-06-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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-06-10 Thread Lena Voytek
Thank you for the bug report. The current version of libpam-radius-auth
is missing the ipv4 and ipv6 settings for pam configurations. This was
fixed upstream here:
https://github.com/FreeRADIUS/pam_radius/commit/8d373539bb9f13b0abfe8bcae0095a930a00fad0

I created a PPA to test that adding this commit fixes the issue here: 
https://launchpad.net/~lvoytek/+archive/ubuntu/libpam-radius-auth-ipv4-6-yes-no
If you would like to test it you can run the following commands:

sudo add-apt-repository ppa:lvoytek/libpam-radius-auth-ipv4-6-yes-no
sudo apt update
sudo apt upgrade

Also of note, this bug seems to match up with (LP: #2065737)

** Changed in: libpam-radius-auth (Ubuntu)
   Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-06-07 Thread Real Ursus
** Also affects: libpam-radius-auth (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2068729] Re: pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not supported by protocol

2024-06-07 Thread Real Ursus
Please note that 
"git clone https://github.com/FreeRADIUS/pam_radius
cd pam_radius
make deb && dpkg -i ../libpam-radius-auth_2.0.1_amd64.deb"
is working as expected:
2024-06-07T22:45:13.395293+10:00 sydvpn01 sshd[1457]: pam_radius_auth: 2.0.1 
DEVELOPER BUILD -  (git #d802da75), built on Jun  7 2024 at 12:38:28
2024-06-07T22:45:13.395508+10:00 sydvpn01 sshd[1457]: pam_radius_auth: 
_pam_parse: argv[0] = 'conf=/etc/pam_radius_auth.conf'
2024-06-07T22:45:13.395585+10:00 sydvpn01 sshd[1457]: pam_radius_auth: 
_pam_parse: argv[1] = 'retry=3'
2024-06-07T22:45:13.395642+10:00 sydvpn01 sshd[1457]: pam_radius_auth: 
_pam_parse: argv[2] = 'ipv4=yes'
2024-06-07T22:45:13.395709+10:00 sydvpn01 sshd[1457]: pam_radius_auth: 
_pam_parse: argv[3] = 'ipv6=no'
2024-06-07T22:45:13.395809+10:00 sydvpn01 sshd[1457]: pam_radius_auth: 
_pam_parse: argv[4] = 'debug'
2024-06-07T22:45:13.395968+10:00 sydvpn01 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



** Description changed:

  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://au.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
- 100 /var/lib/dpkg/status
+   Installed: 2.0.1-1
+   Candidate: 2.0.1-1
+   Version table:
+  *** 2.0.1-1 500
+ 500 http://au.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
+ 100 /var/lib/dpkg/status
  
  What you expected to happen:
- Based on 
https://github.com/FreeRADIUS/pam_radius/blob/master/src/pam_radius_auth.c 
module must support ipv6 and ipv4 options.
+ Based on 
https://github.com/FreeRADIUS/pam_radius/blob/master/src/pam_radius_auth.c, the 
pam_radius_auth module must support ipv6 and ipv4 options.
  
  /etc/pam.d/sshd:
  auth   sufficient   pam_radius_auth.so  conf=/etc/pam_radius_auth.conf 
retry=3 ipv4=yes ipv6=no debug
- 
  
  What happened instead:
  2024-06-07T22:07:57.499460+10:00 ubuntu sshd[584305]: pam_radius_auth: 2.0.1, 
built on Aug 19 2023 at 14:08:42
  2024-06-07T22:07:57.499672+10:00 ubuntu sshd[584305]: pam_radius_auth: 
unrecognized option 'ipv4=yes'
  2024-06-07T22:07:57.499880+10:00 ubuntu sshd[584305]: pam_radius_auth: 
unrecognized option 'ipv6=no'
  2024-06-07T22:07:57.500051+10:00 ubuntu sshd[584305]: pam_radius_auth: DEBUG: 
conf_file='/etc/pam_radius_auth.conf' use_first_pass=no try_first_pass=no 
skip_passwd=no retry=3 localifdown=no client_id='' accounting_bug=no ruser=no 
prompt='Password: ' force_prompt=no prompt_attribute=no max_challenge=0 
privilege_level=no
  2024-06-07T22:07:57.500279+10:00 ubuntu sshd[584305]: pam_radius_auth: Got 
user name: 'test'
  2024-06-07T22:07:57.502892+10:00 ubuntu sshd[584305]: pam_radius_auth: Failed 
to open RADIUS IPv6 socket: Address family not supported by protocol

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs