patchlwIP - A Lightweight TCP/IP stack - Patches: patch #9724, mDNS: add probe tiebreaking

 
 

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

patch #9724: mDNS: add probe tiebreaking

Submitter:  Jasper Verschueren <jasperv>
Submitted:  Fri 16 Nov 2018 01:33:18 PM UTC
   
 
Category:  apps Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Planned Release:  None

Mon 19 Nov 2018 01:33:08 PM UTC, comment #3: 

Correct, I missed the second patch! Thanks for the reminder! Applied.

Dirk Ziegelmeier <dziegel>
Group administrator
Mon 19 Nov 2018 10:30:00 AM UTC, comment #2: 

I just pulled the latest git HEAD. Could you check if you applied both patches? I only found the first one.

The first patch contains a change to the current code.
The second patch is the extra functionality.

Thanks for checking!

If you have any comments on the code let me know.

Jasper Verschueren <jasperv>
Fri 16 Nov 2018 01:55:53 PM UTC, comment #1: 

Applied, thanks!!!

Dirk Ziegelmeier <dziegel>
Group administrator
Fri 16 Nov 2018 01:33:18 PM UTC, original submission:  

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

Jasper Verschueren <jasperv>

 

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dziegel (Posted a comment)
  • -email is unavailable- added by jasperv (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-11-16 dziegel StatusNone Done
        Open/ClosedOpen Closed
    2018-11-16 jasperv Attached File- Added 0001-mDNS-split-probe-packet-definition-and-split-outpkt-.patch, #45446
        Attached File- Added 0002-mDNS-probe-tiebreaking-added.patch, #45447

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code