Skip to content

batctl: tcpdump: Add support to identify missing packets

Sven Eckelmann batman 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3batctl: tcpdump: Add support for MCAST TVLVtcpdump.c+49 -00 replies
2/3batctl: tcpdump: Add support for unicast fragmentationtcpdump.c+28 -00 replies
3/3batctl: tcpdump: Add support for coded packetstcpdump.c tcpdump.h+33 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] batctl: tcpdump: Add support to identify missing packets

Hi,

when running batctl's tcpdump today on a normal batman-adv slave interface, you will see warnings like:

Warning - packet contains unknown batman packet type: 0x41 Warning - packet contains unknown batman packet type: 0x02

This is caused by missing dumping routinges in the tcpdump implementation. Since these packets (coded, fragmented) cannot be decoded/reassembled easily these packets are only identified and some basic header informations are shown.

Also not all TVLVs in the header were shown. The mcast part was dropped and thus the debugging of the new mcast feature flags was not possible with batctl.

Kind regards,
Sven

Sven Eckelmann (3):
batctl: tcpdump: Add support for MCAST TVLV
batctl: tcpdump: Add support for unicast fragmentation
batctl: tcpdump: Add support for coded packets

 tcpdump.c | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 tcpdump.h |   1 +
 2 files changed, 110 insertions(+), 1 deletion(-)
Signature · 1 line
2.20.1