[Standards] Do we need STUN?

Sean Egan seanegan at gmail.com
Thu Mar 8 20:07:34 UTC 2007


On 3/8/07, Dafydd Harries <dafydd.harries at collabora.co.uk> wrote:
> > <iq type="get" from="user at server.com" to="server.com">
> >   <ipcheck/>
> > </iq>
> >
> > <iq type="result" to="user at server.com" from="server.com">
> >  <ipcheck>
> >     <address>204.122.135.52</address>
> >  </ipcheck>
> > </iq>
> This won't work if your Jabber server is on the local network. It will see you
> connecting from a (non-routable) local network address.

Also, this won't create bindings through the NAT. The important thing
about STUN is that it returns you both your "server reflexive address"
and the port that your NAT device has bound you too. For many NAT
devices the NAT will forward any packet received on that port to your
machine.

If you know only your IP address, your NAT device will have to have
port forwarding configured or something similar in order for packets
to reach your machine.

-s.



More information about the Standards mailing list