public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug network/26600] New: Transaction ID collisions cause slow DNS lookups in getaddrinfo
@ 2020-09-11 13:01 fweimer at redhat dot com
  2020-09-11 13:02 ` [Bug network/26600] " fweimer at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2020-09-11 13:01 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 26600
           Summary: Transaction ID collisions cause slow DNS lookups in
                    getaddrinfo
           Product: glibc
           Version: 2.33
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
  Target Milestone: ---
             Flags: security-

If the A and AAAA queries have equal transaction IDs, the initial AAAA response
is not recognized as valid, resulting in timeouts and retransmits.

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

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

* [Bug network/26600] Transaction ID collisions cause slow DNS lookups in getaddrinfo
  2020-09-11 13:01 [Bug network/26600] New: Transaction ID collisions cause slow DNS lookups in getaddrinfo fweimer at redhat dot com
@ 2020-09-11 13:02 ` fweimer at redhat dot com
  2020-09-11 13:05 ` fweimer at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2020-09-11 13:02 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=19691
                 CC|                            |fweimer at redhat dot com
           Assignee|unassigned at sourceware dot org   |fweimer at redhat dot com
             Status|NEW                         |ASSIGNED

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
This bug is distinct from bug 19691 in the sense that it is possible to fix it
without reworking the buffer management.

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

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

* [Bug network/26600] Transaction ID collisions cause slow DNS lookups in getaddrinfo
  2020-09-11 13:01 [Bug network/26600] New: Transaction ID collisions cause slow DNS lookups in getaddrinfo fweimer at redhat dot com
  2020-09-11 13:02 ` [Bug network/26600] " fweimer at redhat dot com
@ 2020-09-11 13:05 ` fweimer at redhat dot com
  2020-10-14  9:34 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2020-09-11 13:05 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
Patch posted:
https://sourceware.org/pipermail/libc-alpha/2020-September/117547.html

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

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

* [Bug network/26600] Transaction ID collisions cause slow DNS lookups in getaddrinfo
  2020-09-11 13:01 [Bug network/26600] New: Transaction ID collisions cause slow DNS lookups in getaddrinfo fweimer at redhat dot com
  2020-09-11 13:02 ` [Bug network/26600] " fweimer at redhat dot com
  2020-09-11 13:05 ` fweimer at redhat dot com
@ 2020-10-14  9:34 ` cvs-commit at gcc dot gnu.org
  2020-10-14  9:34 ` fweimer at redhat dot com
  2020-11-10 16:00 ` cvs-commit at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-10-14  9:34 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Florian Weimer <fw@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f1f00c072138af90ae6da180f260111f09afe7a3

commit f1f00c072138af90ae6da180f260111f09afe7a3
Author: Florian Weimer <fweimer@redhat.com>
Date:   Wed Oct 14 10:54:39 2020 +0200

    resolv: Handle transaction ID collisions in parallel queries (bug 26600)

    If the transaction IDs are equal, the old check attributed both
    responses to the first query, not recognizing the second response.
    This fixes bug 26600.

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

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

* [Bug network/26600] Transaction ID collisions cause slow DNS lookups in getaddrinfo
  2020-09-11 13:01 [Bug network/26600] New: Transaction ID collisions cause slow DNS lookups in getaddrinfo fweimer at redhat dot com
                   ` (2 preceding siblings ...)
  2020-10-14  9:34 ` cvs-commit at gcc dot gnu.org
@ 2020-10-14  9:34 ` fweimer at redhat dot com
  2020-11-10 16:00 ` cvs-commit at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2020-10-14  9:34 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.33

--- Comment #4 from Florian Weimer <fweimer at redhat dot com> ---
Fixed for glibc 2.33.

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

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

* [Bug network/26600] Transaction ID collisions cause slow DNS lookups in getaddrinfo
  2020-09-11 13:01 [Bug network/26600] New: Transaction ID collisions cause slow DNS lookups in getaddrinfo fweimer at redhat dot com
                   ` (3 preceding siblings ...)
  2020-10-14  9:34 ` fweimer at redhat dot com
@ 2020-11-10 16:00 ` cvs-commit at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-11-10 16:00 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.32/master branch has been updated by Florian Weimer
<fw@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2dfa659a66f20facc4082207884c20e986ddecee

commit 2dfa659a66f20facc4082207884c20e986ddecee
Author: Florian Weimer <fweimer@redhat.com>
Date:   Wed Oct 14 10:54:39 2020 +0200

    resolv: Handle transaction ID collisions in parallel queries (bug 26600)

    If the transaction IDs are equal, the old check attributed both
    responses to the first query, not recognizing the second response.
    This fixes bug 26600.

    (cherry picked from commit f1f00c072138af90ae6da180f260111f09afe7a3)

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

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

end of thread, other threads:[~2020-11-10 16:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-11 13:01 [Bug network/26600] New: Transaction ID collisions cause slow DNS lookups in getaddrinfo fweimer at redhat dot com
2020-09-11 13:02 ` [Bug network/26600] " fweimer at redhat dot com
2020-09-11 13:05 ` fweimer at redhat dot com
2020-10-14  9:34 ` cvs-commit at gcc dot gnu.org
2020-10-14  9:34 ` fweimer at redhat dot com
2020-11-10 16:00 ` cvs-commit at gcc dot gnu.org

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).