GithubHelp home page GithubHelp logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 4, 2024
Well, that is an interesting question. Ideally I'd like to not do dns look-ups 
at all but just listen to outgoing socket connections. afaict that is not 
possible in firefox?

Original comment by [email protected] on 25 May 2011 at 4:29

from firefox-showip.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 4, 2024
I think ShowIP need not to listen to socket connections.

Firefox surely maintains a local DNS cache (or simlified lookup table?), 
combining results from the hosts file, from local ISP's DNS resolver, or from 
remote DNS, right?

I think maybe ShowIP should just query this (Firefox) local cache, and not 
query other resources at all (unless explicitly specified by the user, but 
that's different).

What do you think?

Original comment by [email protected] on 25 May 2011 at 5:46

from firefox-showip.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 4, 2024
Can you point me to source inside Firefox where you think such a cache would 
live? Last time I checked (more than a year back), no such thing existed. I 
wouldn't even be sure, that Firefox reads /etc/hosts directly. IP addresses may 
also change between different requests for the same resource due to DNS 
round-robin. I'll look into it again one of these days...

Original comment by [email protected] on 25 May 2011 at 6:07

from firefox-showip.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 4, 2024
Maybe...
http://mxr.mozilla.org/mozilla2.0/source/netwerk/dns/nsDNSService2.cpp#331
http://mxr.mozilla.org/mozilla2.0/source/netwerk/dns/nsHostResolver.cpp
should be of some help, but I don't really understand the source xD.

Also I found somebody claiming:
> If you're using a SOCKS proxy with remote DNS enabled then this isn't 
possible, as no DNS lookups will be in your cache.
source: http://flagfox.servehttp.com/forum/viewtopic.php?f=3&t=20
That came as a surprise to me. Don't know if this is true / has changed.

Original comment by [email protected] on 25 May 2011 at 8:54

from firefox-showip.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 4, 2024
I wasn't aware that using a PAC file triggers different behavior than manual
proxy configuration [1]. So apart from ``network.proxy.socks_remote_dns`` set
to true, I also created the perf ``network.dns.disablePrefetch`` to bypass
local DNS queries for sites accessed through SOCKS proxy. With ShowIP disabled,
the unwanted local DNS queries are not performed, while with ShowIP enabled,
they are. So ShowIP is "leaking my privacy" ;)

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=488162#c9

Original comment by [email protected] on 25 May 2011 at 5:43

from firefox-showip.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 4, 2024
There is actually code in the plugin to detect the proxy setup. I don't 
remember from the top of my head, but try looking in the plugins settings 
dialog.

Original comment by [email protected] on 11 Jun 2011 at 10:07

  • Changed state: Accepted
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from firefox-showip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.