diff options
author | Christophe GUERBER <christophe.guerber@gmail.com> | 2018-12-21 23:31:31 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-12-23 13:43:10 +0000 |
commit | bd5e5ce93c35cf4390925b69a386f980b1074d50 (patch) | |
tree | 5f69346f770587950698f3e60bf52c62776a55f1 /epan/dissectors/asn1/its | |
parent | 8bf91750df5785c332b8497e9a543851c0adff9a (diff) |
Secured messages dissector for GeoNetworking
Dissects secured messages from GeoNetworking protocol as per
ETSI_TS_103_097 (v1 or 2). Msg_id or application id is used to determine
subdissector: "geonw.sec.v1.msg_type" and "geonw.sec.v2.app_id".
Unsecured and signed payloads are subdissected, encrypted payload is kept
as data.
Version 3 secured message dissection calls ieee1609dot2 dissector. No
subdissector is provided in this case.
Use Application ID as defined in ETSI_TS_103_965.
Change-Id: Iff90a0e433d7774790cda50a557631d65c6de2ce
Reviewed-on: https://code.wireshark.org/review/31164
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/asn1/its')
-rw-r--r-- | epan/dissectors/asn1/its/packet-its-template.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/epan/dissectors/asn1/its/packet-its-template.c b/epan/dissectors/asn1/its/packet-its-template.c index 28948ae361..ff5f102a7f 100644 --- a/epan/dissectors/asn1/its/packet-its-template.c +++ b/epan/dissectors/asn1/its/packet-its-template.c @@ -98,6 +98,10 @@ #define ITS_WKP_CRL 2015 #define ITS_WKP_CERTIF_REQ 2016 +// ETSI TS 102 965 (V1.2.1) +#define AID_CAM 36 +#define AID_DENM 37 + /* * Prototypes */ @@ -408,6 +412,11 @@ void proto_reg_handoff_its(void) } } + dissector_add_uint("geonw.sec.v1.msg_type", ITS_DENM, its_handle_); + dissector_add_uint("geonw.sec.v1.msg_type", ITS_CAM, its_handle_); + dissector_add_uint("geonw.sec.v2.app_id", AID_DENM, its_handle_); + dissector_add_uint("geonw.sec.v2.app_id", AID_CAM, its_handle_); + dissector_add_uint("its.msg_id", ITS_DENM, create_dissector_handle( dissect_denm_DecentralizedEnvironmentalNotificationMessage_PDU, proto_its_denm )); dissector_add_uint("its.msg_id", ITS_CAM, create_dissector_handle( dissect_cam_CoopAwareness_PDU, proto_its_cam )); dissector_add_uint("its.msg_id", ITS_SPATEM, create_dissector_handle( dissect_dsrc_SPAT_PDU, proto_its_spatem )); |