Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #406655

Re: Nest sounds nasty

From Don Y <blockedofcourse@foo.invalid>
Newsgroups sci.electronics.design
Subject Re: Nest sounds nasty
Date 2016-04-09 00:17 -0700
Organization A noiseless patient Spider
Message-ID <neaabp$pkb$1@dont-email.me> (permalink)
References (1 earlier) <KVxNy.5$vC5.3@fx01.iad> <ne6guf$is8$1@dont-email.me> <pan.2016.04.08.03.39.37.131000@nowhere.invalid> <ne79oq$tci$1@dont-email.me> <pan.2016.04.09.05.52.08.515000@nowhere.invalid>

Show all headers | View raw


On 4/8/2016 10:52 PM, Nobody wrote:
> On Thu, 07 Apr 2016 20:49:12 -0700, Don Y wrote:
>
>>>> Using a COTS platform (Linux, MS, etc.) is just silly-thought when you're
>>>> concerned about these things.
>>>
>>> Not really. The networking stack on a real OS may have bugs, but the ones
>>> on "devices" tend to be an absolute joke by comparison. Like, the code
>>> doesn't even consider the possibility of malicious packets, or invalid
>>> packets, or in fact anything other than what the supplied PC-side driver
>>> software will send it.
>>
>> Computers are designed with different emphasis than appliances.
>> A computer (and its OS) wants to facilitate a variety of operations
>> in which the user may want to participate.
>>
>> An appliance, by contrast, has a very fixed, limited set of activities
>> with which it should be concerned.  You don't design your refrigerator
>> to have clothes washing capabilities -- "just in case".
>
> The current /de facto/ standard for controlling devices is a web
> interface. This means that it needs a fairly complete TCP/IP stack (if
> you need to support TCP, you basically need 90% of a typical TCP/IP
> implementation). It can't assume anything about the user's computer or
> network topology.

The Nest doesn't talk to you -- you talk to google and google talks
to the Nest.  That interface can be anything that google wants it to
be.  E.g., you could tunnel under DNS using UDP and still pass the
data to/from the thermostat -- that google's gazillions of servers could
convert and wrap in a web page for your convenience.

> Even if you're going to limit actual "support" to the kind of traffic
> which you expect, the implementation still needs to be robust against
> traffic which it doesn't expect (i.e. not crashing or allowing the device
> to be exploited). Which many "embedded" stacks aren't.

It's talking to google.  Google can define exactly what it should expect to
see and what they should expect to see from it.  No need to worry about
someone trying to telnet on port 80 and confuse it, etc.

Have you noticed how many Linux-based appliances have been pwned?  Do
you think the folks who ported the code deliberately injected bugs in it?
Or, rather, that the code was sufficiently too complex and they had
to resort to treating it as a (incompletely understood) "black box"?

If you look inside most modern desktop network stacks, you will see that
they go to great lengths for efficiency -- where efficiency is related
to bandwidth (not code space or RAM size).  There's a lot of complexity
introduced to make the code run faster in the high demand environment
of a "computer"; efficiency that isn't necessary in an "appliance".

> Personally, I'd take the Linux or BSD TCP/IP implementations over a
> "niche" implementation any day, simply because of the amount of real-world
> testing they get (the situation for Windows is a bit different because you
> can't just use the "kernel" without a vast heap of consumer-grade junk on
> top of it).

I don't think you realize the extra size and complexity that a full
(desktop-derived) stack and web server implies for the device.  Keep
in mind that they aren't designing something that *you* talk to
but, rather, that *they* talk to.  Do you think they can't impose
some discipline on what they pass over that link?  And, clamp down
really hard on syntax and content?  (i.e., if something doesn't look
PERFECT, ignore it!)

Note the Nest has a 32b ARM with 64M of ram and 256M of FLASH.  It
plays the role of "beachhead controller" -- connecting to other "motes"
via ZigBee or BT.

And its just a THERMOSTAT!

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Nest sounds nasty John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-07 08:37 -0700
  Re: Nest sounds nasty Joe Chisolm <jchisolm6@earthlink.net> - 2016-04-07 11:10 -0500
    Re: Nest sounds nasty John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-07 09:18 -0700
      Re: Nest sounds nasty Joerg <news@analogconsultants.com> - 2016-04-07 09:29 -0700
        Re: Nest sounds nasty John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-07 09:44 -0700
          Re: Nest sounds nasty Joerg <news@analogconsultants.com> - 2016-04-07 10:02 -0700
            Re: Nest sounds nasty John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-07 10:51 -0700
            Re: Nest sounds nasty Robert Baer <robertbaer@localnet.com> - 2016-04-07 20:45 -0800
            Re: Nest sounds nasty jurb6006@gmail.com - 2016-04-07 22:40 -0700
              Re: Nest sounds nasty DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-04-08 02:01 -0400
          Re: Nest sounds nasty o pere o <me@somewhere.net> - 2016-04-08 12:36 +0200
            Re: Nest sounds nasty Spehro Pefhany <speffSNIP@interlogDOTyou.knowwhat> - 2016-04-08 07:57 -0400
              Re: Nest sounds nasty bill.sloman@ieee.org - 2016-04-08 16:59 -0700
        Re: Nest sounds nasty bill.sloman@ieee.org - 2016-04-08 02:54 -0700
          Re: Nest sounds nasty Joerg <news@analogconsultants.com> - 2016-04-08 07:25 -0700
            Re: Nest sounds nasty krw <krw@nowhere.com> - 2016-04-08 12:40 -0400
              Re: Nest sounds nasty Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-08 13:18 -0400
                Re: Nest sounds nasty krw <krw@nowhere.com> - 2016-04-08 13:27 -0400
            Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-08 11:18 -0700
              Re: Nest sounds nasty Joerg <news@analogconsultants.com> - 2016-04-08 11:54 -0700
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-08 12:00 -0700
                Re: Nest sounds nasty Joerg <news@analogconsultants.com> - 2016-04-08 14:59 -0700
                Re: Nest sounds nasty Tom Gardner <spamjunk@blueyonder.co.uk> - 2016-04-09 00:00 +0100
                Re: Nest sounds nasty Joerg <news@analogconsultants.com> - 2016-04-08 16:36 -0700
                Re: Nest sounds nasty Tom Gardner <spamjunk@blueyonder.co.uk> - 2016-04-09 00:52 +0100
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-08 16:08 -0700
                Re: Nest sounds nasty "dcaster@krl.org" <dcaster@krl.org> - 2016-04-09 17:21 -0700
                Re: Nest sounds nasty "Michael A. Terrell" <mike.terrell@earthlink.net> - 2016-04-17 19:00 -0400
                Re: Nest sounds nasty krw <krw@nowhere.com> - 2016-04-17 20:20 -0400
                Re: Nest sounds nasty "Michael A. Terrell" <mike.terrell@earthlink.net> - 2016-04-19 00:26 -0400
                Re: Nest sounds nasty Jeff Liebermann <jeffl@cruzio.com> - 2016-04-17 17:29 -0700
                Re: Nest sounds nasty "Michael A. Terrell" <mike.terrell@earthlink.net> - 2016-04-19 00:21 -0400
    Re: Nest sounds nasty Tom Gardner <spamjunk@blueyonder.co.uk> - 2016-04-07 17:34 +0100
      Re: Nest sounds nasty John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-07 09:45 -0700
        Re: Nest sounds nasty Tom Gardner <spamjunk@blueyonder.co.uk> - 2016-04-07 19:09 +0100
      Re: Nest sounds nasty Joerg <news@analogconsultants.com> - 2016-04-07 10:07 -0700
      Re: Nest sounds nasty Jeff Liebermann <jeffl@cruzio.com> - 2016-04-07 11:09 -0700
        Re: Nest sounds nasty Tom Gardner <spamjunk@blueyonder.co.uk> - 2016-04-07 19:16 +0100
      Re: Nest sounds nasty Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-07 14:47 -0400
        Re: Nest sounds nasty Jeff Liebermann <jeffl@cruzio.com> - 2016-04-07 22:31 -0700
          Re: Nest sounds nasty DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-04-08 01:56 -0400
        Re: Nest sounds nasty John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-08 05:51 -0700
          Re: Nest sounds nasty krw <krw@nowhere.com> - 2016-04-08 12:43 -0400
            Re: Nest sounds nasty John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-08 11:29 -0700
            Re: Nest sounds nasty Tom Gardner <spamjunk@blueyonder.co.uk> - 2016-04-09 00:02 +0100
              Re: Nest sounds nasty krw <krw@nowhere.com> - 2016-04-08 22:28 -0400
              Re: Nest sounds nasty John S <Sophi.2@invalid.org> - 2016-04-09 13:28 -0500
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-09 12:00 -0700
    Re: Nest sounds nasty krw <krw@nowhere.com> - 2016-04-07 15:49 -0400
    Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-07 13:31 -0700
      Re: Nest sounds nasty Jeff Liebermann <jeffl@cruzio.com> - 2016-04-07 15:22 -0700
        Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-07 16:06 -0700
          Re: Nest sounds nasty Lasse Langwadt Christensen <langwadt@fonz.dk> - 2016-04-07 16:24 -0700
            Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-07 16:52 -0700
              Re: Nest sounds nasty Jeff Liebermann <jeffl@cruzio.com> - 2016-04-07 18:58 -0700
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-07 20:37 -0700
                Re: Nest sounds nasty dagmargoodboat@yahoo.com - 2016-04-10 10:26 -0700
                Re: Nest sounds nasty Spehro Pefhany <speffSNIP@interlogDOTyou.knowwhat> - 2016-04-10 18:21 -0400
                Re: Nest sounds nasty Les Cargill <lcargill99@comcast.com> - 2016-04-11 20:41 -0500
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-11 20:27 -0700
                Re: Nest sounds nasty Les Cargill <lcargill99@comcast.com> - 2016-04-12 00:44 -0500
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-11 23:10 -0700
                Re: Nest sounds nasty Les Cargill <lcargill99@comcast.com> - 2016-04-12 19:38 -0500
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-12 23:03 -0700
                Re: Nest sounds nasty Les Cargill <lcargill99@comcast.com> - 2016-04-13 22:24 -0500
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-13 22:43 -0700
                Re: Nest sounds nasty Tom Gardner <spamjunk@blueyonder.co.uk> - 2016-04-12 09:43 +0100
                Re: Nest sounds nasty DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-04-12 05:13 -0400
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-12 03:38 -0700
                Re: Nest sounds nasty Les Cargill <lcargill99@comcast.com> - 2016-04-12 19:47 -0500
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-12 19:03 -0700
                Re: Nest sounds nasty Les Cargill <lcargill99@comcast.com> - 2016-04-13 22:30 -0500
                Re: Nest sounds nasty Les Cargill <lcargill99@comcast.com> - 2016-04-12 19:42 -0500
                Re: Nest sounds nasty Tom Gardner <spamjunk@blueyonder.co.uk> - 2016-04-13 03:04 +0100
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-12 19:16 -0700
                Re: Nest sounds nasty dagmargoodboat@yahoo.com - 2016-04-13 19:43 -0700
                Re: Nest sounds nasty legg <legg@nospam.magma.ca> - 2016-04-14 00:40 -0500
                Re: Nest sounds nasty dagmargoodboat@yahoo.com - 2016-04-10 10:37 -0700
                Re: Nest sounds nasty Jeff Liebermann <jeffl@cruzio.com> - 2016-04-10 12:16 -0700
                Re: Nest sounds nasty dagmargoodboat@yahoo.com - 2016-04-13 19:37 -0700
                Re: Nest sounds nasty bill.sloman@ieee.org - 2016-04-13 22:39 -0700
          Re: Nest sounds nasty Tom Gardner <spamjunk@blueyonder.co.uk> - 2016-04-08 09:10 +0100
            Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-10 16:40 -0700
        Re: Nest sounds nasty Jasen Betts <jasen@xnet.co.nz> - 2016-04-09 04:59 +0000
          Re: Nest sounds nasty Jeff Liebermann <jeffl@cruzio.com> - 2016-04-09 10:47 -0700
      Re: Nest sounds nasty Jon Elson <jmelson@wustl.edu> - 2016-04-08 14:18 -0500
        Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-08 12:25 -0700
  Re: Nest sounds nasty bitrex <bitrex@de.lete.earthlink.net> - 2016-04-07 14:46 -0400
    Re: Nest sounds nasty John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-07 12:36 -0700
    Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-07 13:45 -0700
      Re: Nest sounds nasty Nobody <nobody@nowhere.invalid> - 2016-04-08 04:39 +0100
        Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-07 20:49 -0700
          Re: Nest sounds nasty Jeff Liebermann <jeffl@cruzio.com> - 2016-04-07 22:00 -0700
            Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-07 23:14 -0700
          Re: Nest sounds nasty Nobody <nobody@nowhere.invalid> - 2016-04-09 06:52 +0100
            Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-09 00:17 -0700
              Re: Nest sounds nasty Tom Gardner <spamjunk@blueyonder.co.uk> - 2016-04-09 09:09 +0100
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-09 02:16 -0700
                Re: Nest sounds nasty Tom Gardner <spamjunk@blueyonder.co.uk> - 2016-04-09 11:04 +0100
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-09 08:48 -0700
                Re: Nest sounds nasty Jasen Betts <jasen@xnet.co.nz> - 2016-04-10 04:17 +0000
                Re: Nest sounds nasty Jasen Betts <jasen@xnet.co.nz> - 2016-04-09 21:38 +0000
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-10 16:55 -0700
                Re: Nest sounds nasty Jasen Betts <jasen@xnet.co.nz> - 2016-04-09 21:22 +0000
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-09 14:42 -0700
                Re: Nest sounds nasty Tom Gardner <spamjunk@blueyonder.co.uk> - 2016-04-09 23:27 +0100
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-09 17:31 -0700
                Re: Nest sounds nasty Tom Gardner <spamjunk@blueyonder.co.uk> - 2016-04-10 10:57 +0100
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-10 09:17 -0700
              Re: Nest sounds nasty Nobody <nobody@nowhere.invalid> - 2016-04-10 06:09 +0100
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-09 22:47 -0700
            Re: Nest sounds nasty DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-04-09 03:39 -0400
            Re: Nest sounds nasty John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-09 08:29 -0700
              Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-09 09:02 -0700
                Re: Nest sounds nasty Phil Hobbs <pcdhobbs@gmail.com> - 2016-04-09 10:15 -0700
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-09 10:46 -0700
                Re: Nest sounds nasty Jasen Betts <jasen@xnet.co.nz> - 2016-04-10 04:33 +0000
                Re: Nest sounds nasty John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-09 10:36 -0700
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-09 12:18 -0700
                Re: Nest sounds nasty John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-09 13:00 -0700
                Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-09 13:23 -0700
                Re: Nest sounds nasty John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-09 16:58 -0700
              Re: Nest sounds nasty Jasen Betts <jasen@xnet.co.nz> - 2016-04-10 04:20 +0000
  Re: Nest sounds nasty hondgm@yahoo.com - 2016-04-12 12:50 -0700
    Re: Nest sounds nasty Don Y <blockedofcourse@foo.invalid> - 2016-04-12 19:22 -0700

csiph-web