1.8.1 – 2026-11-27¶
A bug-fix release for OSPF, which becomes a versioned family: OSPFv3 is read with
its own 16-octet header, and OSPFv1 gets a class and registries of its own. The split
is a breaking change, marked a breaking change to and ending with how to migrate.
Sync Develop pushes main into develop itself.
Added –
OSPFv1reads OSPF version 1 as RFC 1131 lays it out, naming its packet types and AuTypes from the newpcapkit.const.ospfv1registries, generated bypcapkit.vendor.ospfv1, rather than from OSPFv2’s. Its checksum is verified on read underCHECKSUM_VERIFYand computed on build, as OSPFv2’s is, and its Authentication field is kept as captured (#3105).Changed – a breaking change to
OSPF, the abstract base of a versioned family (#3105). A parse givesOSPFv1,OSPFv2orOSPFv3by the Version octet, and a construction by itsversion, whichOSPF.from_fields()requires where it built OSPFv2. A version with no member, 0 or 4 to 255, is refused: a direct parse raisesProtocolError, and from IP protocol 89 the packet is handed on asRaw. A parsed layer is an instance of its member, solayer == 'OSPF'andlayer == OSPFare false, while'OSPF' in frameandframe['OSPF']still find it. Removed with no alias:pcapkit.protocols.application.ospf.schemaand.data, withospf_auth_data_selector; theSchema_OSPF,Data_OSPF,Schema_CryptographicAuthenticationandData_CryptographicAuthenticationnamespcapkit.protocols.application.ospfexported; and the base’sread,makeandlength. To migrate, import the OSPFv2 header’s schema and data frompcapkit.protocols.application.ospfv2, whereSchema_OSPFisSchema_OSPFv2,Data_OSPFisData_OSPFv2, theCryptographicAuthenticationnames keep theirs andospf_auth_data_selectoris in itsschema; build withOSPFv2.from_fields(...)or passversion; and test a layer withisinstance(layer, OSPF)or against its member’s name, aslayer == 'OSPFv2'.Changed – Sync Develop merges
mainintodevelopwith a merge commit and pushes it through the maintenance deploy key, opening a pull request fromsync/mainonly when that merge conflicts, where it kept one open, for a person to merge, wheneverdeveloplackedmain’s commits (#3102).Fixed –
OSPFv3reads OSPFv3’s own 16-octet header (RFC 5340 Appendix A.3.1), withinstance_idandreservedin its info. It was read with OSPFv2’s 24-octet layout, so its Instance ID and reserved octet were read asautype, the body’s first 8 octets asauth, and its payload began 8 octets late (#3105).