scapy.layers.isakmp

ISAKMP (Internet Security Association and Key Management Protocol).

class scapy.layers.isakmp.ISAKMP

Bases: scapy.layers.isakmp.ISAKMP_class

aliastypes
answers(other)
fields_desc
ISAKMP fields

init_cookie

StrFixedLenField

b''

resp_cookie

StrFixedLenField

b''

next_payload

ByteEnumField

0

version

XByteField

16

exch_type

ByteEnumField

0

flags

FlagsField (8 bits)

<Flag 0 ()>

id

IntField

0

length

IntField

None

guess_payload_class(payload)
post_build(p, pay)
class scapy.layers.isakmp.ISAKMPTransformSetField(name, default, fld=None, length_from=None, max_length=None)

Bases: scapy.fields.StrLenField

i2m(pkt, i)
islist = 1
m2i(pkt, m)
static num2type(typ, enc)
static type2num(type_val_tuple)
class scapy.layers.isakmp.ISAKMP_class

Bases: scapy.packet.Packet

aliastypes
guess_payload_class(payload)
class scapy.layers.isakmp.ISAKMP_payload

Bases: scapy.layers.isakmp.ISAKMP_class

aliastypes
fields_desc
ISAKMP_payload fields

next_payload

ByteEnumField

None

res

ByteField

0

length

FieldLenField

None

load

StrLenField

b''

class scapy.layers.isakmp.ISAKMP_payload_Hash

Bases: scapy.layers.isakmp.ISAKMP_payload

aliastypes
fields_desc
ISAKMP_payload_Hash fields

next_payload

ByteEnumField

None

res

ByteField

0

length

FieldLenField

None

load

StrLenField

b''

class scapy.layers.isakmp.ISAKMP_payload_ID

Bases: scapy.layers.isakmp.ISAKMP_class

aliastypes
fields_desc
ISAKMP_payload_ID fields

next_payload

ByteEnumField

None

res

ByteField

0

length

FieldLenField

None

IDtype

ByteEnumField

1

ProtoID

ByteEnumField

0

Port

ShortEnumField

0

load

StrLenField

b''

class scapy.layers.isakmp.ISAKMP_payload_KE

Bases: scapy.layers.isakmp.ISAKMP_payload

aliastypes
fields_desc
ISAKMP_payload_KE fields

next_payload

ByteEnumField

None

res

ByteField

0

length

FieldLenField

None

load

StrLenField

b''

class scapy.layers.isakmp.ISAKMP_payload_Nonce

Bases: scapy.layers.isakmp.ISAKMP_payload

aliastypes
fields_desc
ISAKMP_payload_Nonce fields

next_payload

ByteEnumField

None

res

ByteField

0

length

FieldLenField

None

load

StrLenField

b''

class scapy.layers.isakmp.ISAKMP_payload_Proposal

Bases: scapy.layers.isakmp.ISAKMP_class

aliastypes
fields_desc
ISAKMP_payload_Proposal fields

next_payload

ByteEnumField

None

res

ByteField

0

length

FieldLenField

None

proposal

ByteField

1

proto

ByteEnumField

1

SPIsize

FieldLenField

None

trans_nb

ByteField

None

SPI

StrLenField

b''

trans

PacketLenField

<Raw  |>

class scapy.layers.isakmp.ISAKMP_payload_SA

Bases: scapy.layers.isakmp.ISAKMP_class

aliastypes
fields_desc
ISAKMP_payload_SA fields

next_payload

ByteEnumField

None

res

ByteField

0

length

FieldLenField

None

DOI

IntEnumField

1

situation

IntEnumField

1

prop

PacketLenField

<Raw  |>

class scapy.layers.isakmp.ISAKMP_payload_Transform

Bases: scapy.layers.isakmp.ISAKMP_class

aliastypes
fields_desc
ISAKMP_payload_Transform fields

next_payload

ByteEnumField

None

res

ByteField

0

length

ShortField

None

num

ByteField

None

id

ByteEnumField

1

res2

ShortField

0

transforms

ISAKMPTransformSetField

None

post_build(p, pay)
class scapy.layers.isakmp.ISAKMP_payload_VendorID

Bases: scapy.layers.isakmp.ISAKMP_payload

aliastypes
fields_desc
ISAKMP_payload_VendorID fields

next_payload

ByteEnumField

None

res

ByteField

0

length

FieldLenField

None

load

StrLenField

b''

scapy.layers.isakmp.ikescan(ip)

Sends/receives a ISAMPK payload SA with payload proposal