1.8.1 – 2026-11-27

Documentation of this release

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 – OSPFv1 reads OSPF version 1 as RFC 1131 lays it out, naming its packet types and AuTypes from the new pcapkit.const.ospfv1 registries, generated by pcapkit.vendor.ospfv1, rather than from OSPFv2’s. Its checksum is verified on read under CHECKSUM_VERIFY and 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 gives OSPFv1, OSPFv2 or OSPFv3 by the Version octet, and a construction by its version, which OSPF.from_fields() requires where it built OSPFv2. A version with no member, 0 or 4 to 255, is refused: a direct parse raises ProtocolError, and from IP protocol 89 the packet is handed on as Raw. A parsed layer is an instance of its member, so layer == 'OSPF' and layer == OSPF are false, while 'OSPF' in frame and frame['OSPF'] still find it. Removed with no alias: pcapkit.protocols.application.ospf.schema and .data, with ospf_auth_data_selector; the Schema_OSPF, Data_OSPF, Schema_CryptographicAuthentication and Data_CryptographicAuthentication names pcapkit.protocols.application.ospf exported; and the base’s read, make and length. To migrate, import the OSPFv2 header’s schema and data from pcapkit.protocols.application.ospfv2, where Schema_OSPF is Schema_OSPFv2, Data_OSPF is Data_OSPFv2, the CryptographicAuthentication names keep theirs and ospf_auth_data_selector is in its schema; build with OSPFv2.from_fields(...) or pass version; and test a layer with isinstance(layer, OSPF) or against its member’s name, as layer == 'OSPFv2'.

  • Changed – Sync Develop merges main into develop with a merge commit and pushes it through the maintenance deploy key, opening a pull request from sync/main only when that merge conflicts, where it kept one open, for a person to merge, whenever develop lacked main’s commits (#3102).

  • Fixed – OSPFv3 reads OSPFv3’s own 16-octet header (RFC 5340 Appendix A.3.1), with instance_id and reserved in its info. It was read with OSPFv2’s 24-octet layout, so its Instance ID and reserved octet were read as autype, the body’s first 8 octets as auth, and its payload began 8 octets late (#3105).