Re: (#511) find a netbios host
Thomas Shaddack <[email protected]> Sun, 2 Nov 2003 05:40:15 +0100 (CET)
| Newsgroups | gmane.comp.audio.speak-freely.general |
|---|---|
| Message-ID | <[email protected]> |
> Thomas has been talking about using Jabber for session initiation,
> which sounds good as there are well maintained public servers that can
> be used. The problem is that I don't know if it is possible to get a
> jabber server to tell you what it thinks your own address is (ie: your
> firewall address that it receives your packets from).
I am not aware about Jabber servers being able to do so, but for some
cases I am using my company server to tell the machines behind NAT what
their public address is, in order to set some variables for their scripts.
The one I am using is at http://217.11.227.71/myip.php
The source code is a single line of PHP,
<? echo($REMOTE_ADDR); ?>
The line for the script is then
MYEXTIP=`curl http://217.11.227.71/myip.php`
Similar mechanism could be implemented either manually, or by asking such
server, or if the server is unreachable, asking the peer over Jabber if he
knows such server, and then continue asking other peers by way similar to
Gnutella.
* * *
To unsubscribe from this mailing list, send E-mail containing
the word "unsubscribe" in the message body (*not* as the
Subject) to [email protected]