Skip to content

LengthWire/LengthCapture limited for a reason? #36

@michael-brade

Description

@michael-brade

See here:

pcap2json/flow.c

Lines 1580 to 1581 in 9a58a2d

assert(PktHeader->LengthWire < 16*1024);
assert(PktHeader->LengthCapture < 16*1024);

This crashes when I do a live capture on my local network because I get sizes of up to 64374 bytes. So why limit it to 14 bits instead of 16?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions