Skip to content

Debugging

rkapl edited this page Sep 12, 2017 · 2 revisions

Capturing Netlink

ip link add type nlmon 
ip link set nlmon0 up

Then use regular wireshark on that interface, some basic dissectors are even included.

Showing stats

Sometimes it is better just to check action statistics than to try to run wireshark. Sometimes the redirected packets even do not show in the dumps.

tc -s filter show dev ls-1 ingress

Yes, the -s must be directly after the tc command. Yes, the switch is not documented for tc filter in the documentation.

Clone this wiki locally