Ask Your Question
0

How to decode ERSPAN-without-a-header in Wireshark 2.6 and later?

asked 2019-04-17 10:30:32 +0000

updated 2019-04-17 17:51:11 +0000

Guy Harris gravatar image

Hello everyone,

I'm looking for erspan decoding with my pcap capture. I was doing the classical Protocols -> ERSPAN -> Force decode for that purpose, but it seems not present in wireshark anymore. It might be located somewhere else ? But I haven't find any documentation about that change. I tried decoding with my wireshark 2.6.6. (I also opened my capture, and it is not decoded : Was thinking that it could be natively enabled with last releases)

Thanks in advance,

Yoann

edit retag flag offensive close merge delete

Comments

All that preference does is to force the ERSPAN dissector to assume the packet doesn't begin with an ERSPAN header. It does not, in Wireshark 2.4, force packets to be dissected as ERSPAN.

What does "not decoded" mean?

Guy Harris gravatar imageGuy Harris ( 2019-04-17 17:54:36 +0000 )edit

Thanks for your reply. I was blinded by the pcap in general. I’m seeing one packet between each erspan (icmp) from source erspan to my station. It’s an erspan type 1 (deprecated by rfc). I’d like to have a pcap which is more simple without having filtering the file

I can correctly see stuff from my source device which encapsulate data to my device

Yoann

Yoyonetwk gravatar imageYoyonetwk ( 2019-04-17 21:13:21 +0000 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2019-04-17 23:26:29 +0000

Guy Harris gravatar image

I can correctly see stuff from my source device which encapsulate data to my device

So it sounds as if it is dissecting the ERSPAN frames correctly (as type I, which has no ERSPAN header before the Ethernet packet).

The preference was removed because we changed the code to determine for itself whether there's an ERSPAN header or not, rather than requiring the user to specify a preference for that.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-04-17 10:30:32 +0000

Seen: 250 times

Last updated: Apr 17