This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

about capturing of Fibre Channel packets

0

As I know about wireshark,It can capture the Ethernet packets by Winpcap。 But now,I want to capture the FC packets, how can I do?

And I have find the source code file : "packet-fc.c", what about it?

ps: sorry, My english is poor ,thank you all the time.

asked 22 Mar '12, 00:32

taiyangluoyu's gravatar image

taiyangluoyu
0224
accept rate: 0%

edited 22 Mar '12, 01:08

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196


2 Answers:

3

Wireshark doesn't include its own code for capturing packets; it uses libpcap/WinPcap for that. Unfortunately, nobody's contributed code to libpcap/WinPcap to capture Fibre Channel traffic; I'm not sure whether the operating systems on which Wireshark runs support doing so. Perhaps if there's hardware that can capture raw Fibre Channel packets, and drivers for it for an operating system that libpcap/WinPcap supports, somebody could contribute code to capture it in libpcap/WinPcap, but, until then, there's no way to capture Fibre Channel packets in Wireshark.

The Fibre Channel dissectors in Wireshark are used for various Fibre Channel-in-IP encapsulations and for Network Instruments' Observer captures, not for captures done by Wireshark itself. There's also support for Fibre Channel in pcap files, but I don't know whether any software can write those files.

answered 22 Mar '12, 01:07

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

0

The only way to capture Fibre Channel packets that I know of is using the JDSU Xgig Analyzer which supports 1-16Gig Fibre Channel. The Xgig is used by almost all storage development vendors and is the best in class analyzer for Fibre Channel, and all other storage protocols.

answered 04 May '12, 09:07

RobFin's gravatar image

RobFin
1
accept rate: 0%