Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Firefox Privacy

ISP Is Bypassing Firefox's Location Bar Search 385

It was only a matter of time before ISPs began doing more than just redirecting failed DNS requests to their own pages. An anonymous reader writes "It looks like the largest ISP in Hong Kong has started bypassing search results from Firefox's location bar (which typically uses Google), forcing their own search provider (yp.com.hk) onto their users. ... Can an ISP just start re-directing search traffic at will?"
This discussion has been archived. No new comments can be posted.

ISP Is Bypassing Firefox's Location Bar Search

Comments Filter:
  • Why? (Score:1, Informative)

    by B5_geek ( 638928 ) on Wednesday April 28, 2010 @11:09AM (#32015152)

    For the love of $deity why would _anybody_ still be using the DNS server that their ISP provides?
    Ignoring the multiple FREE DNS providers out there, it is trivally easy to setup your own caching DNS server regardless of the OS platform you use.

    With the abundance of 'old' computers that most people upgrade from, it shold be standard practice to setup an old box as a firewall/dns server.

  • Re:Man in the Middle (Score:3, Informative)

    by Nadaka ( 224565 ) on Wednesday April 28, 2010 @11:11AM (#32015200)

    You can try. It might even work this time. But they can also choose to misdirect the request based on the IP address because they literally are the man in the middle, your traffic must pass through their routers.

  • Re:MitM of Google (Score:4, Informative)

    by yakatz ( 1176317 ) on Wednesday April 28, 2010 @11:13AM (#32015238) Homepage Journal
  • Re:Sure they can (Score:5, Informative)

    by Bryansix ( 761547 ) on Wednesday April 28, 2010 @11:15AM (#32015306) Homepage
    This IS Slashdot right? Let's look at the technical limitations here. As long as your ISP does not block DNS requests then you can use any DNS provider you want and therefore bypass any redirection. If an ISP started blocking the use of other DNS server then I'd say it's time to jump ship.
  • Re:Sure they can (Score:5, Informative)

    by Cryonix ( 1234264 ) on Wednesday April 28, 2010 @11:16AM (#32015310)
    My US ISP recently started doing this (windstream.com). This was done without any real notice and turned on by default. Granted, there is a link in the redirected search results to turn it off.
  • by sam0737 ( 648914 ) <samNO@SPAMchowchi.com> on Wednesday April 28, 2010 @11:26AM (#32015510)

    It's PCCW. What I have heard is they are hijacking NXDOMAIN, but not sure about redirecting the location bar. Maybe Firefox will try to lookup for domain for single name hostname, hence giving an impression that it redirects if your "search term" is just one word.

  • Re:Sure they can (Score:5, Informative)

    by Eponymous Coward ( 6097 ) on Wednesday April 28, 2010 @11:29AM (#32015546)

    They don't block DNS requests, they just send all port 53 traffic to their DNS server.

    There are a lot of areas with a single good internet option (where 'good' means decent bandwidth and latency). Jumping ship may not be a realistic option.

  • Re:MitM of Google (Score:3, Informative)

    by Sir_Lewk ( 967686 ) <sirlewk@gCOLAmail.com minus caffeine> on Wednesday April 28, 2010 @11:29AM (#32015550)

    Thank [deity].

    I saw that this article was tagged "opendns" and for a moment thought with horror that people were tagging it that as a kind of suggestion that using OpenDNS was a solution to this. It seems like every single fucking time an article comes up about ISPs doing something wrong (generally messing with NXDOMAIN) people come out of the woodwork to suggest using OpenDNS, even though they do the exact same thing and there are plenty of perfectly standards compliant and free DNS providers to chose from.

    You link is actually incredibly relevant, thanks.

  • Re:MitM of Google (Score:3, Informative)

    by nweaver ( 113078 ) on Wednesday April 28, 2010 @11:30AM (#32015564) Homepage

    The EICAR test "virus" is used to see if you have working AV which is blocking threats that are downloaded from the network.

    Please see the FAQ [berkeley.edu].

  • by jimicus ( 737525 ) on Wednesday April 28, 2010 @11:33AM (#32015628)

    Indeed, the poster only discusses what happens when he puts the name of a website into Firefox's address bar. By default, that will carry out a DNS lookup and if that lookup fails, Firefox will redirect to a Google "I'm feeling lucky" result.

    Lots of ISPs are intercepting failed DNS requests and injecting their own ad page, there's usually a way to bypass this.

  • by nweaver ( 113078 ) on Wednesday April 28, 2010 @11:34AM (#32015654) Homepage

    What firefox does is first try to do DNS lookups for:
    foo
    foo.com
    www.foo.com

    before launching the google search.

    Thus NXDOMAIN wildcarding (which is unfortunately growing very common, distressingly so in our data) will mess up the firefox behavior by causing one of the three names to resolve to the "helpful" search page belonging to the ISP.

  • by jimicus ( 737525 ) on Wednesday April 28, 2010 @11:35AM (#32015662)

    As a Capitalist, that really offends me. If businesses want to be treated laissez faire then they damn well better learn to make society not feel like they're a bunch of crooks who care so little about the common good that if regulators aren't going Big Brother on them every nanosecond they'll steal everything that isn't nailed down and cheat everyone who isn't paying 110% attention to every detail of their lives.

    ... which is precisely why there is regulation in every civilised society on the planet, and no such thing as a 100% capitalist society.

  • Re:VPN (Score:3, Informative)

    by poetmatt ( 793785 ) on Wednesday April 28, 2010 @11:36AM (#32015686) Journal

    not happen, happened. Lots of ISP's worldwide, not US only, want you to have a business connection just for daring to establish a VPN connection over it. Usually it ends up being somewhere between 10 and 40$ extra a month depending on country/currency/etc to do so.

    right now however, in the us, comcast is staying away from that stuff, at least temporarily. Or if they do throttle, it's on the low end speeds. On my 22/10 they are not throttling anything, nor are they sending warnings and I use what comcast considers massive amounts of bandwidth per month for games/downloads/videos/netflix (>500GB).

    Outside the us, these throttling attempts are quite regular. Especially rogers, etc.

  • Re:VPN (Score:3, Informative)

    by coniferous ( 1058330 ) on Wednesday April 28, 2010 @11:43AM (#32015806) Homepage
    All encrypted traffic is throttled on my canadian ISP, Rogers. Port 443, BT, VPN. Its pretty rediclious.
  • China? (Score:4, Informative)

    by PatDev ( 1344467 ) on Wednesday April 28, 2010 @11:46AM (#32015864)
    Heck, it happens here in the USA. I'll name names too - Windstream Communications. As of a couple months ago they started redirecting our google search bars to their custom search portal. Annoyed the hell out me. Emailed, but apparently got dumped into the bucket of spam/"unhappy customer, please ignore".
  • by diamondsw ( 685967 ) on Wednesday April 28, 2010 @11:54AM (#32016026)

    Despite the handover in 1997, Hong Kong is still very much its own entity, sharing more in common with Seoul and Tokyo than with, say, Shanghai. They have protests, marches, and as far as I could tell the internet wasn't subject to the Great Firewall. Having been there three months ago and a wife there now, I *think* I can say that much.

  • by Anonymous Coward on Wednesday April 28, 2010 @11:58AM (#32016096)

    This isn't new, and this isn't NXDOMAIN hijacking. Windstream, a US DSL provider, was already caught red-handed doing this. Not only this but they also refuse to answer very specific questions asked (see http://www.dslreports.com/forum/r24059591-DPILayer7NXDOMAIN-Privacy-questions-re-Windstream-DSL [dslreports.com]) and provide a paper-thin excuse as to why it's happening (see http://www.dslreports.com/forum/r24074065-Our-Response-to-Redirect-Service-Concerns [dslreports.com]).

    Affected users are not using the ISP's DNS servers, this is not NXDOMAIN hijacking. This is layer 7 inspection, the sheer fact the URL was transformed, being carefully re-written, from the URI passed to 'www.google.com' discredits what Windsteam has said entirely.

    When a user performs a search using the Firefox search bar against Google HTTP/1.1 is used with an HTTP method of GET against Google. The following URI is constructed:

    q=[search critera]
    ie=[encoding]
    oe=[encoding]
    aq=
    rls=[browser]

    So, when I search against Google I pass ?q= for my search term.

    When this is redirected to searchredirect.windstream.net the URI is transformed, with the ?q= parameter being extracted. Windstream's site uses this URI structure:

    search=[search criteria]
    src=[interger value, likely points to an RDBMS based on HTTP_REFERER]

    Windstream is not disclosing the truth. For this behavior to occur you would have to be using an MITM proxy or DPI; either way they are inspecting layer 7 traffic, extracting the ?q= URI string passed to Google, and either transparently or via HTTP 302 redirecting customers to searchredirect.windstream.net

    They got caught, red handed, and have been fabricated mis-truths from the start.

    How HTTP/1.1 GET against /search?q=my_search_term becomes /search.php?search=my_search_term without some form of Layer 7 is impossible. This CANNOT be NXDOMAIN.

    Clearly they're not disclosing the full details or hiding behind careful sentence structure and semantics. This appears that there is now an industry initiative and a company behind this search harvesting and privacy invasive technology which is being sold to ISPs. Expect more to come, this isn't isolated to over-seas, it's already happening right here in the US.

    -SirMeowmix_I

  • Re:Sure they can (Score:1, Informative)

    by Anonymous Coward on Wednesday April 28, 2010 @11:59AM (#32016130)

    I would fear that this is a sort of precursor towards ISPs in China

    Do not confuse "Hong Kong" with "China". Hong Kong is a "special administrative region", and there are very different legal rules and power structures in both places due to how the place developed as a British territory. At least until 2047, anyway.

    If you were watching the Google/China drama just a short while back this distinction came up frequently, particularly when it came time for Google to move their servers from mainland China... To Hong Kong.

  • Re:MitM of Google (Score:3, Informative)

    by jank1887 ( 815982 ) on Wednesday April 28, 2010 @12:01PM (#32016174)

    a fair followup to show that mainly OpenDNS was just trying to fix what google/dell/others? broke:
    http://blog.opendns.com/2007/05/22/google-turns-the-page/ [opendns.com]

  • by nweaver ( 113078 ) on Wednesday April 28, 2010 @12:05PM (#32016242) Homepage

    A: If the ISP is good, they have an opt-out to a non-wildcarding DNS server.

    B: If the ISP is not, I hate to say it but use Google Public DNS (8.8.8.8 and 8.8.4.4), as they don't wildcard or do anything beyond use the DNS information for data-mining purposes.

    I'd personally STRONGLY AVOID OpenDNS, which does lots of bad things to DNS: NXDOMAIN wildcarding ANY address (not just www. addresses), SERVFAIL wildcarding, wildcarding addresses which HAVE valid records but just no A record, and even man-in-the-middling Google!

  • Re:Nope (Score:3, Informative)

    by ffreeloader ( 1105115 ) on Wednesday April 28, 2010 @12:10PM (#32016332) Journal

    Get a grip. Don't demean the sacrifices made at Tiananmen Square with this far less serious bad behavior on the part of my ISP. The two situations aren't slightly close to be moral equivalents.

  • Re:Nope (Score:2, Informative)

    by fmoliveira ( 979051 ) on Wednesday April 28, 2010 @12:20PM (#32016524)
    Great your ISP has a local office you can complain. Where I live (Brazil) all you have is a shitty 0800 that has no shame to hang up when you try to cancel their services or anything they don't like. (You have to sue to make some providers stop sending their bills and ruining your crediting when you stop paying here).
  • by griffinn ( 240043 ) on Wednesday April 28, 2010 @12:24PM (#32016586)

    Confirmed this with a few of my friends who are using PCCW Netvigator. I have the same ISP, but use OpenDNS, so haven't notice anything was amiss for some time.

  • by sydneyfong ( 410107 ) on Wednesday April 28, 2010 @12:24PM (#32016592) Homepage Journal

    (This is also a single post on a forum from one user... ;-p)

    I'm in Hong Kong and I use that ISP mentioned in the article at home.

    Never noticed the change because I've set my DNS servers to google's, but now that I test it out, my ISP's servers do seem to be returning 203.198.80.* in place of NXDOMAIN.

    Fuck.

  • Re:China? (Score:1, Informative)

    by Anonymous Coward on Wednesday April 28, 2010 @12:27PM (#32016680)

    Windstream pissed me off too. They do, however, provide a link on the redirected results to "opt out" and opting out does actually work.

  • Re:VPN (Score:3, Informative)

    by Lumpy ( 12016 ) on Wednesday April 28, 2010 @12:32PM (#32016744) Homepage

    I have my VPN port at home on port 80. It is the best way to bypass firewalls at work and other places.

    works great. you can run your VPN software from a thumb drive and firefox as well. do your surfing over it and the IT BOFH's cant detect or prevent a thing.

    I pointed this out once as a IT manager, "isn't it easier to educate the users about safety? any fool can vpn out port 80 and bypass all our security."

    I had several IT consultant "gurus" stutter and almost foam at their mouth because they just proclaimed their new firewalls as unbreakable and it was impossible for anyone to get unwanted files through it.

  • Re:Sure they can (Score:5, Informative)

    by wvmarle ( 1070040 ) on Wednesday April 28, 2010 @12:32PM (#32016760)

    Like another poster also pointed out: Hong Kong is not China. It is politically part of China, but for all practical reasons it acts as a different country (and you as not being involved in the world political stage should simply consider it as such, much closer to the everyday reality):

    Separate currency, the Hong Kong dollar, linked at 7.8 to the US dollar and fully convertible (can't say that of the yuan).

    Borders with China. I am Hong Kong resident, and still need to buy a visa to enter China.

    Hong Kong is a free port for import and export of goods and services. China is pretty thoroughly locked down, import duties of goods to China are huge. Really.

    Hong Kong has an open, accountable judiciary, with a strong respect for the rule of law. The exact opposite of the other side of the border.

    Hong Kong has press freedom, and not just official.

    Hong Kong people have the right to demonstrate, and do so. In 2003, half a million people took to the streets - or about 7% of the total population. It sent shock waves throughout the country, all the way to Beijing. Something like that would never be allowed in China.

    And last but not least Hong Kong has the permission from Beijing's overlords to move towards full democracy.

  • Re:Sure they can (Score:4, Informative)

    by Bigjeff5 ( 1143585 ) on Wednesday April 28, 2010 @12:34PM (#32016796)

    Nope, sure doesn't. And they can sniff out a DNS request even if you find a DNS host that was amiable to using another port.

    So what you really need as a DNS service that sends and receives encrypted requests over a non-standard port.

    Then you can get around it. Hosting your own DNS does no good, as it still comes through your ISP's DNS first. Hard-coding Google's IP address would work short term for Google search, but if it catches on they'll just start redirecting all Google traffic instead of just DNS requests.

    My host only reroutes failed DNS requests to their own shitty search, but it's still annoying as hell.

  • Re:Sure they can (Score:4, Informative)

    by andymadigan ( 792996 ) <amadigan@nOSpaM.gmail.com> on Wednesday April 28, 2010 @12:59PM (#32017284)
    My ISP (Frontier) was doing this as well, even worse, when you opted out you still actually got the wrong response from DNS, it would detect your browser and give back an error page that looked similar, but not quite the same (at least that's what it did for Firefox). I noticed because the error page looked a little different and the URL was clearly wrong. I ended up switching to Google DNS until my contract was up, and then switching to the local cable monopoly (I suppose they do something similar, but I haven't noticed since I'm still using Google).

    However, I'm obviously a lot more technically savvy than the average user, or even the average tech support person (they couldn't understand the problem). ISPs shouldn't be doing this, router manufacturers should start shipping their products to default to Google DNS, it's faster anyway.
  • Re:Sure they can (Score:5, Informative)

    by icebraining ( 1313345 ) on Wednesday April 28, 2010 @01:12PM (#32017514) Homepage

    DNSSEC prevents tampering, if I understand it right. If you request an answer from server X, the client won't accept a server from any other server, thus prevent man-in-the-middle attacks like this.

    Alternatively, you can redirect all or part of the traffic through a VPN or secure proxy. Even Tor, if you compensate the long delays with some DNS caching, as provided by pdns or other caching server (even if you don't need it, it's awesome, I tell you! Every request after the first takes 0ms).

  • by nweaver ( 113078 ) on Wednesday April 28, 2010 @01:19PM (#32017620) Homepage

    Q: Whats to stop your ISP from redirecting all outgoing packets to port 53 to their own DNS server?

    A: If an ISP does this, we'd detect it: thats one of the tests we check for explicitly in Netalyzr: we send raw DNS requests directly to our server and ensure that they are not intercepted or proxied or modified on the way.

  • by Fallen Kell ( 165468 ) on Wednesday April 28, 2010 @01:40PM (#32018026)
    Actually this has everything to do with network neutrality. The ISP went into a business relationship with a search engine and then changed all the DNS entries to redirect all traffic from all other search engines to the one they have a business relationship with. That isn't a "hacked" connection, that was packet re-prioritization at the ultimate level. Instead of sending the packets to where the user wanted, the ISP sent them to their own service to make more money from their services (thru ads etc.), and away from a competing service. That is the very definition of a NON-neutral net, since they are being HOSTILE to other networks and services.
  • Re:Sure they can (Score:3, Informative)

    by digitalunity ( 19107 ) <digitalunityNO@SPAMyahoo.com> on Wednesday April 28, 2010 @04:43PM (#32021262) Homepage

    Kind of a technicality really. The existing laws granting FCC authority just don't spell it out. A forgiving interpretation of the intent of the law lends me to believe congress did intend for the FCC to regulate all activities of companies using government granted monopolies.

    The free market is powerless in a pseudo-monopolistic environment. Companies(and I mean specifically Qwest, Comcast, AT&T Wireless, AT&T, Sprint, Verizon Wireless and others) have shown and will continue showing that they are unable to provide a service consumers want without applying unscrupulous terms, practices, price gouging, or without violating privacy of their customers.

    Congress needs to get this figured out. Consumers don't have many broadband choices and the companies in the market now are abusive bullies.

  • Re:Sure they can (Score:3, Informative)

    by Bakkster ( 1529253 ) <Bakkster@man.gmail@com> on Wednesday April 28, 2010 @05:34PM (#32022182)

    My understanding of the issue is that Telco's are alternating between how they are classified. First, they wanted to be classified in such a way that they could receive gov't grants to build infrastructure. Then to reclassify so they do not need to license their infrastructure to competitors. Then to reclassify to avoid FCC regulation.

    I agree, Congress needs to get their heads out of their asses. They either need to be regulated, or forced to compete.

"Gravitation cannot be held responsible for people falling in love." -- Albert Einstein

Working...