This wiki has been migrated to https://gitlab.com/wireshark/wireshark/-/wikis/home and is now deprecated. Please use that site instead.
Differences between revisions 3 and 4
Revision 3 as of 2015-04-14 20:20:59
Size: 1094
Comment:
Revision 4 as of 2015-04-15 11:49:21
Size: 3073
Comment: corrections and additions
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
I can not really do better than the introduction on Wikipedia http://en.wikipedia.org/wiki/AX.25 I can not really do better than the introduction on [[http://en.wikipedia.org/wiki/AX.25|Wikipedia]]
Line 8: Line 8:
Again I can not really do better than the introduction on Wikipedia http://en.wikipedia.org/wiki/AX.25 Again I can not really do better than the introduction on [[http://en.wikipedia.org/wiki/AX.25|Wikipedia]]
Line 14: Line 14:
 * AX.25 - derived from the X.25 protocol suite for use on Amateur Radio  * [[AX.25]] - derived from the X.25 protocol suite for use on Amateur Radio
Line 18: Line 18:
 * NETROM
Line 20: Line 19:
 * ROSE - X.25 by another name  * NETROM - provides route management, route dissemination, remote command
 * ROSE - [[X.25]] by another name
Line 24: Line 24:
 * OpenTRAC - not implemented
 * APRS
 * [[http://www.aprs.org/|APRS]] - Automatic Packet Reporting System

 * [[http://opentrac.org/|OpenTRAC]] - Open Tactical Reporting and Communication Protocol - not currently implemented
Line 29: Line 30:
 * KISS - SLIP plus a few commands
 * 6PACK - not implemented
 * [[KISS]] - [[http://en.wikipedia.org/wiki/Serial_Line_Internet_Protocol|SLIP]] plus some [[http://en.wikipedia.org/wiki/Terminal_node_controller|TNC]] commands.
 * 6PACK - a [[http://en.wikipedia.org/wiki/Terminal_node_controller|TNC]] control protocol - not currently implemented
Line 34: Line 35:
 * AXIP
 * AXUDP
 * AXIP - AX.25 over IP
 * AXUDP - AX.25 over UDP
Line 55: Line 56:
 * http://tools.ietf.org/html/rfc1055
Line 56: Line 59:

 * AX.25 over UDP, TCP

  This LUA script registers the AX.25 protocol against a UDP port.

 . {{{
-- ax25-udp.lua

-- load the udp.port table
udp_table = DissectorTable.get( "udp.port" )

-- get a handle to the AX.25 dissector
proto_ax25 = Dissector.get( "ax25" )

-- register AX.25 to handle udp port
udp_table:add( 10093, proto_ax25 )
}}}

  For TCP substitute "tcp" for "udp" in the above script.
  Amend the port number (10093 in the above example) to the one relevant to your operations. If more then one port is used then add extra xxx_table:add() lines to the script

 * KISS - The KISS dissector in Wireshark handles only the various commands, it does not handle the [[http://en.wikipedia.org/wiki/Serial_Line_Internet_Protocol|SLIP]] based framing and escape codes. The reasons behind this are:
   * that the AX.25 stack in Linux "encapsulates" the AX.25 frame in a KISS data frame, but without the escape coding
   * some implementations of KISS over <some other protocol> seen in the wild do the same. For those wanting a full KISS implementation then this file [[attachment:kiss-framing.lua]] is an LUA script that handles the SLIP framing and hands off the KISS commands to the ax25_kiss dissector. As above for TCP substitute "tcp" for "udp" in the above script. Amend the port number to the one relevant to your operations. If more then one port is used then add extra xxx_table:add() lines to the script

Amateur Radio Protocols

I can not really do better than the introduction on Wikipedia

History

Again I can not really do better than the introduction on Wikipedia

Protocols

OSI Layer 2-ish

  • AX.25 - derived from the X.25 protocol suite for use on Amateur Radio

OSI Layer 3-ish

  • Flexnet
  • NETROM - provides route management, route dissemination, remote command
  • ROSE - X.25 by another name

Application data formats

  • APRS - Automatic Packet Reporting System

  • OpenTRAC - Open Tactical Reporting and Communication Protocol - not currently implemented

TNC control protocols

  • KISS - SLIP plus some TNC commands.

  • 6PACK - a TNC control protocol - not currently implemented

Encapsulations

  • AXIP - AX.25 over IP
  • AXUDP - AX.25 over UDP

Discussion

  • AX.25 over UDP, TCP
    • This LUA script registers the AX.25 protocol against a UDP port.
  • -- ax25-udp.lua
    
    -- load the udp.port table
    udp_table = DissectorTable.get( "udp.port" )
    
    -- get a handle to the AX.25 dissector
    proto_ax25 = Dissector.get( "ax25" )
    
    -- register AX.25 to handle udp port
    udp_table:add( 10093, proto_ax25 )
    • For TCP substitute "tcp" for "udp" in the above script. Amend the port number (10093 in the above example) to the one relevant to your operations. If more then one port is used then add extra xxx_table:add() lines to the script
  • KISS - The KISS dissector in Wireshark handles only the various commands, it does not handle the SLIP based framing and escape codes. The reasons behind this are:

    • that the AX.25 stack in Linux "encapsulates" the AX.25 frame in a KISS data frame, but without the escape coding
    • some implementations of KISS over <some other protocol> seen in the wild do the same. For those wanting a full KISS implementation then this file kiss-framing.lua is an LUA script that handles the SLIP framing and hands off the KISS commands to the ax25_kiss dissector. As above for TCP substitute "tcp" for "udp" in the above script. Amend the port number to the one relevant to your operations. If more then one port is used then add extra xxx_table:add() lines to the script

AmateurRadioProtocolFamily (last edited 2015-04-15 16:54:43 by GuyHarris)