Just gimme the IP!

Alan Pope alan at popey.com
Wed Jun 15 09:10:33 UTC 2011


On 14 June 2011 20:59, Luke Faraone <luke at faraone.cc> wrote:
> On 06/14/2011 12:09 PM, Mathieu Trudel-Lapierre wrote:
>> Would it make sense to also have a way to get the current *public* ip
>> address?
>
> That's difficult to determine, without calling on an external service.
>
> We could just get an API key from whatismyip.com, or use whatismyip.org
> / icanhazip.com.
>

We already have an app in the default install which does something
similar. The remote desktop server makes a call out to the
author/maintainers website to discover if the Ubuntu install is
remotely accessible via VNC.

Aside: I believe we shouldn't be leaking info like this.
https://bugs.launchpad.net/ubuntu/+source/vino/+bug/608701

Perhaps as Jordon suggests a *.ubuntu.com based service would be
preferable both for IP discovery and VNC connectivity test.

Al.



More information about the ubuntu-devel mailing list