[libnice] server reflexive address not in the candidates list

Tom Chen chentom60 at hotmail.com
Mon Sep 14 11:59:27 PDT 2015


Ok, i see why: libnice requires using Stun server' IP address not its dns name.

So, need to use 52.5.57.211 instead of stunserver.org.

Tom

From: chentom60 at hotmail.com
To: philip at tecnocode.co.uk; nice at lists.freedesktop.org
Date: Mon, 14 Sep 2015 09:15:59 -0700
Subject: Re: [libnice] server reflexive address not in the candidates list




Filed, bug id: T3332.

> Subject: Re: [libnice] server reflexive address not in the candidates list
> From: philip at tecnocode.co.uk
> To: chentom60 at hotmail.com; nice at lists.freedesktop.org
> Date: Mon, 14 Sep 2015 15:24:19 +0100
> 
> That is potentially a bug, but it’s hard to tell from the information
> you have provided.
> 
> Could you please file a bug against libnice on
> phabricator.freedesktop.org, with information from setting
> G_MESSAGES_DEBUG=all NICE_DEBUG=all environment variables when running
> the test?
> 
> https://phabricator.freedesktop.org/maniphest/task/create/?projects=lib
> nice
> 
> Thanks,
> Philip
> 
> On Mon, 2015-09-14 at 06:37 -0700, Tom Chen wrote:
> > 
> > From: tchen at extron.com
> > To: chentom60 at hotmail.com
> > Subject: server reflexive address not in the candidates list
> > Date: Mon, 14 Sep 2015 13:36:36 +0000
> > 
> > Hello,
> >  
> > It seems that libnice does not add server reflexive address (public
> > address) to the candidate list. The stunclient (
> > http://www.stunprotocol.org/) can show server’s NATed public ip
> > address, but libnice only gathers local ipv6 & ipv4 addresses
> > (test2). I am wondering if the public IP is used in connectivity
> > test?
> >  
> > Tom
> >  
> > 1.       Test using stunclient
> > tao at ubuntu:~/stunserver/client$ ./stunclient stun.l.google.com 19302
> > Binding test: success
> > Local address: 10.113.54.60:45641
> > Mapped address: 204.96.168.3:45641 <<== our company’s public IP
> > address
> >  
> > 2.       Test using simple-example
> > libnice-0.1.13/examples$ ./simple-example 0 stun.l.google.com 19302
> > Copy this line to remote client:
> >  
> >   JwYC UyZG127rWa2d0uewhX50KS
> > 1,2013266431,fe80::20c:29ff:fe34:d0c8,53332,host
> > 2,1019216383,fe80::20c:29ff:fe34:d0c8,0,host
> > 3,1015022079,fe80::20c:29ff:fe34:d0c8,53900,host
> > 4,2013266431,fe80::20c:29ff:fe34:d0be,46736,host
> > 5,1019216383,fe80::20c:29ff:fe34:d0be,0,host
> > 6,1015022079,fe80::20c:29ff:fe34:d0be,39906,host
> > 7,2013266431,fe80::20c:29ff:fe34:d0b4,48049,host
> > 8,1019216383,fe80::20c:29ff:fe34:d0b4,0,host
> > 9,1015022079,fe80::20c:29ff:fe34:d0b4,57212,host
> > 10,2013266431,192.168.0.60,59944,host
> > 11,1019216383,192.168.0.60,0,host
> > 12,1015022079,192.168.0.60,56461,host
> > 13,2013266431,172.16.1.128,58664,host
> > 14,1019216383,172.16.1.128,0,host
> > 15,1015022079,172.16.1.128,56622,host
> > 16,2013266431,10.113.54.60,47084,host
> > 17,1019216383,10.113.54.60,0,host
> > 18,1015022079,10.113.54.60,49199,host
> >  
> > The candidates are all local IP addresses:
> > 1,2013266431,fe80::20c:29ff:fe34:d0c8,53332,host
> > 2,1019216383,fe80::20c:29ff:fe34:d0c8,0,host
> > 3,1015022079,fe80::20c:29ff:fe34:d0c8,53900,host
> > 4,2013266431,fe80::20c:29ff:fe34:d0be,46736,host
> > 5,1019216383,fe80::20c:29ff:fe34:d0be,0,host
> > 6,1015022079,fe80::20c:29ff:fe34:d0be,39906,host
> > 7,2013266431,fe80::20c:29ff:fe34:d0b4,48049,host
> > 8,1019216383,fe80::20c:29ff:fe34:d0b4,0,host
> > 9,1015022079,fe80::20c:29ff:fe34:d0b4,57212,host
> > 10,2013266431,192.168.0.60,59944,host
> > 11,1019216383,192.168.0.60,0,host
> > 12,1015022079,192.168.0.60,56461,host
> > 13,2013266431,172.16.1.128,58664,host
> > 14,1019216383,172.16.1.128,0,host
> > 15,1015022079,172.16.1.128,56622,host
> > 16,2013266431,10.113.54.60,47084,host
> > 17,1019216383,10.113.54.60,0,host
> > 18,1015022079,10.113.54.60,49199,host
> > 
> > 
> > 
> > Statement Of Confidentiality:
> > 
> > This electronic message transmission, and all attachments, contains
> > information from Extron Electronics which is confidential and
> > privileged. The information is for the exclusive viewing or use of
> > the intended recipient. If you are not the intended recipient, be
> > aware that any disclosure, copying, distribution or use of the
> > contents of this information is prohibited. If you have received this
> > electronic transmission in error, please notify the sender
> > immediately by a "reply to sender only" message and destroy all
> > electronic and hard copies of the communication, including
> > attachments.
> >  _______________________________________________
> > nice mailing list
> > nice at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/nice
 		 	   		  

_______________________________________________
nice mailing list
nice at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nice 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nice/attachments/20150914/63a52692/attachment.html>


More information about the nice mailing list