Skip to content

fix(ipv6): a jumbogram's payload is not dissected and is reported as trailer #1434

Closed

Description

@JarryShaw

Describe the bug
An IPv6 jumbogram (Payload Length 0 plus a Hop-by-Hop Jumbo Payload option, RFC 2675) does not parse its payload. On main the next layer is NoPayload and the rebuild is lossy: 72 → 40 bare, 86 → 54 inside Ethernet. #1431 makes the bytes round-trip exactly, but only by reporting the whole jumbo payload as trailer.

Expected behavior
When a Jumbo option is present with Payload Length 0, the Jumbo Payload Length gives the payload extent. The payload is dissected as the next header, and only octets beyond it are trailer.

Found by the #1431 cross-review. Blocked until #1431 merges, since it owns protocols/{,schema/,data/}internet/ipv6.py.

Activity

  1. added
    fixPull requests that fix a defect (fix: subject prefix)
    blockedDeferred pending another issue or decision; see the last comment for what unblocks it
    on Oct 8, 2026
  2. JarryShaw commented on Oct 8, 2026

    @JarryShaw
    OwnerAuthor

    Unblocked: #1431 merged (0ace21349), so protocols/{,schema/,data/}internet/ipv6.py is free. Moving to pending.

  3. added
    pendingAccepted and unstarted - nobody is on it and nothing blocks it
    and removed
    blockedDeferred pending another issue or decision; see the last comment for what unblocks it
    on Oct 8, 2026
  4. JarryShaw commented on Oct 8, 2026

    @JarryShaw
    OwnerAuthor

    A worker is on it now, on branch fix/1434-ipv6-jumbogram-payload.

  5. added
    wipWork in flight - a covering PR is open or an agent is actively on it
    and removed
    pendingAccepted and unstarted - nobody is on it and nothing blocks it
    on Oct 8, 2026
  6. removed
    wipWork in flight - a covering PR is open or an agent is actively on it
    on Oct 8, 2026
  7. added this to the PyPCAPKit v1.5 milestone on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixPull requests that fix a defect (fix: subject prefix)

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions