Skip to content

Support for pcapng interface name #1761

Open
@mika1337

Description

@mika1337

Question

Hello,

I am using PcapPlusPlus to capture from multiple network interfaces into a single pcapng file.
I have noticed that the resulting pcapng file has no interface information so I dig into the PcapPlusPlus code and also into the LightPcapNg code.

From my understanding two things are needed for interfaces name to work:

  • an interface description block which sets the interface name
  • an interface_id in the packet header which refers to an interface previously described

Looking into LightPcapNg API it seems you can’t set information on interfaces names, only interface_id can be set.

Am I correct ?
If I am, is there a way using PcapPlusPlus to set interface names in pcapng file ?

Michael

Operating systems

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions