Skip to content

NTP parser written in rust with nom

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

rusticata/ntp-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ntp-parser

License: MIT Apache License 2.0 Build Status Crates.io Version

Overview

ntp-parser is a parser for the NTP protocol.

This crate mostly serves as a demo/example crate for network protocol parsers written using nom, and nom-derive.

Changes

0.6.0

  • Upgrade to nom 7

0.5.0

  • Upgrade to nom 6
  • Convert all macro-based parsers to functions
  • Convert to nom-derive
  • Add support for NTP version 3, update function names to match version

0.4.0

  • Set edition to 2018
  • Upgrade to nom 5

0.3.0

  • Upgrade to nom 4

0.2.1

  • Fix parsing of extensions

0.2.0

  • Use newtype for NtpMode, remove enum_primitive
  • Switch license to MIT + APLv2

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

NTP parser written in rust with nom

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages