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

Submitter:  Sebastian Unger <sebunger>
Submitted:  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:  pfsmorigo Originator Name: 
Open/Closed:  Closed Release:  other
Release:  Reproducibility:  Every Time
Planned Release:  None

Tue 05 Nov 2013 07:48:40 PM UTC, comment #3: 
Paulo Flabiano Smorigo <pfsmorigo>
Project Member
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 Member
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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

     

     

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