Skip to content

expression rejects all packets for IPv6 upper-layer protocol #600

@yiyuandao

Description

@yiyuandao

Hi,

I tried to run following command:

tcpdump -i em1 'ip6 and udp[10]&1 !=0' 

and got the following:

tcpdump: expression rejects all packets

I checked the document pcap-filter.
and in the section 'expr relop expr':

Note that tcp,
udp and other upper-layer protocol types only apply to IPv4, not
IPv6 (this will be fixed in the future)

I wonder is there any plan to add this filter for IPv6?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions