public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nscd/29415] New: getaddrinfo with AI_ADDRCONFIG returns addresses with wrong family
@ 2022-07-27  9:36 fabian@ritter-vogt.de
  2022-08-29 13:52 ` [Bug nscd/29415] " mliska at suse dot cz
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: fabian@ritter-vogt.de @ 2022-07-27  9:36 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29415

            Bug ID: 29415
           Summary: getaddrinfo with AI_ADDRCONFIG returns addresses with
                    wrong family
           Product: glibc
           Version: 2.35
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: nscd
          Assignee: unassigned at sourceware dot org
          Reporter: fabian@ritter-vogt.de
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Processes cache network interface information such as whether IPv4 or IPv6
are enabled. This is only checked again if the "netlink timestamp" provided
by nscd changed, which is triggered by netlink socket activity.

However, this mechanism is currently broken. This means that e.g. processes
which started before network configuration got unusuable addresses from
getaddrinfo, like IPv6 only even though only IPv4 is available:
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1041

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug nscd/29415] getaddrinfo with AI_ADDRCONFIG returns addresses with wrong family
  2022-07-27  9:36 [Bug nscd/29415] New: getaddrinfo with AI_ADDRCONFIG returns addresses with wrong family fabian@ritter-vogt.de
@ 2022-08-29 13:52 ` mliska at suse dot cz
  2022-08-29 19:56 ` mliska at suse dot cz
  2022-08-30  6:47 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mliska at suse dot cz @ 2022-08-29 13:52 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29415

Martin Liska <mliska at suse dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mliska at suse dot cz

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug nscd/29415] getaddrinfo with AI_ADDRCONFIG returns addresses with wrong family
  2022-07-27  9:36 [Bug nscd/29415] New: getaddrinfo with AI_ADDRCONFIG returns addresses with wrong family fabian@ritter-vogt.de
  2022-08-29 13:52 ` [Bug nscd/29415] " mliska at suse dot cz
@ 2022-08-29 19:56 ` mliska at suse dot cz
  2022-08-30  6:47 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mliska at suse dot cz @ 2022-08-29 19:56 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29415

Martin Liska <mliska at suse dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Martin Liska <mliska at suse dot cz> ---
Fixed in 02ca25fef2785974011e9c5beecc99b900b69fd7.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug nscd/29415] getaddrinfo with AI_ADDRCONFIG returns addresses with wrong family
  2022-07-27  9:36 [Bug nscd/29415] New: getaddrinfo with AI_ADDRCONFIG returns addresses with wrong family fabian@ritter-vogt.de
  2022-08-29 13:52 ` [Bug nscd/29415] " mliska at suse dot cz
  2022-08-29 19:56 ` mliska at suse dot cz
@ 2022-08-30  6:47 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2022-08-30  6:47 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29415

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.37
              Flags|                            |security-
                 CC|                            |fweimer at redhat dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-30  6:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27  9:36 [Bug nscd/29415] New: getaddrinfo with AI_ADDRCONFIG returns addresses with wrong family fabian@ritter-vogt.de
2022-08-29 13:52 ` [Bug nscd/29415] " mliska at suse dot cz
2022-08-29 19:56 ` mliska at suse dot cz
2022-08-30  6:47 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).