<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Ok, i see why: libnice requires using Stun server' IP address not its dns name.<br><br>So, need to use 52.5.57.211 instead of stunserver.org.<br><br>Tom<br><br><hr>From: chentom60@hotmail.com<br>To: philip@tecnocode.co.uk; nice@lists.freedesktop.org<br>Date: Mon, 14 Sep 2015 09:15:59 -0700<br>Subject: Re: [libnice] server reflexive address not in the candidates list<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

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