[Nice] question about asymetric path

Madaro Livio livio.madaro at telecomitalia.it
Tue Mar 26 04:17:41 PDT 2013

I've a use case where libnice client uses different path to send and receive data. The configuration is the following:

-          One libnice client (client A) in the corporate intranet.

-          One libnice client (client B) connected to big internet by a ADSL/NAT

-          One UDP TURN server reachable from the corporate intranet and from big internet

Client A and B both allocate a TURN port. The TURN server allocates port 10000 for client A and port 20000 for client B.
At the end of the ICE processing libnice select an asymmetric path:

-          client A sends direct  UDP data to port 20000 (port B) at the TURN server and receives data from the TURN server using STUN DataIndication

-          client B sends direct UDP data to port 10000 (port A) at the TURN server and receives data from TURN server using STUN DataIndication

I don't understand if asymmetric path is supported by the ICE protocol or is forbidden. What do you think?

The problem is that in this situation libnice doesn't refresh the TURN CreatePermission because the client is receiving but is not transmitting using STUN/TURN .
By the way, in this use case libnice doesn't always select the same path. Sometimes a symmetrical path is selected, sometimes an asymmetric path is selected.


Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.

This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks.

[cid:00000000000000000000000000000003 at TI.Disclaimer]Rispetta l'ambiente. Non stampare questa mail se non ? necessario.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nice/attachments/20130326/49c04f84/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo Ambiente_foglia2.jpg
Type: image/jpeg
Size: 677 bytes
Desc: logo Ambiente_foglia2.jpg
URL: <http://lists.freedesktop.org/archives/nice/attachments/20130326/49c04f84/attachment.jpg>

More information about the nice mailing list