QUIC: Add support of mvfst draft-27 (0xfaceb002)

mvfst 0xfaceb002 is compatible with draft-27, see
d1a3652a4c

This is necessary to support 0xfaceb002 decryption since draft-29
changed the salt again.

Bug: 16378
Change-Id: Ib186effdb5e85bc6d48fffbfbb1f3498bf89860d
Reviewed-on: https://code.wireshark.org/review/37493
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
Alexis La Goutte 2020-06-17 08:04:52 +02:00
parent b8ef6db0b6
commit 3d6b466700
1 changed files with 5 additions and 0 deletions

View File

@ -335,6 +335,10 @@ static inline guint8 quic_draft_version(guint32 version) {
if (version == 0xfaceb001) {
return 22;
}
/* Facebook mvfst, based on draft -27. */
if (version == 0xfaceb002) {
return 27;
}
return 0;
}
@ -347,6 +351,7 @@ const value_string quic_version_vals[] = {
{ 0x00000000, "Version Negotiation" },
{ 0x51303434, "Google Q044" },
{ 0xfaceb001, "Facebook mvfst (draft-22)" },
{ 0xfaceb002, "Facebook mvfst (draft-27)" },
{ 0xff000004, "draft-04" },
{ 0xff000005, "draft-05" },
{ 0xff000006, "draft-06" },