Re: [hybi] WebSocket Connection Failure Rates By Platform and Localhost or Other Destination

Adam Rice <ricea@chromium.org> Thu, 17 August 2017 11:57 UTC

Return-Path: <ricea@google.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 218B91323A8 for <hybi@ietfa.amsl.com>; Thu, 17 Aug 2017 04:57:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com header.b=L+jhl52G; dkim=pass (1024-bit key) header.d=chromium.org header.b=Y3WyLQvX
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CSCqSV6s8gGk for <hybi@ietfa.amsl.com>; Thu, 17 Aug 2017 04:57:41 -0700 (PDT)
Received: from mail-wr0-x22b.google.com (mail-wr0-x22b.google.com [IPv6:2a00:1450:400c:c0c::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A8780132391 for <hybi@ietf.org>; Thu, 17 Aug 2017 04:57:40 -0700 (PDT)
Received: by mail-wr0-x22b.google.com with SMTP id y96so38361333wrc.1 for <hybi@ietf.org>; Thu, 17 Aug 2017 04:57:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=fnV3fWMI32GITl7HPR9bX1MmZkbsEMmCyryS/9+QloI=; b=L+jhl52GipMfbwKr5D9Rya5FNf+VkIq9E/RKGa6E2y05BSBGTET+JPI1rlNuSZ4kEm 3h7Ae8keyKf3NVZ54OtKVAz2mRz5wCK93KRNP+r3tTW1eJ3d9gDE9zUf6cDb+zKDbahn RISVHA4AMavMKuczfrM0EZ6W6l9K/XbnJx0By8m9kgOYjlYSqiF8G5YAb9QeeQ86esc5 h7/WC3dyuhPFLFiGjayIzJ66DKWAWy/qbUBkAY5iOJ9CKGhywhLjQMb9KVl+JW4D5PTt uFJi/sG5uP6qFUTcbxAhsoWHGwDW3hntJzOl4SGo9XnvIrcWPKQEztbbgOV0ZzSJ8xff 3gvw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=fnV3fWMI32GITl7HPR9bX1MmZkbsEMmCyryS/9+QloI=; b=Y3WyLQvX5vB8KDbU5mBjZ4jghvtlgMXj3md7N8PGNSA0j3lAvX1bA+POemliAHbEkc /o8OdaU0pNzfF63YAMRwF8BZHzmG0Qu+uxq5qZJ4EPq74Zym110rPAxDng8JbgU6+u8t g8mdbDHEpsONtophhtxIg7g8gsU/wEfon5USY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=fnV3fWMI32GITl7HPR9bX1MmZkbsEMmCyryS/9+QloI=; b=KHaolC2HYBOs7SNarGnF5I0Bu4hJj4v20gYrytezM+LsbkoY5NF76WVOKhUUYatvfc wDyKotCgSp0YfahWpD7k9xfO7fB/DD1BrwTpKjI+AL5en1z8MV3Bm1uuX02RALhXl8tC Hp+stx6FhaSR4CbpUrBgho1utG8pC0Ku73yxEoQxpa8dTRgzz1jdfzkEqXxnJFkaZkCD /xXmIYr2MC1HLbnc0ZtKH4foHny39rfuMjeeA1kon1kvfYcu6um3QbNTCc127/OvQ4k+ YbYN3Bb8Mh9yPHnQ18aocoy0R6kOOyWeRjpOmGaD5Su/UYXP5yoe4Op49QiZSah5uRn9 wEnw==
X-Gm-Message-State: AHYfb5h4cI6AIZVmmODPlbbF5T9jQyHCeMfoQVZGielMx5zUXta8JlIA gdblEkXZk3Ab41K5ivX7KQP2mDWLO08+
X-Received: by 10.28.143.205 with SMTP id r196mr1313052wmd.69.1502971058910; Thu, 17 Aug 2017 04:57:38 -0700 (PDT)
MIME-Version: 1.0
Sender: ricea@google.com
Received: by 10.28.46.21 with HTTP; Thu, 17 Aug 2017 04:57:38 -0700 (PDT)
In-Reply-To: <05601DC2-2CBF-4905-9BD8-5328CB510883@warmcat.com>
References: <CAHixhFpVBrw27hcFT+ne6H9TZtnbenAbMCRGi2Ccb9FFpvDnMA@mail.gmail.com> <cb7e05b3-2f58-9d54-868b-7680ede794f0@warmcat.com> <CAHixhFqLWvMNgXB4sxtfFWcL0qZBOjeztuxsVmMWNBwh4WeoaA@mail.gmail.com> <05601DC2-2CBF-4905-9BD8-5328CB510883@warmcat.com>
From: Adam Rice <ricea@chromium.org>
Date: Thu, 17 Aug 2017 20:57:38 +0900
X-Google-Sender-Auth: F6jf5v8m_XQR9EUoT8HULp2M9FU
Message-ID: <CAHixhFo0RJeEEXetgjzV1FKXozSr6y-jddR3fkiSM5FDo+2mkg@mail.gmail.com>
To: Andy Green <andy@warmcat.com>
Cc: "hybi@ietf.org" <hybi@ietf.org>, blink-network-dev@chromium.org, net-dev <net-dev@chromium.org>
Content-Type: multipart/alternative; boundary="001a1145a81a138bd10556f1b8fc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/hybi/IgbNp5Q4evtLUyExZ9Dyoxa5S28>
Subject: Re: [hybi] WebSocket Connection Failure Rates By Platform and Localhost or Other Destination
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Aug 2017 11:57:43 -0000

On 17 August 2017 at 19:48, Andy Green <andy@warmcat.com>; wrote:

> I don't know, but a quick google shows
>
> https://adblockplus.org/development-builds/new-filter-
> type-option-for-websockets
>
> "Starting with Adblock Plus 1.12.2 for Chrome, Opera and Safari we can
> block connections initiated via WebSockets on all major platforms (this
> functionality was available on Firefox since the very start). "
>

Really interesting, thanks.


> That's from 2016-09.
>
> It'd make sense if they were rewritten or resolved to 127.0.0.1, because
> that'd be the other side of the coin as to why stuff trying localhost is so
> likely to fail... it was sent there to fail.
>

Actually, success rates for Mac OS X went up from 2016-09-01 onwards. They
were at an extremely terrible 5% back then. So if Adblock Plus did
anything, it blocked a bunch of things that weren't working!

I just looked at what AdBlock does and it closes the connection if it fails
the check. I haven't looked at AdBlock Plus yet.