Skip to content

ndppd and tun/wg interfaces #72

@bilkusg

Description

@bilkusg

If you run ndppd to listen on a tun interface created by openvpn or a wireguard wg interface, the data sent to the raw socket doesn't contain an ethernet header.

As a result, ndppd's filters drop the received neighbor solicitation, and even if you tweak the filters, the hard-coded skipping of an ethernet header from the raw data causes the packet decode to produce garbage.

I don't know if this is a deliberate design decision, but it doesn't seem to be documented anywhere and might save others a bit of time to know.

I've reproduced this behaviour on several versions of linux 5.x kernels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions