[RESOLVED] No More "Search Direct" on Yahoo.com

Ask for help about NoScript, no registration needed to post
Neilyum
Posts: 4
Joined: Sat Nov 12, 2011 9:29 pm

[RESOLVED] No More "Search Direct" on Yahoo.com

Post by Neilyum »

Hi folks! :-)

As you probably know, Firefox was recently updated to version 8.0, and very soon afterwards NoScript was also updated to version 2.1.9.

I use Yahoo.com as my homepage, and when I type something into the search bar there used to be a drop-down list of choices.
In other words, if I type in "ado" it would automatically show an alphabetical list starting with "Adobe Flash Player".
This feature ("Direct Search" of "Search Assist") has suddenly stopped working.

This happens on a Win7X64 PC as well as a XPpro 32bit PC, both running FF 8.0 and NoScript 2.1.9.
On the same machines, *both* work perfectly with IE8! What's more, when I disable NoScript from either machine and run Firefox again, everything is back to normal!

So, I guess what I'm asking is: [A] Has this happened to anyone else yet? and Is there a revision planned?

Thanks in advance! :-)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
Alan Baxter
Ambassador
Posts: 1586
Joined: Fri Mar 20, 2009 4:47 am
Location: Colorado, USA

Re: No More "Search Direct" on Yahoo.com

Post by Alan Baxter »

Confirmed using NoScript 2.1.9rc4 (which is the same as 2.1.9) with the default settings. It appears to be blocked by ABE. Here's the message in the Error Console.

Code: Select all

[ABE] <LOCAL> Deny on {GET http://sugg.search.yahoo.com/gossip-us-fp/?nresults=10&queryfirst=2&output=yjsonp&version=&command=ado <<< http://www.yahoo.com/ - 2}
SYSTEM rule:
Site LOCAL
Accept from LOCAL
Deny
Until Giorgio implements a fix or suggests one. You can disable ABE from
NoScript Options > Advanced > ABE
Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Re: No More "Search Direct" on Yahoo.com

Post by al_9x »

one of the IPs sugg.search.yahoo.com resolves to is 10.227.227.117, which is LOCAL

In ABE, if any IP for a destination host is LOCAL then the host is considered LOCAL. This seems to make sense, as Fx will try all the IPs until one connects, so to prevent a possible LOCAL connection ABE blocks the request.

Were there a way to intercept a request after DNS and before the TCP connection, such a hook would presumably be called for each attempted IP and then only requests to the LOCAL IPs could be blocked. But such API does not exist. So there is no way to selectively block only the LOCAL IPs for a given host, is that right Giorgio?

Without disabling ABE you can add an exception before the SYTEM LOCAL rule:

Site sugg.search.yahoo.com
Accept

Eventually Yahoo will fix this, there is no good reason for returning non routable IPs for a public host.
Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20100101 Firefox/9.0
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Re: No More "Search Direct" on Yahoo.com

Post by al_9x »

al_9x wrote:So there is no way to selectively block only the LOCAL IPs for a given host, is that right Giorgio?
One possibility that comes to mind, if your are intercepting DNS resolution, is it possible to strip the LOCAL IPs from the results?
Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20100101 Firefox/9.0
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: No More "Search Direct" on Yahoo.com

Post by Tom T. »

al_9x wrote:one of the IPs sugg.search.yahoo.com resolves to is 10.227.227.117, which is LOCAL
<snip>
Without disabling ABE you can add an exception before the SYTEM LOCAL rule:

Site sugg.search.yahoo.com
Accept
btw, Giorgio is traveling, and probably won't be responding promptly for a couple of days.

The script shows to me as sugg.us.search.yahoo.net. The absence of .us. doesn't affect this?

I've been playing with this. A more restrictive rule was added above the default rule:

#Yahoo search
Site 10.227.227.117
Accept from search.yahoo.com *search.yahoo.com search.yahoo.net *search.yahoo.net
Deny
One possibility that comes to mind, if your are intercepting DNS resolution, is it possible to strip the LOCAL IPs from the results?
I tried.
By resolving IPs, as you did, I mapped HOSTS as follows:

72.30.2.199 any-sugg.search.ysta1.b.yahoo.com
67.195.181.191 any-sugg.search.ysta1.b.yahoo.com
67.195.181.191 sugg.search.yahoo.com
72.30.2.199 sugg.search.yahoo.com

The intent being to cause those sites to go only to their external IPs, and not to the internal 10.x.x.x., because, as you said,
This seems to make sense, as Fx will try all the IPs until one connects,
So by forcing it to try the external ones first, perhaps the internal one is being prevented?

Do you think that this is in fact any more restrictive, or does it still give blanket permissions from what you said: allowing *any* non-routable IP makes the entire site LOCAL?
al_9x wrote:Eventually Yahoo will fix this, there is no good reason for returning non routable IPs for a public host.
... In ABE, if any IP for a destination host is LOCAL then the host is considered LOCAL. This seems to make sense, as Fx will try all the IPs until one connects, so to prevent a possible LOCAL connection ABE blocks the request.
Which is what bothers me about this whole thing, and the fact that the ABE FAQ has examples for other sites that use the local 127.0.0.1.

If exceptions are added, does that not defeat the purpose of preventing Internet sites from requesting LAN resources?
Last edited by Tom T. on Sun Nov 13, 2011 3:25 am, edited 1 time in total.
Reason: add ref to stripping Local IPs
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.24) Gecko/20111103 Firefox/3.6.24
Neilyum
Posts: 4
Joined: Sat Nov 12, 2011 9:29 pm

Re: No More "Search Direct" on Yahoo.com

Post by Neilyum »

Hi folks,

Just a quick update to say that my problem has suddenly and mysteriously disappeared!
All is working again as it was, so this issue is officially "resolved"! :-)

Thanks to anyone/everyone involved! :-)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: No More "Search Direct" on Yahoo.com

Post by Tom T. »

Neilyum wrote:Hi folks,

Just a quick update to say that my problem has suddenly and mysteriously disappeared!
All is working again as it was, so this issue is officially "resolved"! :-)

Thanks to anyone/everyone involved! :-)
Thanks for posting back to report. And you're very welcome. :)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.24) Gecko/20111103 Firefox/3.6.24
Neilyum
Posts: 4
Joined: Sat Nov 12, 2011 9:29 pm

Re: No More "Search Direct" on Yahoo.com

Post by Neilyum »

Besides manually inserting the word "Resolved" in each new post or reply, how do I show [RESOLVED] in my original Topic? (Or does this happen automatically after a certain length of time?)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3369
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: No More "Search Direct" on Yahoo.com

Post by GµårÐïåñ »

Neilyum wrote:Besides manually inserting the word "Resolved" in each new post or reply, how do I show [RESOLVED] in my original Topic? (Or does this happen automatically after a certain length of time?)
Done! It happens when it is changed on the very first original post. Usually the Mods/Admins will do the modification when the issue is resolved one way or another. You had posted anonymously the first time, so it didn't give you the option to edit it, so I did that for you. Now that you have an account, you can edit your own posts. I will also merge the original post with your current account to include it in your post counts as well as for making your own tracking of the posts you have made easier. Hope that resolves it.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.2 (KHTML, like Gecko) Comodo_Dragon/15.0.3.0 Chrome/15.0.874.102 Safari/535.2
Neilyum
Posts: 4
Joined: Sat Nov 12, 2011 9:29 pm

Re: [RESOLVED] No More "Search Direct" on Yahoo.com

Post by Neilyum »

Ah-haa! Great, thanks! :-)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
Post Reply