revolutions per minute - a new metric for measuring responsiveness
 help / color / mirror / Atom feed
From: Jonathan Foulkes <jf@jonathanfoulkes.com>
To: Rich Brown <richb.hanover@gmail.com>
Cc: Christoph Paasch <cpaasch@apple.com>, rpm@lists.bufferbloat.net
Subject: Re: [Rpm] Does RPM measurement *require* a valid SSL certificate
Date: Fri, 15 Oct 2021 12:38:45 -0400	[thread overview]
Message-ID: <E66357DA-2E88-42B4-BF0A-28FE3D7DA86C@jonathanfoulkes.com> (raw)
In-Reply-To: <D54D12B4-9DF1-4CEC-A68F-2D57F7CA7250@gmail.com>

Good thread, and as one of the guys eager to deploy what Rich calls for

> I'm especially hopeful they'd be in our home routers, so we can check the local connections via Wi-Fi.

> or random router manufacturer's own built-in RPM Server. 

Yep, that would be me ;-)

> I would be tempted *not* to have a command-line option to "accept insecure connections." Instead:

I like simplicity, so yes to this.

> - A builtin client connecting to a user-specified RPM server could accept any connection, and note in the output both the actual RPM Server used, and whether the certificate was signed.

Again, also see this as reasonable, as the user is the one explicitly stating where they want to go. The UI can be as vocal as it wants about risks, just let me get there.

So if I specify iqrouter.lan as the target, I get a result and the state of any certs used.

Same if I stand up an RPM server on a MacMini on my local lan. Or a test server on a transient AWS instance.

Cheers,

Jonathan

> On Oct 15, 2021, at 11:10 AM, Rich Brown via Rpm <rpm@lists.bufferbloat.net> wrote:
> 
> 
> 
>> On Oct 14, 2021, at 4:27 PM, Christoph Paasch <cpaasch@apple.com> wrote:
>> 
>> On 10/13/21 - 17:57, Rich Brown via Rpm wrote:
>>> 
>>>> On Oct 13, 2021, at 3:45 PM, Randall Meyer <rrm@apple.com> wrote:
>>>> 
>>>> We could add a “—insecure/-k” switch as a feature enhancement to the CLI.
>>> 
>>> Or maybe just ignore the certificate. More options is worse, if you have to implement/explain/justify them. 
>> 
>> Ignoring is not a good option. Otherwise, traffic could be intercepted and
>> one could cheat its RPM-value by having a local termination-point on its AP.
> 
> I see your concern, but I'm trying to balance that against my hope that RPM Servers can be widely deployed. I'm especially hopeful they'd be in our home routers, so we can check the local connections via Wi-Fi. 
> 
> To be clear about my concern: it's easy enough to stand up code to respond to the HTTPS requests. But it's a whole lot more work to get a signed SSL certificate, and that could discourage alternate implementations.
> 
> Help me think through the threat model and the use cases. (Sorry if I'm being wordy or redundant. Writing things out helps me think things through...) Use cases:
> 
> - People using the built-in iOS and macOS clients testing against Apple servers, or Apple-provided CDNs, all have access to signed SSL certificates. This is a huge use case, so I don't have to worry about that.
> 
> - People using those clients but specifying a different RPM Server. It'll be one of those implementations from the github networkQuality/server repo, or an OpenWrt package, or random router manufacturer's own built-in RPM Server. 
> 
> - People who write their own client. (Side note: I'd love to see reference Python and Javascript implementations.) These will test against the default Apple RPM servers, or some custom server.
> 
> Does that cover all the use cases?
> 
> Then let's consider the threats...
> 
> - I agree that it would be bad for the builtin clients, using default settings, to get MITM'd. But Apple's extensive SSL machinery covers that threat.
> 
> - Any client (builtin or homegrown) going against a non-Apple RPM Server is subject to all sorts of uncertainties. What if the Go or Swift server has been (poorly) modified? Or that it's running on an 80MHz Pentium :-) I suspect that the signed/not-signed certificate is the least of the worries.
> 
> My proposal:
> 
> I would be tempted *not* to have a command-line option to "accept insecure connections." Instead:
> 
> - A builtin client using the default RPM server could refuse to talk to an RPM server with an unsigned certificate, as it apparently does now.
> 
> - A builtin client connecting to a user-specified RPM server could accept any connection, and note in the output both the actual RPM Server used, and whether the certificate was signed.
> 
> - A homegrown client could work the same.
> 
> Is this reasonable behavior? What would be the downsides?
> 
> Thanks.
> 
> Rich
> 
>> 
>> 
>> Christoph
>> 
>>> 
>>> In the context of an RPM test, where there would be (max) dozens of SSL calculations per second, I suspect that the difference between a self-signed certificate and a "real one" would be negligible.
>>> 
>>> Thanks.
>>> 
>>> Rich
>> 
>>> _______________________________________________
>>> Rpm mailing list
>>> Rpm@lists.bufferbloat.net
>>> https://lists.bufferbloat.net/listinfo/rpm
>> 
> 
> _______________________________________________
> Rpm mailing list
> Rpm@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/rpm


  parent reply	other threads:[~2021-10-15 16:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-13 19:18 Rich Brown
2021-10-13 19:45 ` Randall Meyer
2021-10-13 21:57   ` Rich Brown
2021-10-14 20:27     ` Christoph Paasch
2021-10-15 15:10       ` Rich Brown
2021-10-15 16:38         ` Toke Høiland-Jørgensen
2021-10-15 17:19           ` Rich Brown
2021-10-15 16:38         ` Jonathan Foulkes [this message]
2021-10-20 18:30         ` Christoph Paasch
2021-10-20 18:47           ` Rich Brown
2021-10-20 23:04           ` Omer Shapira
2021-10-21 11:45             ` Toke Høiland-Jørgensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/rpm.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E66357DA-2E88-42B4-BF0A-28FE3D7DA86C@jonathanfoulkes.com \
    --to=jf@jonathanfoulkes.com \
    --cc=cpaasch@apple.com \
    --cc=richb.hanover@gmail.com \
    --cc=rpm@lists.bufferbloat.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox