<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'><br><hr>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>
<style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:11.0pt;
font-family:"Calibri",sans-serif;
}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:#0563C1;
text-decoration:underline;
}
.ExternalClass span.ecxMsoHyperlinkFollowed {
color:#954F72;
text-decoration:underline;
}
.ExternalClass p.ecxMsoListParagraph, .ExternalClass li.ecxMsoListParagraph, .ExternalClass div.ecxMsoListParagraph {
font-size:11.0pt;
font-family:"Calibri",sans-serif;
}
.ExternalClass span.ecxEmailStyle17 {
font-family:"Calibri",sans-serif;
color:windowtext;
}
.ExternalClass .ecxMsoChpDefault {
font-family:"Calibri",sans-serif;
}
.ExternalClass div.ecxWordSection1 {
}
.ExternalClass ol {
}
.ExternalClass ul {
}
--></style>
<div class=ecxWordSection1>
<p class=ecxMsoNormal>Hello,</p>
<p class=ecxMsoNormal> </p>
<p class=ecxMsoNormal>It seems that libnice does not add server reflexive address (public address) to the candidate list. The stunclient (<a href="http://www.stunprotocol.org/" target=_blank>http://www.stunprotocol.org/</a>) 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?</p>
<p class=ecxMsoNormal> </p>
<p class=ecxMsoNormal>Tom</p>
<p class=ecxMsoNormal> </p>
<p class=ecxMsoListParagraph style="text-indent:-.25in;"><span style="">1.<span style="font:7.0pt "Times New Roman";">
</span></span>Test using stunclient</p>
<p class=ecxMsoNormal>tao@ubuntu:~/stunserver/client$ ./stunclient stun.l.google.com 19302</p>
<p class=ecxMsoNormal>Binding test: success</p>
<p class=ecxMsoNormal>Local address: 10.113.54.60:45641</p>
<p class=ecxMsoNormal>Mapped address: 204.96.168.3:45641 <<== our company’s public IP address</p>
<p class=ecxMsoNormal> </p>
<p class=ecxMsoListParagraph style="text-indent:-.25in;"><span style="">2.<span style="font:7.0pt "Times New Roman";">
</span></span>Test using simple-example</p>
<p class=ecxMsoNormal>libnice-0.1.13/examples$ ./simple-example 0 stun.l.google.com 19302</p>
<p class=ecxMsoNormal>Copy this line to remote client:</p>
<p class=ecxMsoNormal> </p>
<p class=ecxMsoNormal> 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</p>
<p class=ecxMsoNormal> </p>
<p class=ecxMsoNormal>The candidates are all local IP addresses:</p>
<p class=ecxMsoNormal>1,2013266431,fe80::20c:29ff:fe34:d0c8,53332,host </p>
<p class=ecxMsoNormal>2,1019216383,fe80::20c:29ff:fe34:d0c8,0,host </p>
<p class=ecxMsoNormal>3,1015022079,fe80::20c:29ff:fe34:d0c8,53900,host </p>
<p class=ecxMsoNormal>4,2013266431,fe80::20c:29ff:fe34:d0be,46736,host </p>
<p class=ecxMsoNormal>5,1019216383,fe80::20c:29ff:fe34:d0be,0,host </p>
<p class=ecxMsoNormal>6,1015022079,fe80::20c:29ff:fe34:d0be,39906,host </p>
<p class=ecxMsoNormal>7,2013266431,fe80::20c:29ff:fe34:d0b4,48049,host </p>
<p class=ecxMsoNormal>8,1019216383,fe80::20c:29ff:fe34:d0b4,0,host </p>
<p class=ecxMsoNormal>9,1015022079,fe80::20c:29ff:fe34:d0b4,57212,host </p>
<p class=ecxMsoNormal>10,2013266431,192.168.0.60,59944,host </p>
<p class=ecxMsoNormal>11,1019216383,192.168.0.60,0,host </p>
<p class=ecxMsoNormal>12,1015022079,192.168.0.60,56461,host </p>
<p class=ecxMsoNormal>13,2013266431,172.16.1.128,58664,host </p>
<p class=ecxMsoNormal>14,1019216383,172.16.1.128,0,host </p>
<p class=ecxMsoNormal>15,1015022079,172.16.1.128,56622,host </p>
<p class=ecxMsoNormal>16,2013266431,10.113.54.60,47084,host </p>
<p class=ecxMsoNormal>17,1019216383,10.113.54.60,0,host </p>
<p class=ecxMsoNormal>18,1015022079,10.113.54.60,49199,host</p>
</div>
<br>
<hr>
<font face=Arial color=Gray size=1><br>
<br>
Statement Of Confidentiality:<br>
<br>
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.<br>
</font>
</div></body>
</html>