[patch #9726] mDNS: probe rate limiting if more then 15 conflicts occur in a 10 second period

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[patch #9726] mDNS: probe rate limiting if more then 15 conflicts occur in a 10 second period

Jasper Verschueren
URL:
  <https://savannah.nongnu.org/patch/?9726>

                 Summary: mDNS: probe rate limiting if more then 15 conflicts
occur in a 10 second period
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: jasperv
            Submitted on: Mon 19 Nov 2018 11:40:25 AM 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:

Functionality:
According to RFC6762 section 8.1: If fifteen conflicts occur within any
ten-second period, then the host MUST wait at least five seconds before each
successive additional probe attempt.

Implementation:
By keeping a list of timestamps of conflicts we can easily check if 15
conflicts occurred in a 10 second time window without the need of timers.
When it does, we will change the probe wait time on restart from 0-250ms to 5
seconds.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 19 Nov 2018 11:40:25 AM CET  Name:
0001-mDNS-probe-rate-limiting-if-more-then-15-conflicts-o.patch  Size: 6KiB  
By: jasperv

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

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel
Reply | Threaded
Open this post in threaded view
|

[patch #9726] mDNS: probe rate limiting if more then 15 conflicts occur in a 10 second period

Jasper Verschueren
Update of patch #9726 (project lwip):

                  Status:                    None => Done                  
             Open/Closed:                    Open => Closed                

    _______________________________________________________

Follow-up Comment #1:

Applied, thanks!

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel