Wireshark-commits: [Wireshark-commits] master a87e56a: GeoNetworking, BTP dissectors (ITS-V2X)
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 13 Dec 2018 21:39:20 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a87e56aa79f62ba8967e63da9d408e464596cd85
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

a87e56a by Christophe GUERBER (christophe.guerber@xxxxxxxxx):

    GeoNetworking, BTP dissectors (ITS-V2X)
    
    Implements V2X protocol dissectors:
    
     * Geonetworking (network layer):
    Dissector is registered on top of Ethernet (ethertype=0x8947).  Secured
    Packets are dissected up to the basic header, the rest is shown as data.
    GN_ADDR address type is registerd and provides resolution of station
    type and country code in the address. MID is shown as an ethernet address.
    All the fields are dissected for non Secured Packets.
    A subdissector table named "geonw.ch.nh" is provided on the next header
    field. IPv6 is automatically registered. Heuristic dissectors is not
    supported. If no dissector is foundd, payload is shown as data.
    A preference boolean allows to enable/disable sequence number checking.
    Tap "geonw" gets headers of all packets (with most fields).
    Expert info tests if and provide feedback on:
     - version is zero (no other version possible),
     - reserved fields are zeros,
     - payload_len matching with reported length of buffer,
     - Remaining Hop Limit is 1 for Beacon and SHB,
     - low RHL or RHL > Max Hop Limit,
     - country code is less than 999 (3 digits ITU-T E.164),
     - latitude, longitude, heading and angle limits,
     - (suspected) duplicate packets,
     - LS_REQUEST/LS_REPLY matching.
    
     * Basic Transport Portocol:
    BTP-X (X=A or B)  dissectors are registered on top of Geonetworking.
    Subdissector tables "btpx.port" allow to register for a given port,
    while heuristic dissector can register to "btpx.payload". Decode as
    capability is supported.
    "btpx" taps get headers of all packets with ports/@ infos.
    "btpx_follow" taps get the payload.
    
    Bug: 15148
    Change-Id: Iab5f4486d4c38068d9ad4361e77296b747f9b1bb
    Reviewed-on: https://code.wireshark.org/review/30992
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  b6e13a3   DCT2000: Call nas-5gs dissector
     add  a87e56a   GeoNetworking, BTP dissectors (ITS-V2X)


Summary of changes:
 docbook/release-notes.asciidoc |    2 +
 epan/dissectors/CMakeLists.txt |    2 +
 epan/dissectors/packet-geonw.c | 2074 ++++++++++++++++++++++++++++++++++++++++
 epan/dissectors/packet-geonw.h |   66 ++
 4 files changed, 2144 insertions(+)
 create mode 100644 epan/dissectors/packet-geonw.c
 create mode 100644 epan/dissectors/packet-geonw.h