Skip to content

fix(udp): octets past the UDP Length field are dropped on rebuild #1461

Closed

Description

@JarryShaw

Bug. UDP drops the octets captured past its own Length field when it rebuilds.

Repro on main (ca5f6dba1):

raw = bytes.fromhex('0035003500080000') + b'pp'   # Length 8, 10 octets captured
len(UDP.from_data(UDP(raw, 10).info).data)          # 8 of 10

IPv4/IPv6 (#1431), IPX (#1435) and, in #1460, L2TPv2/OSPF keep these octets as info.trailer and accept make(trailer=). UDP should do the same.

Found by the #1455 worker.

Activity

  1. added
    fixPull requests that fix a defect (fix: subject prefix)
    pendingAccepted and unstarted - nobody is on it and nothing blocks it
    on Oct 9, 2026
  2. JarryShaw commented on Oct 9, 2026

    @JarryShaw
    OwnerAuthor

    Held: the host is loaded with six agents running. A worker starts once the current wave drains. It will follow the trailer pattern from #1431/#1435/#1460.

  3. JarryShaw commented on Oct 9, 2026

    @JarryShaw
    OwnerAuthor

    A worker is on it now, on branch fix/1461-udp-trailer.

  4. 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 9, 2026
  5. removed
    wipWork in flight - a covering PR is open or an agent is actively on it
    on Oct 9, 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

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions