Comments (6)
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.
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.
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.
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.
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.
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)
- No Pull-Up List HOT 1
- Repeated Requests to IP2Info
- ShowIP 2.1 breaks Google Calendar HOT 6
- Google Calendar and Hangout broken
- Google Anlaytic's not loading data
- show ip 2.1 breaks google drive with firefox 27.0.1 on my desktop
- Inoperative with Firefox 29.0 and The Addon Bar (restored) installed.
- Breaks Australis Customization
- Enter one-line summary HOT 1
- V2.4 only works in the first window with FF 29.0.1
- IP Address in Second Side by Side Firefox Window does Not Display
- ShowIP failes with recent versions of Firefox HOT 3
- showness on firefox startup.
- ShowIP 2.5 Is Non-Functional
- doesn't permit relocation of the display esp to the "restored" add-on bar
- Tries to inject adware
- ShowIP 2.5 - Causes XML files to show only innerXML
- ShowIP is not showing anything anywhere on Firefox 33.1
- Link to listing at addons.mozilla.org incorrect
- ShowIP doesn't show any IP address anywhere - Firefox 34.x
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firefox-showip.