summaryrefslogtreecommitdiff
path: root/agent/agent.c
diff options
context:
space:
mode:
authorJakub Adam <jakub.adam@ktknet.cz>2018-02-03 23:59:20 +0100
committerOlivier CrĂȘte <olivier.crete@collabora.com>2018-03-23 17:07:06 -0400
commit54fb03427ebc13413cd1ddd5d9e91c1751eac0cb (patch)
tree61ea197ec241bfcfbdba4a97863f177766b894e0 /agent/agent.c
parent5a644f459dc75c80dfb19c7772f74e37a0258771 (diff)
downloadlibnice-54fb03427ebc13413cd1ddd5d9e91c1751eac0cb.tar.gz
discovery: ignore bogus Skype for Business srflx addresses
If main SfB TURN server sends our allocation request to an alternate server, the response will have XOR_MAPPED_ADDRESS containing the IP address of the turn server that proxied the message instead of our own actual external IP. Before we create server reflexive candidates upon receiving an allocate response, check that the TURN port got assigned on the same server we sent out allocate request to. Otherwise, the request was proxied and XOR_MAPPED_ADDRESS contains a bogus value we should ignore. Issue introduced by 59fcf95d505c3995f858b826d10cd48321ed383e. Differential Revision: https://phabricator.freedesktop.org/D1949
Diffstat (limited to 'agent/agent.c')
0 files changed, 0 insertions, 0 deletions