lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #9724] mDNS: add probe tiebreaking


From: Jasper Verschueren
Subject: [lwip-devel] [patch #9724] mDNS: add probe tiebreaking
Date: Fri, 16 Nov 2018 08:33:20 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36

URL:
  <https://savannah.nongnu.org/patch/?9724>

                 Summary: mDNS: add probe tiebreaking
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: jasperv
            Submitted on: Fri 16 Nov 2018 02:33:18 PM CET
                Category: apps
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Hi All,

In the below patches you can find code to add the probe tiebreaking
functionality to mDNS. This is important for solving conflicts if a lot of
hosts power on at more or less the same time.

The basic functionality is:
During probing the probe messages that are received are evaluated against the
probe message we are sending out.
If they have the same probe question in them, we consult the authoritative
section of the message to find the answers to the probes. These are the RR's
the two probing hosts would like to use. We compare them in lexicographical
order and the lexicographical later host wins. The winner can ignore the probe
packet. The loser must wait one second. After one second the host retries with
the same names. 
For a more detailed explanation see RFC6762 section 8.2.

Kind regards,
Jasper



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 16 Nov 2018 02:33:18 PM CET  Name:
0001-mDNS-split-probe-packet-definition-and-split-outpkt-.patch  Size: 11KiB  
By: jasperv

<http://savannah.nongnu.org/patch/download.php?file_id=45446>
-------------------------------------------------------
Date: Fri 16 Nov 2018 02:33:18 PM CET  Name:
0002-mDNS-probe-tiebreaking-added.patch  Size: 23KiB   By: jasperv

<http://savannah.nongnu.org/patch/download.php?file_id=45447>

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/patch/?9724>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]