scapy.contrib.isis¶
IS-IS Scapy Extension¶
- copyright
2014-2016 BENOCS GmbH, Berlin (Germany)
- author
Marcel Patzlaff, mpatzlaff@benocs.com Michal Kaliszan, mkaliszan@benocs.com
- license
GPLv2
This module is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This module is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
- description
This module provides Scapy layers for the Intermediate System to Intermediate System routing protocol as defined in RFC 1195.
Currently it (partially) supports the packaging/encoding requirements of the following RFCs: * RFC 1195 (only the TCP/IP related part) * RFC 3358 (optional checksums) * RFC 5301 (dynamic hostname extension) * RFC 5302 (domain-wide prefix distribution) * RFC 5303 (three-way handshake) * RFC 5304 (cryptographic authentication) * RFC 5308 (routing IPv6 with IS-IS)
- TODO
packet relations (requests, responses)
support for recent RFCs: * RFC 5305 (traffic engineering) * RFC 5307 (support for G-MPLS) * RFC 5310 (generic cryptographic authentication) * RFC 5316 (inter-AS MPLS and G-MPLS TE)
-
class
scapy.contrib.isis.ISIS_32bitAdministrativeTagSubTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericSubTlv-
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 | TAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_32bitAdministrativeTagSubTlvISIS_32bitAdministrativeTagSubTlv fields¶ type
1len
Nonetags
[]
-
-
class
scapy.contrib.isis.ISIS_64bitAdministrativeTagSubTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericSubTlv-
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 | TAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_64bitAdministrativeTagSubTlvISIS_64bitAdministrativeTagSubTlv fields¶ type
2len
Nonetags
[]
-
-
class
scapy.contrib.isis.ISIS_AdministrativeGroupSubTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericSubTlv-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CODE | LEN | ADMINGROUP | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_AdministrativeGroupSubTlvISIS_AdministrativeGroupSubTlv fields¶ code
3len
Noneadmingroup
'0.0.0.1'
-
-
class
scapy.contrib.isis.ISIS_AreaEntry(*args, **kargs)¶ Bases:
scapy.packet.Packet-
aliastypes¶
-
extract_padding(s)¶
-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AREALEN | AREAID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_AreaEntryISIS_AreaEntry fields¶ arealen
Noneareaid
'49'
-
-
class
scapy.contrib.isis.ISIS_AreaIdField(name, default, length_from)¶ Bases:
scapy.fields.Field-
addfield(pkt, s, val)¶
-
getfield(pkt, s)¶
-
i2len(pkt, x)¶
-
i2m(pkt, x)¶
-
length_from¶
-
m2i(pkt, x)¶
-
randval()¶
-
-
class
scapy.contrib.isis.ISIS_AreaTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | AREAS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_AreaTlvISIS_AreaTlv fields¶ type
1len
Noneareas
[]
-
-
class
scapy.contrib.isis.ISIS_AuthenticationTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | AUTHTYPE | PASSWORD | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ISIS_AuthenticationTlvISIS_AuthenticationTlv fields¶ type
10len
Noneauthtype
1password
b''
-
-
class
scapy.contrib.isis.ISIS_BufferSizeTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | LSPBUFFERSIZE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_BufferSizeTlvISIS_BufferSizeTlv fields¶ type
14len
2lspbuffersize
1497
-
-
class
scapy.contrib.isis.ISIS_ChecksumTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | CHECKSUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_ChecksumTlvISIS_ChecksumTlv fields¶ type
12len
2checksum
None
-
-
class
scapy.contrib.isis.ISIS_CircuitTypeField(name='circuittype', default=2, size=8, names=None)¶ Bases:
scapy.fields.FlagsField
-
class
scapy.contrib.isis.ISIS_CommonHdr(*args, **kargs)¶ Bases:
scapy.packet.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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NLPID | HDRLEN | VERSION | IDLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PDUTYPE | PDUVERSION | HDRRESERVED | MAXAREAADDR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_CommonHdrISIS_CommonHdr fields¶ nlpid
131hdrlen
Noneversion
1idlen
0pdutype
Nonepduversion
1hdrreserved
0maxareaaddr
0
-
payload_guess¶ Possible sublayers:
ISIS_L1_CSNP,ISIS_L1_LAN_Hello,ISIS_L1_LSP,ISIS_L1_PSNP,ISIS_L2_CSNP,ISIS_L2_LAN_Hello,ISIS_L2_LSP,ISIS_L2_PSNP,ISIS_P2P_Hello
-
post_build(pkt, pay)¶
-
-
class
scapy.contrib.isis.ISIS_DynamicHostnameTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | HOSTNAME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_DynamicHostnameTlvISIS_DynamicHostnameTlv fields¶ type
137len
Nonehostname
b''
-
-
class
scapy.contrib.isis.ISIS_ExtendedIpPrefix(*args, **kargs)¶ Bases:
scapy.packet.Packet-
aliastypes¶
-
extract_padding(s)¶
-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | METRIC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U|S| PFXLEN | PFX | +-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | SUBTLVSLEN | SUBTLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_ExtendedIpPrefixISIS_ExtendedIpPrefix fields¶ metric
1updown
BitField(1 bit)0subtlvindicator
BitField(1 bit)0pfxlen
BitFieldLenField(6 bits)Nonepfx
('0.0.0.0', 1)subtlvslen
FieldLenField(Cond)Nonesubtlvs
PacketListField(Cond)[]
-
-
class
scapy.contrib.isis.ISIS_ExtendedIpReachabilityTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | PFXS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_ExtendedIpReachabilityTlvISIS_ExtendedIpReachabilityTlv fields¶ type
135len
Nonepfxs
[]
-
-
class
scapy.contrib.isis.ISIS_ExtendedIsNeighbourEntry(*args, **kargs)¶ Bases:
scapy.packet.Packet-
aliastypes¶
-
extract_padding(s)¶
-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NEIGHBOURID | + +-+-+-+-+-+-+-+-+ | | METRIC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | SUBTLVSLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SUBTLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_ExtendedIsNeighbourEntryISIS_ExtendedIsNeighbourEntry fields¶ neighbourid
'0102.0304.0506.07'metric
1subtlvslen
Nonesubtlvs
[]
-
-
class
scapy.contrib.isis.ISIS_ExtendedIsReachabilityTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | NEIGHBOURS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_ExtendedIsReachabilityTlvISIS_ExtendedIsReachabilityTlv fields¶ type
22len
Noneneighbours
[]
-
-
class
scapy.contrib.isis.ISIS_ExternalIpReachabilityTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | ENTRIES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_ExternalIpReachabilityTlvISIS_ExternalIpReachabilityTlv fields¶ type
130len
Noneentries
[]
-
-
class
scapy.contrib.isis.ISIS_GenericSubTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis._ISIS_GenericTlv_Base-
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 | VAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_GenericSubTlvISIS_GenericSubTlv fields¶ type
0len
Noneval
b''
-
-
class
scapy.contrib.isis.ISIS_GenericTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis._ISIS_GenericTlv_Base-
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 | VAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_GenericTlvISIS_GenericTlv fields¶ type
0len
Noneval
b''
-
-
class
scapy.contrib.isis.ISIS_IPv4InterfaceAddressSubTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericSubTlv-
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 | ADDRESS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_IPv4InterfaceAddressSubTlvISIS_IPv4InterfaceAddressSubTlv fields¶ type
6len
Noneaddress
'0.0.0.0'
-
-
class
scapy.contrib.isis.ISIS_IPv4NeighborAddressSubTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericSubTlv-
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 | ADDRESS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_IPv4NeighborAddressSubTlvISIS_IPv4NeighborAddressSubTlv fields¶ type
8len
Noneaddress
'0.0.0.0'
-
-
class
scapy.contrib.isis.ISIS_IPv6InterfaceAddressSubTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericSubTlv-
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 | ADDRESS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + + | | + + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_IPv6InterfaceAddressSubTlvISIS_IPv6InterfaceAddressSubTlv fields¶ type
12len
Noneaddress
'::'
-
-
class
scapy.contrib.isis.ISIS_IPv6NeighborAddressSubTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericSubTlv-
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 | ADDRESS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + + | | + + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_IPv6NeighborAddressSubTlvISIS_IPv6NeighborAddressSubTlv fields¶ type
13len
Noneaddress
'::'
-
-
class
scapy.contrib.isis.ISIS_InternalIpReachabilityTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | ENTRIES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_InternalIpReachabilityTlvISIS_InternalIpReachabilityTlv fields¶ type
128len
Noneentries
[]
-
-
class
scapy.contrib.isis.ISIS_IpInterfaceAddressTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | ADDRESSES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_IpInterfaceAddressTlvISIS_IpInterfaceAddressTlv fields¶ type
132len
Noneaddresses
[]
-
-
class
scapy.contrib.isis.ISIS_IpReachabilityEntry(*args, **kargs)¶ Bases:
scapy.packet.Packet-
aliastypes¶
-
extract_padding(s)¶
-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DEFMETRIC | DELMETRIC | EXPMETRIC | ERRMETRIC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IPADDRESS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SUBNETMASK | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_IpReachabilityEntryISIS_IpReachabilityEntry fields¶ defmetric
1delmetric
128expmetric
128errmetric
128ipaddress
'0.0.0.0'subnetmask
'255.255.255.255'
-
-
class
scapy.contrib.isis.ISIS_Ipv6InterfaceAddressTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | ADDRESSES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_Ipv6InterfaceAddressTlvISIS_Ipv6InterfaceAddressTlv fields¶ type
232len
Noneaddresses
[]
-
-
class
scapy.contrib.isis.ISIS_Ipv6Prefix(*args, **kargs)¶ Bases:
scapy.packet.Packet-
aliastypes¶
-
extract_padding(s)¶
-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | METRIC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U|E|S| RESERVED| PFXLEN | PFX | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + + | | + + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | SUBTLVSLEN | SUBTLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ISIS_Ipv6PrefixISIS_Ipv6Prefix fields¶ metric
1updown
BitField(1 bit)0external
BitField(1 bit)0subtlvindicator
BitField(1 bit)0reserved
BitField(5 bits)0pfxlen
Nonepfx
('::', 1)subtlvslen
FieldLenField(Cond)Nonesubtlvs
PacketListField(Cond)[]
-
-
class
scapy.contrib.isis.ISIS_Ipv6ReachabilityTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | PFXS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_Ipv6ReachabilityTlvISIS_Ipv6ReachabilityTlv fields¶ type
236len
Nonepfxs
[]
-
-
class
scapy.contrib.isis.ISIS_IsNeighbourTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | NEIGHBOURS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_IsNeighbourTlvISIS_IsNeighbourTlv fields¶ type
6len
Noneneighbours
[]
-
-
class
scapy.contrib.isis.ISIS_IsReachabilityEntry(*args, **kargs)¶ Bases:
scapy.packet.Packet-
aliastypes¶
-
extract_padding(s)¶
-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DEFMETRIC | DELMETRIC | EXPMETRIC | ERRMETRIC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NEIGHBOURID | + +-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_IsReachabilityEntryISIS_IsReachabilityEntry fields¶ defmetric
1delmetric
128expmetric
128errmetric
128neighbourid
'0102.0304.0506.07'
-
-
class
scapy.contrib.isis.ISIS_IsReachabilityTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | VIRTUAL | NEIGHBOURS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ISIS_IsReachabilityTlvISIS_IsReachabilityTlv fields¶ type
2len
Nonevirtual
0neighbours
[]
-
-
class
scapy.contrib.isis.ISIS_L1_CSNP(*args, **kargs)¶ Bases:
scapy.contrib.isis._ISIS_CSNP_Base-
aliastypes¶
-
answers(other)¶
-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PDULENGTH | SOURCEID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | STARTLSPID | +-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ENDLSPID | +-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_L1_CSNPISIS_L1_CSNP fields¶ pdulength
_ISIS_PduLengthFieldNonesourceid
'0102.0304.0506.00'startlspid
'0000.0000.0000.00-00'endlspid
'FFFF.FFFF.FFFF.FF-FF'tlvs
_ISIS_TlvListField[]
-
-
class
scapy.contrib.isis.ISIS_L1_LAN_Hello(*args, **kargs)¶ Bases:
scapy.contrib.isis._ISIS_LAN_HelloBase-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CIRCUITTYPE | SOURCEID | +-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+ | | HOLDINGTIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PDULENGTH | PRIORITY | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LANID | + +-+-+-+-+-+-+-+-+ | | TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ISIS_L1_LAN_HelloISIS_L1_LAN_Hello fields¶ circuittype
ISIS_CircuitTypeField(8 bits)<Flag 2 (L2)>sourceid
'0102.0304.0506'holdingtime
30pdulength
_ISIS_PduLengthFieldNonepriority
1lanid
'0000.0000.0000.00'tlvs
_ISIS_TlvListField[]
-
-
class
scapy.contrib.isis.ISIS_L1_LSP(*args, **kargs)¶ Bases:
scapy.contrib.isis._ISIS_LSP_Base-
aliastypes¶
-
answers(other)¶
-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PDULENGTH | LIFETIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LSPID | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SEQNUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHECKSUM | TYPEBLOCK | TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ISIS_L1_LSPISIS_L1_LSP fields¶ pdulength
_ISIS_PduLengthFieldNonelifetime
1199lspid
'0102.0304.0506.00-00'seqnum
1checksum
Nonetypeblock
FlagsField(8 bits)<Flag 3 (L1+L2)>tlvs
_ISIS_TlvListField[]
-
-
class
scapy.contrib.isis.ISIS_L1_PSNP(*args, **kargs)¶ Bases:
scapy.contrib.isis._ISIS_PSNP_Base-
aliastypes¶
-
answers(other)¶
-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PDULENGTH | SOURCEID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_L1_PSNPISIS_L1_PSNP fields¶ pdulength
_ISIS_PduLengthFieldNonesourceid
'0102.0304.0506.00'tlvs
_ISIS_TlvListField[]
-
-
class
scapy.contrib.isis.ISIS_L2_CSNP(*args, **kargs)¶ Bases:
scapy.contrib.isis._ISIS_CSNP_Base-
aliastypes¶
-
answers(other)¶
-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PDULENGTH | SOURCEID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | STARTLSPID | +-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ENDLSPID | +-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_L2_CSNPISIS_L2_CSNP fields¶ pdulength
_ISIS_PduLengthFieldNonesourceid
'0102.0304.0506.00'startlspid
'0000.0000.0000.00-00'endlspid
'FFFF.FFFF.FFFF.FF-FF'tlvs
_ISIS_TlvListField[]
-
-
class
scapy.contrib.isis.ISIS_L2_LAN_Hello(*args, **kargs)¶ Bases:
scapy.contrib.isis._ISIS_LAN_HelloBase-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CIRCUITTYPE | SOURCEID | +-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+ | | HOLDINGTIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PDULENGTH | PRIORITY | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LANID | + +-+-+-+-+-+-+-+-+ | | TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ISIS_L2_LAN_HelloISIS_L2_LAN_Hello fields¶ circuittype
ISIS_CircuitTypeField(8 bits)<Flag 2 (L2)>sourceid
'0102.0304.0506'holdingtime
30pdulength
_ISIS_PduLengthFieldNonepriority
1lanid
'0000.0000.0000.00'tlvs
_ISIS_TlvListField[]
-
-
class
scapy.contrib.isis.ISIS_L2_LSP(*args, **kargs)¶ Bases:
scapy.contrib.isis._ISIS_LSP_Base-
aliastypes¶
-
answers(other)¶
-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PDULENGTH | LIFETIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LSPID | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SEQNUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHECKSUM | TYPEBLOCK | TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ISIS_L2_LSPISIS_L2_LSP fields¶ pdulength
_ISIS_PduLengthFieldNonelifetime
1199lspid
'0102.0304.0506.00-00'seqnum
1checksum
Nonetypeblock
FlagsField(8 bits)<Flag 3 (L1+L2)>tlvs
_ISIS_TlvListField[]
-
-
class
scapy.contrib.isis.ISIS_L2_PSNP(*args, **kargs)¶ Bases:
scapy.contrib.isis._ISIS_PSNP_Base-
aliastypes¶
-
answers(other)¶
-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PDULENGTH | SOURCEID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_L2_PSNPISIS_L2_PSNP fields¶ pdulength
_ISIS_PduLengthFieldNonesourceid
'0102.0304.0506.00'tlvs
_ISIS_TlvListField[]
-
-
class
scapy.contrib.isis.ISIS_LinkLocalRemoteIdentifiersSubTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericSubTlv-
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 | LOCALID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | REMOTEID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_LinkLocalRemoteIdentifiersSubTlvISIS_LinkLocalRemoteIdentifiersSubTlv fields¶ type
4len
8localid
'0'remoteid
'0'
-
-
class
scapy.contrib.isis.ISIS_LspEntry(*args, **kargs)¶ Bases:
scapy.packet.Packet-
aliastypes¶
-
extract_padding(s)¶
-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LIFETIME | LSPID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | SEQNUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | CHECKSUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_LspEntryISIS_LspEntry fields¶ lifetime
1200lspid
'0102.0304.0506.07-08'seqnum
1checksum
None
-
-
class
scapy.contrib.isis.ISIS_LspEntryTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | ENTRIES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_LspEntryTlvISIS_LspEntryTlv fields¶ type
9len
Noneentries
[]
-
-
class
scapy.contrib.isis.ISIS_LspIdField(name, default)¶ Bases:
scapy.contrib.isis._ISIS_IdFieldBase-
randval()¶
-
-
class
scapy.contrib.isis.ISIS_MaximumLinkBandwidthSubTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericSubTlv-
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 | MAXBW | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_MaximumLinkBandwidthSubTlvISIS_MaximumLinkBandwidthSubTlv fields¶ type
9len
Nonemaxbw
1000
-
-
class
scapy.contrib.isis.ISIS_MaximumReservableLinkBandwidthSubTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericSubTlv-
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 | MAXRSVBW | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_MaximumReservableLinkBandwidthSubTlvISIS_MaximumReservableLinkBandwidthSubTlv fields¶ type
10len
Nonemaxrsvbw
1000
-
-
class
scapy.contrib.isis.ISIS_NodeIdField(name, default)¶ Bases:
scapy.contrib.isis._ISIS_IdFieldBase-
randval()¶
-
-
class
scapy.contrib.isis.ISIS_P2PAdjacencyStateTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | STATE |EXTLOCALCIRCUIT| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+ | |NEIGHBOURSYSTEM| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | NEIGHBOUREXTLOCALCIRCUITID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ISIS_P2PAdjacencyStateTlvISIS_P2PAdjacencyStateTlv fields¶ type
240len
_AdjacencyStateTlvLenFieldNonestate
2extlocalcircuitid
IntField(Cond)Noneneighboursystemid
ISIS_SystemIdField(Cond)Noneneighbourextlocalcircuitid
IntField(Cond)None
-
-
class
scapy.contrib.isis.ISIS_P2P_Hello(*args, **kargs)¶ Bases:
scapy.contrib.isis._ISIS_PduBase-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CIRCUITTYPE | SOURCEID | +-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+ | | HOLDINGTIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PDULENGTH | LOCALCIRCUITID| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_P2P_HelloISIS_P2P_Hello fields¶ circuittype
ISIS_CircuitTypeField(8 bits)<Flag 2 (L2)>sourceid
'0102.0304.0506'holdingtime
30pdulength
_ISIS_PduLengthFieldNonelocalcircuitid
0tlvs
_ISIS_TlvListField[]
-
-
class
scapy.contrib.isis.ISIS_PaddingTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | PADDING | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_PaddingTlvISIS_PaddingTlv fields¶ type
8len
Nonepadding
b''
-
-
class
scapy.contrib.isis.ISIS_ProtocolsSupportedTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | NLPIDS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_ProtocolsSupportedTlvISIS_ProtocolsSupportedTlv fields¶ type
129len
Nonenlpids
[]
-
-
class
scapy.contrib.isis.ISIS_SystemIdField(name, default)¶ Bases:
scapy.contrib.isis._ISIS_IdFieldBase-
randval()¶
-
-
class
scapy.contrib.isis.ISIS_TEDefaultMetricSubTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericSubTlv-
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 | TEMETRIC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_TEDefaultMetricSubTlvISIS_TEDefaultMetricSubTlv fields¶ type
18len
Nonetemetric
1000
-
-
class
scapy.contrib.isis.ISIS_TERouterIDTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericTlv-
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 | ROUTERID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_TERouterIDTlvISIS_TERouterIDTlv fields¶ type
134len
Nonerouterid
'0.0.0.0'
-
-
class
scapy.contrib.isis.ISIS_UnreservedBandwidthSubTlv(*args, **kargs)¶ Bases:
scapy.contrib.isis.ISIS_GenericSubTlv-
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 | UNRSVBW | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_UnreservedBandwidthSubTlvISIS_UnreservedBandwidthSubTlv fields¶ type
11len
Noneunrsvbw
[1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000]
-
-
scapy.contrib.isis.isis_area2str(area)¶
-
scapy.contrib.isis.isis_lspid2str(lspid)¶
-
scapy.contrib.isis.isis_nodeid2str(nodeid)¶
-
scapy.contrib.isis.isis_str2area(s)¶
-
scapy.contrib.isis.isis_str2lspid(s)¶
-
scapy.contrib.isis.isis_str2nodeid(s)¶
-
scapy.contrib.isis.isis_str2sysid(s)¶
-
scapy.contrib.isis.isis_sysid2str(sysid)¶