1

触发了 AWS 警报手表,当我查看访问日志时,这就是不断发生的事情:

14.140.146.5 - - [27/Jul/2012:10:30:18 -0400] "GET /2009/08/05/asynchronous-procedure-execution/?fb_xd_fragment HTTP/1.1" 200 65182 "http://static.ak.facebook.com/connect/xd_arbiter.php?version=9" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
14.140.146.5 - - [27/Jul/2012:10:30:20 -0400] "GET /2009/08/05/asynchronous-procedure-execution/?fb_xd_fragment HTTP/1.1" 200 65182 "http://static.ak.facebook.com/connect/xd_arbiter.php?version=9" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
14.140.146.5 - - [27/Jul/2012:10:30:20 -0400] "GET /2009/08/05/asynchronous-procedure-execution/?fb_xd_fragment HTTP/1.1" 200 65182 "http://static.ak.facebook.com/connect/xd_arbiter.php?version=9" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
14.140.146.5 - - [27/Jul/2012:10:30:22 -0400] "GET /2009/08/05/asynchronous-procedure-execution/?fb_xd_fragment HTTP/1.1" 200 65182 "http://static.ak.facebook.com/connect/xd_arbiter.php?version=9" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
14.140.146.5 - - [27/Jul/2012:10:30:22 -0400] "GET /2009/08/05/asynchronous-procedure-execution/?fb_xd_fragment HTTP/1.1" 200 65182 "http://static.ak.facebook.com/connect/xd_arbiter.php?version=9" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
14.140.146.5 - - [27/Jul/2012:10:30:24 -0400] "GET /2009/08/05/asynchronous-procedure-execution/?fb_xd_fragment HTTP/1.1" 200 65182 "http://static.ak.facebook.com/connect/xd_arbiter.php?version=9" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
14.140.146.5 - - [27/Jul/2012:10:30:24 -0400] "GET /2009/08/05/asynchronous-procedure-execution/?fb_xd_fragment HTTP/1.1" 200 65182 "http://static.ak.facebook.com/connect/xd_arbiter.php?version=9" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
...

知道是什么导致 Facebook 像这样猛烈抨击我的服务器吗?

4

1 回答 1

4

您所看到的是基于散列的跨域消息传递,这种情况仅发生在不支持 postMessage 且未安装 Flash 的旧浏览器中(从日志中您可以看到这是 IE6)。

好消息是您可以通过设置和传递路径来避免这些请求到达您的服务器,并在channelUrl执行时传递FB.init.

这篇博文为您提供了一些有关如何执行此操作的见解。

希望这可以帮助!

于 2012-07-27T19:06:22.033 回答