buglwIP - A Lightweight TCP/IP stack - Bugs: bug #55253, SNTP retry next server instantly...

 
 

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

bug #55253: SNTP retry next server instantly result as a flood of NTP request

Submitter:  Georges Palauqui <gptechinno>
Submitted:  Thu 20 Dec 2018 09:49:42 AM UTC
   
 
Category:  apps Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

Wed 30 Jan 2019 07:43:22 PM UTC, comment #1: 

Does this patch really work? It prevents the flooding, but does it ever stop the loop of sending new requests?

I've pushed a patch obeying the KoD instead that prevents using that server again. So you'll get a short flood to all servers and then no more packets.

Simon Goldschmidt <goldsimon>
Group administrator
Thu 20 Dec 2018 09:49:42 AM UTC, original submission:  

In case SNTP_SUPPORT_MULTIPLE_SERVERS, when all servers NTP declared are available on network, but theirs stratum is in Kiss of Death (so the different requests are replied instantly with KOD), the sntp_try_next_server function instantly launch the next request which result in a flood of requests/replies on the network.

The provided patch resolve the problem.

Georges Palauqui <gptechinno>

 

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

Attached Files
file #45702:  sntp.patch added by gptechinno (526B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by gptechinno (Submitted the item)
  • -email is unavailable- added by gptechinno
  •  

    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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-30 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2018-12-20 gptechinno Attached File- Added sntp.patch, #45702
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code