Class: Rex::Proto::NTP::NTPGeneric

Inherits:
BitStruct
  • Object
show all
Defined in:
lib/rex/proto/ntp/modes.rb

Overview

A very generic NTP message

Uses the common/similar parts from versions 1-4 and considers everything after to be just one big field. For the particulars on the different versions, see:

http://tools.ietf.org/html/rfc958#appendix-B
http://tools.ietf.org/html/rfc1059#appendix-B
pages 45/48 of http://tools.ietf.org/pdf/rfc1119.pdf
http://tools.ietf.org/html/rfc1305#appendix-D
http://tools.ietf.org/html/rfc5905#page-19