-
-
Notifications
You must be signed in to change notification settings - Fork 202
Open
Description
As for VxLAN env, it'll be really convenient to trace skb with filtering inner-VxLAN packet info with pcap-filter, as pcap-filter does not support filtering inner-VxLAN packet info directly.
To achieve it, let me introduce --filter-trace-tunnel-type
and --filter-trace-tunnel-pcap
options to accept a pcap-filter expr to filter inner-VxLAN packet info.
$ sudo pwru --filter-trace-tunnel-type vxlan --filter-trace-tunnel-pcap 'host 1.1.1.1 and icmp' host 1.1.1.1 and icmp
Then, pwru
is able to trace skb before decapsulating VxLAN and after encapsulating VxLAN.
And --filter-track-skb
does not work well before decapsulating VxLAN.
Furthermore, --filter-trace-tunnel-type
should support geneve, ipip and so on.
TODOs:
- Introduce
--filter-trace-tunnel-type vxlan
- Introduce
--filter-trace-tunnel-type geneve
- Introduce
--filter-trace-tunnel-type ipip
Metadata
Metadata
Assignees
Labels
No labels