Skip to content
Snippets Groups Projects
Unverified Commit bddba1ee authored by Mohamed Chibani's avatar Mohamed Chibani Committed by Sébastien Blin
Browse files

upnp: Always use published address as reflexive candidates

The external address of the IGD might not be always routable if
the router is not directly connected to the internet.
So we need to always add the published address returned by the DHT even if UPNP
is enabled and actif. Failing to do so, and if the peer use only relay candidates,
the TURN will reject all incoming connections from our public address because
it were not in the candidates list and thus not authorized by TURN.

The automatic reallocation of failing mappings was also improved.

Change-Id: I5fb1424d5dc61b990595c229be647099b017eba1
Gitlab: #335
parent 4a1d4e2b
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment