From LinuxHam
Revision as of 20:30, 11 April 2010 by G1sog (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Wireshark (formerly known as ethereal) is, along with tcpdump, the prefered general purpose network protocol analyzer. It's greatest disadvantage for the radio amateur was the lack of support for AX.25, NETROM and ROSE, so the only tool left was the special purpose tool listen(8) which pretty much only supports these protocols.

Initial release 2007-03-25

Richard Stearn <richard@rns-stearn.demon.co.uk> has provided patches to add support for these protocols to libpcap, wireshark and tcpdump. Below posting is mostly based on his announcements on linux-hams on 2007-03-18.

For the foolhardy, desperate or those who just like to live dangerously.


These are source code patches. The patches add to:


  • recognition and capture of AX.25


  • decoding AX.25
  • extraction from BPQ
  • decoding an ARP payload
  • decoding a TCP/IP payload
  • decoding NetROM
  • recognition of Flexnet
  • recognition of ROSE


  • dissection of AX.25
  • extraction from BPQ
  • extraction from AXIP (untested)
  • dissection of ARP payload
  • dissection of an TCP/IP payload
  • dissection of NetROM
  • recognition of Flexnet
  • dissection of ROSE
  • dissection of "No layer 3" payloads
    • APRS (by the book)
    • recognition of DX cluster

The dissection of APRS & DX in wireshark is controlled via your preferences:

Edit->Preferences->Protocols->AX25 No L3

All others are treated as having no L3 protocol and printed in hex and ascii.

The patch is against:


Update: 2010-04-10

The Wireshark patch has been ported to wireshark-1.2.7 and can be found here:


The libpcap patch is now redundant as the necessary protocol identifiers have been added to libpcap-1.1 by the libpcap maintainers, so libpcap-1.1 is a pre-requisite to use of this patch.

I have not yet ported the tcpdump patch.

The main changes are the dissection of KISS & BPQ as separate protocols otherwise there is no change to the supported protocols.