scapy.contrib.send
Secure Neighbor Discovery (SEND) - RFC3971
- class scapy.contrib.send.CGA_Params(_pkt, /, *, modifier=<RandBin>, subprefix=b'', cc=0, pubkey=<X509_SubjectPublicKeyInfo |>)[source]
Bases:
Packet
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MODIFIER | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SUBPREFIX | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CC | PUBKEY | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CGA_Params
CGA_Params fields modifier
<RandBin>
subprefix
b''
cc
0
pubkey
<X509_SubjectPublicKeyInfo |>
- class scapy.contrib.send.ICMPv6NDOptCGA(_pkt, /, *, type=11, len=None, padlength=0, reserved=0, CGA_PARAMS=b'', padding=b'')[source]
Bases:
_ICMPv6NDGuessPayload
,Packet
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | PADLENGTH | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CGA PARAMS | PADDING | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ICMPv6NDOptCGA
ICMPv6NDOptCGA fields type
11
len
None
padlength
0
reserved
0
CGA_PARAMS
b''
padding
b''
- class scapy.contrib.send.ICMPv6NDOptNonce(_pkt, /, *, type=14, len=None, nonce=b'')[source]
Bases:
_ICMPv6NDGuessPayload
,Packet
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | NONCE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ICMPv6NDOptNonce
ICMPv6NDOptNonce fields type
14
len
None
nonce
b''
- class scapy.contrib.send.ICMPv6NDOptRsaSig(_pkt, /, *, type=12, len=None, reserved=0, key_hash=b'', signature_pad=b'')[source]
Bases:
_ICMPv6NDGuessPayload
,Packet
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | KEY HASH | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SIGNATURE PAD | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ICMPv6NDOptRsaSig
ICMPv6NDOptRsaSig fields type
12
len
None
reserved
0
key_hash
b''
signature_pad
b''
- class scapy.contrib.send.ICMPv6NDOptTmstp(_pkt, /, *, type=13, len=2, reserved=0, timestamp=None)[source]
Bases:
_ICMPv6NDGuessPayload
,Packet
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TIMESTAMP | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ICMPv6NDOptTmstp
ICMPv6NDOptTmstp fields type
13
len
2
reserved
BitField
(48 bits)0
timestamp
None