Closed GoogleCodeExporter closed 9 years ago
Without a reflector I've to rely on the dns libraries to give a correct
response to a
reverse lookup of localhost... I'll see if I can parse some /proc output or if
there
is an internal firefox api for this task.
Original comment by jan.ditt...@gmail.com
on 14 Feb 2009 at 9:16
There are at least four possible solutions:
a) rely on @mozilla.org/network/dns-service;1 myHostName
to provide a correct answer and for the DNS server to resolve it properly.
-> This probably only works correctly if you're directly hooked to the internet
and your DNS server is giving the right answer. This is how it is done now.
b) use an external reflector service like other firefox addons (My IP, etc.)
-> privacy concerns. Also needs a reliable external server
c) parse platform specific files (/proc, ipconfig, ...)
-> complicated, prone to breakage, will alarm security experts if firefox
launches external applications, no access to all platforms
d) Hook into the current request and captcher the local IP
-> most promising. I'll see if there is an interface for this
Original comment by jan.ditt...@gmail.com
on 18 Feb 2009 at 5:11
Original comment by jan.ditt...@gmail.com
on 18 Feb 2009 at 5:11
In the current version you can use an external reflector service.
Original comment by jan.ditt...@gmail.com
on 5 Mar 2011 at 8:30
Original issue reported on code.google.com by
google....@pobox.madduck.net
on 30 Aug 2008 at 3:56