ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] Bug in OSPF dissector

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 05 Mar 2005 15:37:14 -0800
Pierre LALET wrote:

A solution to avoid that is to check the version number before entering
the loops and, when the value is something different from 2 or 3, display
something like "Unknown/unsupported OSPF version" or "Malformed OSPF
packet".

I've checked in a change to stop dissecting the packet after putting the checksum into the protocol tree if the version is neither 2 nor 3 - that means that the dissectors for particular PDU types don't have to do the checks themselves.