bugGNU GRUB - Bugs: bug #39710, GRUB DNS code sends combined IPv6...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #39710: GRUB DNS code sends combined IPv6 and IPv4 query

Submitted by:  Sebastian Unger <sebunger>
Submitted on:  Tue 06 Aug 2013 10:53:38 PM UTC  
 
Category:  Network Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  Paulo Flabiano Smorigo <pfsmorigo> Originator Name: 
Open/Closed:  Closed Release: 
Release:  other Reproducibility:  Every Time
Planned Release:  None

Tue 05 Nov 2013 07:48:40 PM UTC, comment #3:

fixed...
http://git.savannah.gnu.org/cgit/grub.git/commit/?id=9e236169e96a26765016e1d47d8e1f1e1385e5c5

Paulo Flabiano Smorigo <pfsmorigo>
Project MemberIn charge of this item.
Fri 25 Oct 2013 02:51:57 PM UTC, comment #2:

This patch completely mishandles the error handling.

Vladimir Serbinenko <phcoder>
Project Administrator
Fri 25 Oct 2013 02:13:05 PM UTC, comment #1:

This patch was sent a while ago to the grub-devel mailing list. This is the author's explanation:

Adding multiple questions on a single DNS query is not supportted by most DNS servers. This patch issues two separate DNS queries sequentially for ipv4 and then for ipv6.

There are 4 possible config options:
DNS_OPTION_IPV4: issue only one ipv4 query
DNS_OPTION_IPV6: issue only one ipv6 query
DNS_OPTION_PREFER_IPV4: issue the ipv4 query first and fallback to ipv6
DNS_OPTION_PREFER_IPV6: issue the ipv6 query first and fallback to ipv4
However, there is no code yet to set such config option. The default is
DNS_OPTION_PREFER_IPV4.

I tested against mainstream and worked.

The patch with the changelog:
https://gist.github.com/pfsmorigo/ee115153a00da8e09c48

Can we commit it?

Paulo Flabiano Smorigo <pfsmorigo>
Project MemberIn charge of this item.
Tue 06 Aug 2013 10:53:38 PM UTC, original submission:

AFAIK this is not supported by nameservers due to it resulting in ambiguities in the protocol. Here are some related links:

http://stackoverflow.com/questions/4082081/requesting-a-and-aaaa-records-in-single-dns-query

https://bugzilla.redhat.com/show_bug.cgi?id=860829

I am observing this behaviour with the grub that ships with Ubuntu 13.04 (2.00-13ubuntu3).

Sebastian Unger <sebunger>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by pfsmorigo (Posted a comment)
  • -email is unavailable- added by sebunger (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-11-05 pfsmorigo StatusNone => Fixed
        Assigned toNone => pfsmorigo
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.3