-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add handling of NTPv5 to the server (#1153)
* WIP v5 server test * Added WIP v5 server test * Add draft id to every packet and only allow v5 with draft id to respond This also fixed NTPv5 extension field handling along the way... * Implement NTPv5 Negotiation in NTPv4 for the server side * Fix clippy warning * Fix error in parsing NTPv5 extensions without padding * Rename feature to reflect its unstablenes * Only respond to upgrade request if they also include the correct draftid --------- Co-authored-by: Marlon Baeten <marlon@tweedegolf.com>
- Loading branch information
1 parent
284ce54
commit 39a15e9
Showing
5 changed files
with
340 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.