diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-03-11 12:25:44 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-03-12 03:24:26 +0000 |
commit | bcbe7f73c969d5bd91d7366243215170e7ac87e6 (patch) | |
tree | 39a2dc7549518ef008bc841955f693d3907bbb9e /epan | |
parent | 7f8b3025ef1cde5b80c1e47e14b66a56f2fb9a5e (diff) |
QUIC: Add new tag found with version Q29
* XLCT: Expected leaf certificat
* NONP: Client Proof Nonce
Change-Id: I91713545a995e7f28735373fabc644508193a519
Reviewed-on: https://code.wireshark.org/review/14419
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-quic.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/epan/dissectors/packet-quic.c b/epan/dissectors/packet-quic.c index 2cdd2d9d87..485269a3df 100644 --- a/epan/dissectors/packet-quic.c +++ b/epan/dissectors/packet-quic.c @@ -136,6 +136,8 @@ static int hf_quic_tag_irtt = -1; static int hf_quic_tag_cfcw = -1; static int hf_quic_tag_sfcw = -1; static int hf_quic_tag_cetv = -1; +static int hf_quic_tag_xlct = -1; +static int hf_quic_tag_nonp = -1; static int hf_quic_tag_unknown = -1; static int hf_quic_padding = -1; @@ -328,6 +330,8 @@ static const value_string message_tag_vals[] = { #define TAG_CFCW 0x43464357 #define TAG_SFCW 0x53464357 #define TAG_CETV 0x43455456 +#define TAG_XLCT 0x584C4354 +#define TAG_NONP 0x4E4F4E50 static const value_string tag_vals[] = { { TAG_PAD, "Padding" }, @@ -360,6 +364,8 @@ static const value_string tag_vals[] = { { TAG_CFCW, "Initial session/connection" }, { TAG_SFCW, "Initial stream flow control" }, { TAG_CETV, "Client encrypted tag-value" }, + { TAG_XLCT, "Expected leaf certificate" }, + { TAG_NONP, "Client Proof Nonce" }, { 0, NULL } }; @@ -1170,6 +1176,16 @@ dissect_quic_tag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *quic_tree, guint tag_offset += tag_len; tag_len -= tag_len; break; + case TAG_XLCT: + proto_tree_add_item(tag_tree, hf_quic_tag_xlct, tvb, tag_offset_start + tag_offset, 8, ENC_NA); + tag_offset += 8; + tag_len -= 8; + break; + case TAG_NONP: + proto_tree_add_item(tag_tree, hf_quic_tag_nonp, tvb, tag_offset_start + tag_offset, 32, ENC_NA); + tag_offset += 32; + tag_len -= 32; + break; default: proto_tree_add_item(tag_tree, hf_quic_tag_unknown, tvb, tag_offset_start + tag_offset, tag_len, ENC_NA); expert_add_info_format(pinfo, ti_tag, &ei_quic_tag_undecoded, @@ -2073,6 +2089,16 @@ proto_register_quic(void) FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, + { &hf_quic_tag_xlct, + { "Expected leaf certificate", "quic.tag.xlct", + FT_BYTES, BASE_NONE, NULL, 0x0, + NULL, HFILL } + }, + { &hf_quic_tag_nonp, + { "Client Proof nonce", "quic.tag.nonp", + FT_BYTES, BASE_NONE, NULL, 0x0, + NULL, HFILL } + }, { &hf_quic_tag_unknown, { "Unknown tag", "quic.tag.unknown", FT_BYTES, BASE_NONE, NULL, 0x0, |