ms-ice: legacy FINGERPRINT mode
authorJakub Adam <jakub.adam@ktknet.cz>
Wed, 29 Jun 2016 06:40:12 +0000 (06:40 +0000)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Wed, 26 Oct 2016 21:50:37 +0000 (17:50 -0400)
commit7e5ab23cbb7b2d1e4023a8016abf4793e9606bbb
treea234c1795e53e596c66602e3fa3fffd6afd0aca6
parentdab341608736327831720ac44df807ac669fbe7e
ms-ice: legacy FINGERPRINT mode

In order to preserve compatibility with clients which use custom CRC
lookup table from [MS-ICE2], whenever a connectivity check request or
reply is sent, an additional message is sent along. These two messages
differ only in FINGERPRINT attribute - one uses regular CRC lookup table
for calculation, the other uses the modified table.

When a message is received and FINGERPRINT doesn't pass validation using
regular CRC table, the receiver also tries to verify using the modified
table.

[MS-ICE2] 3.1.4.8.2 describes this procedure.

The commit fixes compatibility with older MSOC and Lync clients.

Differential Revision: https://phabricator.freedesktop.org/D1138
agent/conncheck.c
stun/stunagent.c