agent: implement support for RFC7675 - Consent Freshness
authorMatthew Waters <matthew@centricular.com>
Tue, 15 Sep 2020 04:54:00 +0000 (14:54 +1000)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Thu, 10 Dec 2020 16:27:53 +0000 (11:27 -0500)
commit4a378b880ee18eb74b3054c1f2148aea3f3e9e6e
treed965df6d808dae026708e6a6e212d9de1221f239
parent3492be606283932e58aca37e638b35c4bea81da8
agent: implement support for RFC7675 - Consent Freshness

Specified in https://tools.ietf.org/html/rfc7675

RFC 7675 is a slight modification of the existing keepalive connection
checks that could be enabled manually or were used with the GOOGLE
compatibility mode.

Slight differences from the existing keepalive connection checks
include:
- an additional consent expiry timer instead of relying on all binding
  requests to succeed.
- 403: 'Forbidden' stun error-code which revokes consent with immediate
  effect.
16 files changed:
README
agent/agent-priv.h
agent/agent.c
agent/agent.h
agent/component.c
agent/component.h
agent/conncheck.c
agent/conncheck.h
docs/reference/libnice/libnice-docs.xml
docs/reference/libnice/libnice-sections.txt
nice/libnice.sym
stun/stunagent.c
stun/stunagent.h
stun/stunmessage.h
tests/meson.build
tests/test-consent.c [new file with mode: 0644]