diff options
author | Iker Pedrosa <ipedrosa@redhat.com> | 2024-10-16 12:41:09 +0200 |
---|---|---|
committer | Iker Pedrosa <ipedrosa@redhat.com> | 2024-10-22 15:11:13 +0200 |
commit | ecaaf4456e5aeacae1acdb1775bb5aadd3b19e13 (patch) | |
tree | 773e8eb2f77f1ac24aba981f9f0b2ae2d0368168 /libpam | |
parent | e43b85f10de09d371a380a5b7033ec892ef015e3 (diff) | |
download | pam-ecaaf4456e5aeacae1acdb1775bb5aadd3b19e13.tar.gz pam-ecaaf4456e5aeacae1acdb1775bb5aadd3b19e13.tar.bz2 pam-ecaaf4456e5aeacae1acdb1775bb5aadd3b19e13.zip |
pam_access: always match local address
* modules/pam_access/pam_access.c: match the local address regardless of
the IP version in use.
In some circumstances the `localhost` may be translated to IPv4 or IPv6,
but the configuration file only indicated the address for one of the two
versions. Since the originating value is set in `PAM_RHOST` and PAM has
no control over it, let's match the local addresses regardless of the IP
version in use.
Resolves: https://issues.redhat.com/browse/RHEL-23018
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
Diffstat (limited to 'libpam')
0 files changed, 0 insertions, 0 deletions