Class: PacketGen::Plugin::IKE::IDr

Inherits:
IDi
  • Object
show all
Defined in:
lib/packetgen/plugin/ike/id.rb

Overview

This class handles Identification - Responder payloads, denoted IDr. See IDi.

Create a IDr payload

# Create a IKE packet with a IDr payload
pkt = PacketGen.gen('IP').add('UDP').add('IKE').add('IKE::IDr', type: 'FQDN')
pkt.ike_idr.content.read 'fqdn.example.org'

Author:

  • Sylvain Daubert

Constant Summary collapse

PAYLOAD_TYPE =

Payload type number

36

Constants inherited from IDi

PacketGen::Plugin::IKE::IDi::TYPES

Instance Attribute Summary

Attributes inherited from IDi

#reserved, #type

Attributes inherited from Payload

#content, #critical, #flags, #hreserved, #length, #next

Method Summary

Methods inherited from IDi

#human_content, #human_type

Methods inherited from Payload

#calc_length, #initialize, protocol_name

Constructor Details

This class inherits a constructor from PacketGen::Plugin::IKE::Payload