Ask Your Question

Capturing CDP packets over USB C? [closed]

asked 2019-01-15 10:36:34 +0000

Majkel gravatar image

Hi Guys,

Don't know if it's possible, but I would like to capture CDP packets over USB C. I have HP Elite X2 and unfortunately it doesn't have Ethernet port so I am using I-TEC USB-C/RJ45 converter. Looks like I am getting USB traffic, but is there any way to convert it to more usable data?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Majkel
close date 2019-01-17 06:58:03.438872

1 Answer

Sort by ยป oldest newest most voted

answered 2019-01-15 19:08:21 +0000

Guy Harris gravatar image

CDP is a protocol that runs over Ethernet; it doesn't directly run over USB.

libpcap supports capturing raw USB traffic on several platforms; if that's what you're doing, that's probably not the best way to capture protocols running over Ethernet, such as CDP.

If your "converter" is really a USB-based Ethernet adapter, it should show up in Wireshark as an Ethernet interface. Try capturing on that rather than on a USB bus.

edit flag offensive delete link more

Question Tools


Asked: 2019-01-15 10:36:34 +0000

Seen: 773 times

Last updated: Jan 15 '19