Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #406350 > unrolled thread
| Started by | John Larkin <jjlarkin@highlandtechnology.com> |
|---|---|
| First post | 2016-04-07 08:37 -0700 |
| Last post | 2016-04-12 19:22 -0700 |
| Articles | 20 on this page of 125 — 27 participants |
Back to article view | Back to sci.electronics.design
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
Page 6 of 7 — ← Prev page 1 2 3 4 5 [6] 7 Next page →
| From | Jasen Betts <jasen@xnet.co.nz> |
|---|---|
| Date | 2016-04-10 04:17 +0000 |
| Message-ID | <neck52$j3c$1@gonzo.alcatraz> |
| In reply to | #406668 |
On 2016-04-09, Tom Gardner <spamjunk@blueyonder.co.uk> wrote: >> Once the server knows where the device "is", the *device* can open >> a connection and "listen" for an incoming connection -- from the >> server. I.e., wait for the server to contact the device! Then, >> apply whatever authentication has been decided upon ahead of time >> to ensure the server is legitimate. And, begin their dialog. > > That I don't understand. A connection has two endpoints, so when > one has been opened there is no need for a device to listen. yeah, the DNS hack was a way that it could get messages out when behind a firewall that was blocking regular outbound connections. sometimes you encounter a firewall that blocks some, or most, outbound connections, > Any attempt by a server to open a connection should be blocked > by my firewall. So, you have UPnP IGD turned off in your router? (not a bad idea IMO) >> Imagine you wanted to tell the server the *name* of the person who purchased >> this device. First, try to resolve "OwnerName.nest.com". Then, try to >> resolve "FirstNameTom.nest.com". And, finally, "LastNameGardner.nest.com". > > That would only get as far as the DNS machines, and wouldn't > reach the service's servers. Unique the request by including the serial number (mac address) of the device and, if needed, a timestamp, that way you can be sure it will reach one of the servers. > Apart from that, sending a request to FirstNameTom.nest.com is > just another protocol for the device to contact the server. It gets a message there, without making a direct connection. -- \_(ツ)_
[toc] | [prev] | [next] | [standalone]
| From | Jasen Betts <jasen@xnet.co.nz> |
|---|---|
| Date | 2016-04-09 21:38 +0000 |
| Message-ID | <nebso4$g5n$1@gonzo.alcatraz> |
| In reply to | #406666 |
On 2016-04-09, Don Y <blockedofcourse@foo.invalid> wrote:
> It's also possible that your ISP's DNS will cache the results of DNS
> requests (e.g., so it isn't constantly trying to resolve things like
> "google.com"!) In that case, if some OTHER client of your ISP happened
> to have a Nest device, they may have previously tried to resolve
> "something.nest.com". If your ISP's DNS has cached this result, then
> YOUR rquest will never be passed along to DNS.nest.com -- it will,
> instead, be handled by your ISP's DNS!
>
> To work around this, you ("you" being every Nest device) can, instead
> try to resolve "randomstring.nest.com". If "randomstring" is random,
> then, chances are, your ISP's DNS won't have already been asked to
> resolve it (any other Nest's would have chosen a different "randomstring").
> So, the request WILL be propagated to the DNS.nest.com machine.
>
> Once the server knows where the device "is", the *device* can open
> a connection and "listen" for an incoming connection -- from the
> server. I.e., wait for the server to contact the device! Then,
> apply whatever authentication has been decided upon ahead of time
> to ensure the server is legitimate. And, begin their dialog.
it depends what sort of firewall it's behind. it's quite possible
that it can't open a socket that's reachable from the server.
> If a firewall prohibits explicit connections to the outside world,
> you can fabricate carefully crafted requests that your ISP's DNS
> will pass through to the DNS server for nest.com. The requests effectively
> encode *data* -- you're not really interested in the IP address associated
> with the hostnames you try to resolve (i.e., the results returned from the
> DNS query)!
I'd be requesting TXT records, you can encode quite a lot of data in those.
> Imagine you wanted to tell the server the *name* of the person who purchased
> this device. First, try to resolve "OwnerName.nest.com". Then, try to
> resolve "FirstNameTom.nest.com". And, finally, "LastNameGardner.nest.com".
>
> [This is a gross simplification]
Yeah, you need identify which device the request is coming from too.
--
\_(ツ)_
[toc] | [prev] | [next] | [standalone]
| From | Don Y <blockedofcourse@foo.invalid> |
|---|---|
| Date | 2016-04-10 16:55 -0700 |
| Message-ID | <neep65$tjk$1@dont-email.me> |
| In reply to | #406778 |
On 4/9/2016 2:38 PM, Jasen Betts wrote:
> On 2016-04-09, Don Y <blockedofcourse@foo.invalid> wrote:
>
>> It's also possible that your ISP's DNS will cache the results of DNS
>> requests (e.g., so it isn't constantly trying to resolve things like
>> "google.com"!) In that case, if some OTHER client of your ISP happened
>> to have a Nest device, they may have previously tried to resolve
>> "something.nest.com". If your ISP's DNS has cached this result, then
>> YOUR rquest will never be passed along to DNS.nest.com -- it will,
>> instead, be handled by your ISP's DNS!
>>
>> To work around this, you ("you" being every Nest device) can, instead
>> try to resolve "randomstring.nest.com". If "randomstring" is random,
>> then, chances are, your ISP's DNS won't have already been asked to
>> resolve it (any other Nest's would have chosen a different "randomstring").
>> So, the request WILL be propagated to the DNS.nest.com machine.
>>
>> Once the server knows where the device "is", the *device* can open
>> a connection and "listen" for an incoming connection -- from the
>> server. I.e., wait for the server to contact the device! Then,
>> apply whatever authentication has been decided upon ahead of time
>> to ensure the server is legitimate. And, begin their dialog.
>
> it depends what sort of firewall it's behind.
As well as how the user has his/her network configured. I'd imagine
most have a cable/DSL modem feeding (or containing) a small 4 port
router -- with wireless capabilities.
But, people seem to think of routers and switches in much the same
way that they think of outlets on extension cords: that there is no
"inside" or "outside" involved, just a junction point. Then, wonder
why one machine can't talk to another (without port forwarding).
> it's quite possible
> that it can't open a socket that's reachable from the server.
>> Imagine you wanted to tell the server the *name* of the person who purchased
>> this device. First, try to resolve "OwnerName.nest.com". Then, try to
>> resolve "FirstNameTom.nest.com". And, finally, "LastNameGardner.nest.com".
>>
>> [This is a gross simplification]
>
> Yeah, you need identify which device the request is coming from too.
That depends on the protocol being used. DNS traffic over UDP
(and implemented using intermediary agents, etc) hides the
originator's IP (and MAC) once you've passed the local segment.
OTOH, TCP-based protocols inherently disclose the other end
(unless routed through a proxy)
But, you'd still likely want to use an identifier that makes sense
to the manufacturer (serial number, MAC, etc.). This provides
marketing data ("Ah, we sold another one AND it actually got
installed!") as well as lets them know firmware versions for potential
update pushes, etc. As the serial number/MAC is unique, it (or some
hash of it) can be used as the "randomstring" in the description
I presented (knowing that it will be unique and not previously
resolved and cached by an upstream DNS).
[toc] | [prev] | [next] | [standalone]
| From | Jasen Betts <jasen@xnet.co.nz> |
|---|---|
| Date | 2016-04-09 21:22 +0000 |
| Message-ID | <nebrqn$g01$1@gonzo.alcatraz> |
| In reply to | #406662 |
On 2016-04-09, Tom Gardner <spamjunk@blueyonder.co.uk> wrote: > On 09/04/16 08:17, Don Y wrote: >> 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. > > Side question. What are typical communication modes > between devices and servers, given that I have a > router/firewall in the way? > > I can understand how a device polls/contacts the server, > and could request instructions as to what to do next. I > don't see how a server could initiate contact with a > device. have the device keep a persistent connection open to the server -- \_(ツ)_
[toc] | [prev] | [next] | [standalone]
| From | Don Y <blockedofcourse@foo.invalid> |
|---|---|
| Date | 2016-04-09 14:42 -0700 |
| Message-ID | <nebt0v$g39$1@dont-email.me> |
| In reply to | #406775 |
On 4/9/2016 2:22 PM, Jasen Betts wrote: > On 2016-04-09, Tom Gardner <spamjunk@blueyonder.co.uk> wrote: >> On 09/04/16 08:17, Don Y wrote: >>> 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. >> >> Side question. What are typical communication modes >> between devices and servers, given that I have a >> router/firewall in the way? >> >> I can understand how a device polls/contacts the server, >> and could request instructions as to what to do next. I >> don't see how a server could initiate contact with a >> device. > > have the device keep a persistent connection open to the server Nest sold ~4 million units in 2015. You want to keep a connection for EACH of them open 24/7/365 "just in case" someone wants to talk to their thermostat THIS INSTANT?
[toc] | [prev] | [next] | [standalone]
| From | Tom Gardner <spamjunk@blueyonder.co.uk> |
|---|---|
| Date | 2016-04-09 23:27 +0100 |
| Message-ID | <AlfOy.518476$lz.50218@fx44.am4> |
| In reply to | #406775 |
On 09/04/16 22:22, Jasen Betts wrote: > On 2016-04-09, Tom Gardner <spamjunk@blueyonder.co.uk> wrote: >> On 09/04/16 08:17, Don Y wrote: >>> 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. >> >> Side question. What are typical communication modes >> between devices and servers, given that I have a >> router/firewall in the way? >> >> I can understand how a device polls/contacts the server, >> and could request instructions as to what to do next. I >> don't see how a server could initiate contact with a >> device. > > have the device keep a persistent connection open to the server That's an inefficient variant of the device polling the server.
[toc] | [prev] | [next] | [standalone]
| From | Don Y <blockedofcourse@foo.invalid> |
|---|---|
| Date | 2016-04-09 17:31 -0700 |
| Message-ID | <nec6to$gkd$1@dont-email.me> |
| In reply to | #406780 |
On 4/9/2016 3:27 PM, Tom Gardner wrote: >>> I can understand how a device polls/contacts the server, >>> and could request instructions as to what to do next. I >>> don't see how a server could initiate contact with a >>> device. >> >> have the device keep a persistent connection open to the server > > That's an inefficient variant of the device polling the server. The "right" solution (from an aesthetic, scaling and technological perspective) is to have the device open a port and sit and listen. Whether five devices in the wild or 5 million, the resources required to contact any ONE of them remain the same (you don't have to increase the capabilities of the "server"/proxy unless you actually want to access "many" at once) But, this means there needs to be an "exposed"/open path to the device "from the outside", the device needs to have a small attack surface, be implemented with security in mind (not layered on, after the fact) and "hide" from likely probes. [If you, an adversary, KNOW there's a wall safe in the bedroom, you'll probably spend most of your effort *in* that bedroom!] You also don't want to combine the functionality/security with some other device (e.g., a PC) that isn't designed with the same security emphasis. I.e., if your PC knows how to contact your <whatever>, then once the PC is pwned, it gleefully EXPOSES the device -- along with the likely means of accessing it! [PC also makes a delightful, on-site surrogate to do the heavy lifting of breaking into your device -- without tying up the adversary's resources *or* identity!]
[toc] | [prev] | [next] | [standalone]
| From | Tom Gardner <spamjunk@blueyonder.co.uk> |
|---|---|
| Date | 2016-04-10 10:57 +0100 |
| Message-ID | <sspOy.802678$O02.198841@fx38.am4> |
| In reply to | #406795 |
On 10/04/16 01:31, Don Y wrote: > On 4/9/2016 3:27 PM, Tom Gardner wrote: > >>>> I can understand how a device polls/contacts the server, >>>> and could request instructions as to what to do next. I >>>> don't see how a server could initiate contact with a >>>> device. >>> >>> have the device keep a persistent connection open to the server >> >> That's an inefficient variant of the device polling the server. > > The "right" solution (from an aesthetic, scaling and technological > perspective) is to have the device open a port and sit and listen. > Whether five devices in the wild or 5 million, the resources > required to contact any ONE of them remain the same (you don't have > to increase the capabilities of the "server"/proxy unless you > actually want to access "many" at once) > > But, this means there needs to be an "exposed"/open path to the device > "from the outside", the device needs to have a small attack surface, > be implemented with security in mind (not layered on, after the fact) > and "hide" from likely probes. > > [If you, an adversary, KNOW there's a wall safe in the bedroom, you'll > probably spend most of your effort *in* that bedroom!] > > You also don't want to combine the functionality/security with some other > device (e.g., a PC) that isn't designed with the same security emphasis. > I.e., if your PC knows how to contact your <whatever>, then once the > PC is pwned, it gleefully EXPOSES the device -- along with the likely > means of accessing it! > > [PC also makes a delightful, on-site surrogate to do the heavy lifting > of breaking into your device -- without tying up the adversary's resources > *or* identity!] Yes indeed. But I'm interested in how the devices for the unwashed masses work. In this context "unwashed masses" = those that don't know what a router is, and wouldn't know a port number from a docking bay. Such devices need near-zero onsite configuration.
[toc] | [prev] | [next] | [standalone]
| From | Don Y <blockedofcourse@foo.invalid> |
|---|---|
| Date | 2016-04-10 09:17 -0700 |
| Message-ID | <neduc9$4ks$1@dont-email.me> |
| In reply to | #406823 |
On 4/10/2016 2:57 AM, Tom Gardner wrote:
> On 10/04/16 01:31, Don Y wrote:
>> On 4/9/2016 3:27 PM, Tom Gardner wrote:
>>
>>>>> I can understand how a device polls/contacts the server,
>>>>> and could request instructions as to what to do next. I
>>>>> don't see how a server could initiate contact with a
>>>>> device.
>>>>
>>>> have the device keep a persistent connection open to the server
>>>
>>> That's an inefficient variant of the device polling the server.
>>
>> The "right" solution (from an aesthetic, scaling and technological
>> perspective) is to have the device open a port and sit and listen.
>> Whether five devices in the wild or 5 million, the resources
>> required to contact any ONE of them remain the same (you don't have
>> to increase the capabilities of the "server"/proxy unless you
>> actually want to access "many" at once)
>>
>> But, this means there needs to be an "exposed"/open path to the device
>> "from the outside", the device needs to have a small attack surface,
>> be implemented with security in mind (not layered on, after the fact)
>> and "hide" from likely probes.
>>
>> [If you, an adversary, KNOW there's a wall safe in the bedroom, you'll
>> probably spend most of your effort *in* that bedroom!]
>>
>> You also don't want to combine the functionality/security with some other
>> device (e.g., a PC) that isn't designed with the same security emphasis.
>> I.e., if your PC knows how to contact your <whatever>, then once the
>> PC is pwned, it gleefully EXPOSES the device -- along with the likely
>> means of accessing it!
>>
>> [PC also makes a delightful, on-site surrogate to do the heavy lifting
>> of breaking into your device -- without tying up the adversary's resources
>> *or* identity!]
>
> Yes indeed.
>
> But I'm interested in how the devices for the unwashed
> masses work. In this context "unwashed masses" = those
> that don't know what a router is, and wouldn't know a
> port number from a docking bay.
>
> Such devices need near-zero onsite configuration.
Typically, by using a port that they can "reasonably expect" to NOT
be blocked -- by the router *or* the ISP (e.g., 80, 53, etc.). And,
using (or tunneling) through an "expected protocol" on that port
(because some ISP's monitor traffic as well as just ports; e.g., so you
can't run a web SERVER on a port).
In my case, I typically just want to smuggle a low bandwidth
connection in and am not looking for large volumes of traffic so
I can try a single HTTP connection and, if that fails, fall back
on DNS tunneling. This is easier than fighting IT departments
or having the device "email me", etc.
[As it's typically a one-time event, no one really notices a pattern of
continuous chatter on the DNS channel]
In Nest's case:
"Verify that ports 9543, 11095, 80, and 443 are not being blocked
by your router or access point. Nest products need these ports for
Internet communications."
They appear to use UDP *and* TCP on these ports (?) N.B.:
80 -- HTTP
443 -- HTTPS
9543 -- unassigned
11095 -- unassigned
As 53 isn't listed, they no doubt expect to discover/use *your* DNS
service to get through the firewall.
Some routers can be "remotely controlled" by "internal" applications
and open ports through the firewall to suit their needs. In which
case, they could exploit those protocols.
But, still need a fallback position (or, be willing to tell customer
"it won't work with YOUR router")
[toc] | [prev] | [next] | [standalone]
| From | Nobody <nobody@nowhere.invalid> |
|---|---|
| Date | 2016-04-10 06:09 +0100 |
| Message-ID | <pan.2016.04.10.05.09.10.36000@nowhere.invalid> |
| In reply to | #406655 |
On Sat, 09 Apr 2016 00:17:42 -0700, Don Y wrote: > 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"? This has nothing to do with the quality of the kernel's networking stack, and everything to do with the application layers being written as if it was "desktop-grade" software. Almost all security issues with Linux-based appliances arise from the user-space code, most often within the vendor's own code (although there have been a couple of issues with e.g. the popular mini-httpd implementations which have affected many downstream vendors). Whereas proprietary embedded stacks frequently have issues with the base networking stack itself. > 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". There's a lot of complexity that's inherent to just getting TCP working reliably. The effort required is simply too much for a vendor to create their own networking stack from the ground up. Those that try end up with something which at best doesn't work on anything other than an ideal network and at worst is riddled with exploitable bugs. The thing about using commodity protocols and implementations is that they're well understood and well tested. It's possible to build robust systems using them *if* you actually care about robustness. Most of the problems stem from the fact that the vendors often don't. Which in turn stems largely from market forces; their customers care about price and visible functionality, but don't seem to care much about robustness until after they actually get bitten by the lack of it.
[toc] | [prev] | [next] | [standalone]
| From | Don Y <blockedofcourse@foo.invalid> |
|---|---|
| Date | 2016-04-09 22:47 -0700 |
| Message-ID | <necpeq$fo7$1@dont-email.me> |
| In reply to | #406802 |
On 4/9/2016 10:09 PM, Nobody wrote: > On Sat, 09 Apr 2016 00:17:42 -0700, Don Y wrote: > >> 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"? > > This has nothing to do with the quality of the kernel's networking stack, > and everything to do with the application layers being written as if it > was "desktop-grade" software. It has everything to do with ignorance as to what goes *on* inside the network stack and the ways that it can be exploited. "Let's run it on Linux" is almost as clueless as "Let's run it on Windows" > Almost all security issues with Linux-based appliances arise from the > user-space code, most often within the vendor's own code (although there > have been a couple of issues with e.g. the popular mini-httpd > implementations which have affected many downstream vendors). > > Whereas proprietary embedded stacks frequently have issues with the base > networking stack itself. And you know that, how? Exactly how many network stacks have you developed and deployed? >> 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". > > There's a lot of complexity that's inherent to just getting TCP working > reliably. The effort required is simply too much for a vendor to create > their own networking stack from the ground up. Those that try end up with > something which at best doesn't work on anything other than an ideal > network and at worst is riddled with exploitable bugs. Again, you KNOW this, how? I'm working on my *third* stack... > The thing about using commodity protocols and implementations is that > they're well understood and well tested. It's possible to build robust > systems using them *if* you actually care about robustness. Most of the > problems stem from the fact that the vendors often don't. Which in turn > stems largely from market forces; their customers care about price and > visible functionality, but don't seem to care much about robustness until > after they actually get bitten by the lack of it. No, the "ignorance" is just as plentiful in the "let's use a COTS implementation -- and, hey, here's one that is FREE!". People thinking that a black box means they don't have to understand what's *in* that box is why you get bugs and exploits. "Let's use floating point" -- without understanding that numbers (and operators) STILL aren't "ideal". "Let's use multitasking" -- without understanding its problems. "Let's buy some off-the-shelf hardware" -- without understanding it's limitations/requirements. etc. It's like thinking that using a fuse means you *can't* (won't) draw more than the rated current. When you write something diligently, you *see* what's happening and (if you've any imagination) can see how it can "go wrong". When I write code, I look at each aspect of the algorithm and see what it relies on, assumes and what other things rely on *it*. "Gee, what happens if the ARP cache gets poisoned -- will the stack KNOW that this has happened? Or, will it merrily chug along misbehaving? How do I handle two different devices (MACs) each *claiming* to have a particular IP, possibly interleaving traffic to my node?" "How can I *prevent* that poisoning? Should I magically update it's contents each time I discover a new IP/MAC? Should I gratuitously cache any broadcast ARP replies, 'just in case'? Or, just the replies to requests that *I* initiate? What if I already have a mapping for a particular IP/MAC -- should I silently update the cache? Or, perhapsplay it safe and not cache ANY mappings -- just send an ARP request (and trust its reply) for EACH datagram? Or, should I wonder why -- in an appliance setting -- the mapping has changed in the past 30 seconds? And has changed yet again a few seconds later?" "Do I display a message on the thermostat saying 'I'm confused'?" "Do I require the user to install static bindings that he/she trusts? What tools do I give them to do that? (but, wait, I'm just a thermostat... will they have to telnet(1) to set up those values?)" "What do I do if I see all sorts of connection attempts from a variety of different IP's -- does this make sense in the context of a THERMOSTAT? Is this a DoS attack -- trying to tie up all of my HANDFUL of available sockets? Why would someone want to attack a thermostat??" Repeat this with ICMP, DNS, HTTP, and any other protocols layered into the stack. In a desktop environment (Linux, et al.), you have a user that is competent -- or who can consult online forums to sort out how -- to "fix" these things. In an appliance environment, the appliance does ALL the work and, at best, has a "check engine" light to alert the user when it can't handle the current environment. Appliance designers that think they can just "lift" the stack out of a desktop machine and have it magically work are often clueless as to how it can fail in a big way.
[toc] | [prev] | [next] | [standalone]
| From | DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> |
|---|---|
| Date | 2016-04-09 03:39 -0400 |
| Message-ID | <hachgbd9gcf3girgojavh7o6lhlgf2m34n@4ax.com> |
| In reply to | #406650 |
On Sat, 09 Apr 2016 06:52:09 +0100, Nobody <nobody@nowhere.invalid> Gave us: >The current /de facto/ standard for controlling devices is a web >interface. No, it is not. It is one method and hardly "the current de facto standard". If anything, it is the current trend, and that's about it.
[toc] | [prev] | [next] | [standalone]
| From | John Larkin <jjlarkin@highlandtechnology.com> |
|---|---|
| Date | 2016-04-09 08:29 -0700 |
| Message-ID | <in7igbh8ua4m6i3f63rgtsjocg20kb3ins@4ax.com> |
| In reply to | #406650 |
On Sat, 09 Apr 2016 06:52:09 +0100, Nobody <nobody@nowhere.invalid> 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. > >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. > >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). When I looked into remote home automation products, all wanted to own the comm path and charge a monthly fee. And there was no guarantee that they would still be in business/support a couple years later. I didn't want to mess with internet protocols, so I used shared Dropbox files. That was easy and works fine.. -- John Larkin Highland Technology, Inc lunatic fringe electronics
[toc] | [prev] | [next] | [standalone]
| From | Don Y <blockedofcourse@foo.invalid> |
|---|---|
| Date | 2016-04-09 09:02 -0700 |
| Message-ID | <neb938$2ai$1@dont-email.me> |
| In reply to | #406694 |
On 4/9/2016 8:29 AM, John Larkin wrote:
> When I looked into remote home automation products, all wanted to own
> the comm path and charge a monthly fee. And there was no guarantee
> that they would still be in business/support a couple years later. I
> didn't want to mess with internet protocols, so I used shared Dropbox
> files. That was easy and works fine..
You're still relying on a third party -- actually, at least two:
- dropbox
- your ISP (that allows your home to POLL your dropbox account)
- whomever is providing *your* current connection
And, you're limited as to how "live" that connection can be; how
often your box can poll the account AND how often dropbox actually
makes your changes visible on that account.
You can likewise send mail to a particular mailbox and let your
"home" check its mail periodically. You can then craft a message
that effectively says:
"When you receive this, open an outbound connection to
w.x.y.z on port #78 and use password fuggleberry45. I'll
be waiting for you!"
But, now you have to sit around and wait for your home to get
that mail before it can call you back at w.x.y.z:78
You can also do this the other way around: have your home send
a message to some email account that *you* access remotely:
"My current IP address is W.X.Y.Z. I have a connection
open on port #78 listening for incoming requests. I will
respond to the one-time password fuggleberry45. Call me!
I miss you!! Oh, and pick up some milk on your way home..."
It can open these connections periodically (on the hour?)
just in case you might want to talk to it.
This can run into grey areas with ISP AUP's -- technically, you're
operating a "service" (which many ISP's expressly forbid).
You can also use a DynDNS service to dynamically "register"
Home.JohnLarkin.com each time your dynamicly assigned IP
changes. Then, resolve Home.JohnLarkin.com to get the
current IP address and contact it directly. If its address
changes, its DynDNS records will be updated accordingly.
Or, get a static address (that you may or may not register;
no reason EVERYONE should know that Home.JohnLarkin.com exists!).
Or, use another back-channel (phone?) to talk to the device and/or
prompt it to "go online" *now*.
[toc] | [prev] | [next] | [standalone]
| From | Phil Hobbs <pcdhobbs@gmail.com> |
|---|---|
| Date | 2016-04-09 10:15 -0700 |
| Message-ID | <8dba54b3-a687-4926-bb1a-aab31e7ad42f@googlegroups.com> |
| In reply to | #406704 |
>You can also do this the other way around: have your home send >a message to some email account that *you* access remotely: > "My current IP address is W.X.Y.Z. I have a connection > open on port #78 listening for incoming requests. I will > respond to the one-time password fuggleberry45. That's better than dyndns for obscurity. A Tor hidden service is better still. I'm leaning that way to enable remote access to one of my Qubes boxes. You have to change the port forwarding in your firewall dynamically for your scheme. That probably means running that script on the firewall box, which in turn means enabling ssh or https to the firewall box from the WAN, which one doesn't want to do. A fixed but nonstandard port is more convenient and probably more secure. Cheers Phil Hobbs
[toc] | [prev] | [next] | [standalone]
| From | Don Y <blockedofcourse@foo.invalid> |
|---|---|
| Date | 2016-04-09 10:46 -0700 |
| Message-ID | <nebf6e$pi0$1@dont-email.me> |
| In reply to | #406726 |
On 4/9/2016 10:15 AM, Phil Hobbs wrote:
>> You can also do this the other way around: have your home send a message
>> to some email account that *you* access remotely: "My current IP address
>> is W.X.Y.Z. I have a connection open on port #78 listening for incoming
>> requests. I will respond to the one-time password fuggleberry45.
>
> That's better than dyndns for obscurity. A Tor hidden service is better
> still. I'm leaning that way to enable remote access to one of my Qubes
> boxes.
A probe of the address:port will still show something listening;
"Gee, I wonder what *this* is?"
I let my services reside *behind* a legitimate service. So, you
probe the port and you see something boring -- but that behaves
IDENTICALLY to a COTS/FOSS service.
"Yawn. Nothing interesting, here. Move along".
You have to know the layered protocols to get *past* that COTS
service in order to gain access to my system.
"Hide in plain sight"
> You have to change the port forwarding in your firewall dynamically for your
> scheme. That probably means running that script on the firewall box, which
> in turn means enabling ssh or https to the firewall box from the WAN, which
> one doesn't want to do. A fixed but nonstandard port is more convenient and
> probably more secure.
Again, the port is visible to any probes. If you, instead, make it look like
something commonplace -- yet *boring* -- a probe will identify it as such
(e.g., IIS), poke around trying key exploits. Then, move along when it decides
there is nothing there to see/exploit.
Running some "unusual" service on an "unusual" port will eventually attract
attention.
[toc] | [prev] | [next] | [standalone]
| From | Jasen Betts <jasen@xnet.co.nz> |
|---|---|
| Date | 2016-04-10 04:33 +0000 |
| Message-ID | <necl3i$j3c$3@gonzo.alcatraz> |
| In reply to | #406726 |
On 2016-04-09, Phil Hobbs <pcdhobbs@gmail.com> wrote: >>You can also do this the other way around: have your home send >>a message to some email account that *you* access remotely: >> "My current IP address is W.X.Y.Z. I have a connection >> open on port #78 listening for incoming requests. I will >> respond to the one-time password fuggleberry45. > > That's better than dyndns for obscurity. A Tor hidden service is better still. I'm leaning that way to enable remote access to one of my Qubes boxes. > > You have to change the port forwarding in your firewall dynamically > for your scheme. That probably means running that script on the > firewall box, which in turn means enabling ssh or https to the > firewall box from the WAN, which one doesn't want to do. A fixed but > nonstandard port is more convenient and probably more secure. using UPnP IGD an appliance can configure the firewall automatically, (which is why I have that disabled here) -- \_(ツ)_
[toc] | [prev] | [next] | [standalone]
| From | John Larkin <jjlarkin@highlandtechnology.com> |
|---|---|
| Date | 2016-04-09 10:36 -0700 |
| Message-ID | <0neigb5eul4vjl1lvhvig9iiqj3bnif83e@4ax.com> |
| In reply to | #406704 |
On Sat, 09 Apr 2016 09:02:11 -0700, Don Y <blockedofcourse@foo.invalid> wrote: >On 4/9/2016 8:29 AM, John Larkin wrote: >> When I looked into remote home automation products, all wanted to own >> the comm path and charge a monthly fee. And there was no guarantee >> that they would still be in business/support a couple years later. I >> didn't want to mess with internet protocols, so I used shared Dropbox >> files. That was easy and works fine.. > >You're still relying on a third party -- actually, at least two: >- dropbox >- your ISP (that allows your home to POLL your dropbox account) >- whomever is providing *your* current connection Sure, but any of those can be replaced by other providers, and it's unlikely that any of those things will go away. Nest has no incentive to support old products; quite the opposite. Lots of webcam security services and products get obsolete in a few years. > >And, you're limited as to how "live" that connection can be; how >often your box can poll the account AND how often dropbox actually >makes your changes visible on that account. I post a driveway pic every 5 minutes, fine for seeing the snow clearing situation. The temperature report is updated every minute. The remote looks for a command file, like to turn the heat on, every 10 seconds. That's all good enough, and was easy to program. Dropbox itself is pretty fast. > >You can likewise send mail to a particular mailbox and let your >"home" check its mail periodically. You can then craft a message >that effectively says: > "When you receive this, open an outbound connection to > w.x.y.z on port #78 and use password fuggleberry45. I'll > be waiting for you!" >But, now you have to sit around and wait for your home to get >that mail before it can call you back at w.x.y.z:78 It's possible to do email from inside PowerBasic, but it's a lot easier to just look for command files in a Dropbox folder. Execute and delete. > >You can also do this the other way around: have your home send >a message to some email account that *you* access remotely: > "My current IP address is W.X.Y.Z. I have a connection > open on port #78 listening for incoming requests. I will > respond to the one-time password fuggleberry45. Call me! > I miss you!! Oh, and pick up some milk on your way home..." >It can open these connections periodically (on the hour?) >just in case you might want to talk to it. > >This can run into grey areas with ISP AUP's -- technically, you're >operating a "service" (which many ISP's expressly forbid). > >You can also use a DynDNS service to dynamically "register" >Home.JohnLarkin.com each time your dynamicly assigned IP >changes. Then, resolve Home.JohnLarkin.com to get the >current IP address and contact it directly. If its address >changes, its DynDNS records will be updated accordingly. > >Or, get a static address (that you may or may not register; >no reason EVERYONE should know that Home.JohnLarkin.com exists!). > >Or, use another back-channel (phone?) to talk to the device and/or >prompt it to "go online" *now*. Dropbox avoids all those complexities. And I can easily share access with friends+family. The biggest problem is snow and squirrels messing up the cable/internet access. https://dl.dropboxusercontent.com/u/53724080/Truckee/Cable_Chewed.jpg -- John Larkin Highland Technology, Inc lunatic fringe electronics
[toc] | [prev] | [next] | [standalone]
| From | Don Y <blockedofcourse@foo.invalid> |
|---|---|
| Date | 2016-04-09 12:18 -0700 |
| Message-ID | <nebkk2$ep9$1@dont-email.me> |
| In reply to | #406733 |
On 4/9/2016 10:36 AM, John Larkin wrote: > On Sat, 09 Apr 2016 09:02:11 -0700, Don Y > <blockedofcourse@foo.invalid> wrote: > >> On 4/9/2016 8:29 AM, John Larkin wrote: >>> When I looked into remote home automation products, all wanted to own >>> the comm path and charge a monthly fee. And there was no guarantee >>> that they would still be in business/support a couple years later. I >>> didn't want to mess with internet protocols, so I used shared Dropbox >>> files. That was easy and works fine.. >> >> You're still relying on a third party -- actually, at least two: >> - dropbox >> - your ISP (that allows your home to POLL your dropbox account) >> - whomever is providing *your* current connection > > Sure, but any of those can be replaced by other providers, and it's > unlikely that any of those things will go away. Until they are "down" for a day and you find yourself cut off. I rely on my ISP for the connection to the home from <wherever>. And POTS as a backup for that. > Nest has no incentive to support old products; quite the opposite. > Lots of webcam security services and products get obsolete in a few > years. > >> And, you're limited as to how "live" that connection can be; how >> often your box can poll the account AND how often dropbox actually >> makes your changes visible on that account. > > I post a driveway pic every 5 minutes, fine for seeing the snow > clearing situation. > > The temperature report is updated every minute. The remote looks for a > command file, like to turn the heat on, every 10 seconds. That's all > good enough, and was easy to program. So, you're home is just hammering away at your dropbox account every 10 seconds? What does it do when it can't access your account? > Dropbox itself is pretty fast. But, as a service, it doesn't have to be. Do you see any timeliness guarantees in their EULA? >> You can likewise send mail to a particular mailbox and let your >> "home" check its mail periodically. You can then craft a message >> that effectively says: >> "When you receive this, open an outbound connection to >> w.x.y.z on port #78 and use password fuggleberry45. I'll >> be waiting for you!" >> But, now you have to sit around and wait for your home to get >> that mail before it can call you back at w.x.y.z:78 > > It's possible to do email from inside PowerBasic, but it's a lot > easier to just look for command files in a Dropbox folder. Execute and > delete. Until someone else puts a command file in there (cuz I suspect you don't cryptographically sign them) >> You can also do this the other way around: have your home send >> a message to some email account that *you* access remotely: >> "My current IP address is W.X.Y.Z. I have a connection >> open on port #78 listening for incoming requests. I will >> respond to the one-time password fuggleberry45. Call me! >> I miss you!! Oh, and pick up some milk on your way home..." >> It can open these connections periodically (on the hour?) >> just in case you might want to talk to it. >> >> This can run into grey areas with ISP AUP's -- technically, you're >> operating a "service" (which many ISP's expressly forbid). >> >> You can also use a DynDNS service to dynamically "register" >> Home.JohnLarkin.com each time your dynamicly assigned IP >> changes. Then, resolve Home.JohnLarkin.com to get the >> current IP address and contact it directly. If its address >> changes, its DynDNS records will be updated accordingly. >> >> Or, get a static address (that you may or may not register; >> no reason EVERYONE should know that Home.JohnLarkin.com exists!). >> >> Or, use another back-channel (phone?) to talk to the device and/or >> prompt it to "go online" *now*. > > Dropbox avoids all those complexities. And I can easily share access > with friends+family. My neighbor can pick up her telephone and tell my garage door to open or close. Or, turn off my irrigation system if she sees a geyser in our front yard. (there's no need for *her* to be able to alter the settings of my thermostat; I, however, could place a call and do that -- if I didn't have a computer and internet connection handy!) Her *daughter*, OTOH, *can't* do any of these things -- even when calling from the same phone (with a voice recording of her mother issuing those verysame commands hours earlier!) (I wouldn't burden them with details of how they could do these same things "online" as speaking over the phone is a far more intuitive interface for most people!) > The biggest problem is snow and squirrels messing up the > cable/internet access. > > https://dl.dropboxusercontent.com/u/53724080/Truckee/Cable_Chewed.jpg
[toc] | [prev] | [next] | [standalone]
| From | John Larkin <jjlarkin@highlandtechnology.com> |
|---|---|
| Date | 2016-04-09 13:00 -0700 |
| Message-ID | <itligbpeh1hcjhll4k7ssvc2kb9fj0mfrn@4ax.com> |
| In reply to | #406759 |
On Sat, 09 Apr 2016 12:18:54 -0700, Don Y <blockedofcourse@foo.invalid> wrote: >On 4/9/2016 10:36 AM, John Larkin wrote: >> On Sat, 09 Apr 2016 09:02:11 -0700, Don Y >> <blockedofcourse@foo.invalid> wrote: >> >>> On 4/9/2016 8:29 AM, John Larkin wrote: >>>> When I looked into remote home automation products, all wanted to own >>>> the comm path and charge a monthly fee. And there was no guarantee >>>> that they would still be in business/support a couple years later. I >>>> didn't want to mess with internet protocols, so I used shared Dropbox >>>> files. That was easy and works fine.. >>> >>> You're still relying on a third party -- actually, at least two: >>> - dropbox >>> - your ISP (that allows your home to POLL your dropbox account) >>> - whomever is providing *your* current connection >> >> Sure, but any of those can be replaced by other providers, and it's >> unlikely that any of those things will go away. > >Until they are "down" for a day and you find yourself cut off. >I rely on my ISP for the connection to the home from <wherever>. >And POTS as a backup for that. > >> Nest has no incentive to support old products; quite the opposite. >> Lots of webcam security services and products get obsolete in a few >> years. >> >>> And, you're limited as to how "live" that connection can be; how >>> often your box can poll the account AND how often dropbox actually >>> makes your changes visible on that account. >> >> I post a driveway pic every 5 minutes, fine for seeing the snow >> clearing situation. >> >> The temperature report is updated every minute. The remote looks for a >> command file, like to turn the heat on, every 10 seconds. That's all >> good enough, and was easy to program. > >So, you're home is just hammering away at your dropbox account every >10 seconds? What does it do when it can't access your account? It's our cabin in the mountains. My program there checks for the existance of a command file in the "Cabin" folder every 10 seconds. If it sees one, it executes it and then deletes it. It doesn't know or care how Dropbox works. Peeping a folder is not "hammering." To turn the heat on from here, before we drive up, I just paste a command file into my local "Cabin" folder. It magically appears in the corresponding folder in Truckee. That's very cool. The biggest problem is the cable/internet going down, or the cable modem hanging up. A power cutoff timer helps that, power cycle everything at 2AM on Friday mornings. > >> Dropbox itself is pretty fast. > >But, as a service, it doesn't have to be. Do you see any timeliness >guarantees in their EULA? No, but it's fast. It dependant on the DSL rate. Seems to be absolutely reliable too, as long as the internet connection is up. It's very robust, and gets things right after all sorts of abuse. Does anybody guarantee data rate? It's usually "up to..." some number that you never actually get. > >>> You can likewise send mail to a particular mailbox and let your >>> "home" check its mail periodically. You can then craft a message >>> that effectively says: >>> "When you receive this, open an outbound connection to >>> w.x.y.z on port #78 and use password fuggleberry45. I'll >>> be waiting for you!" >>> But, now you have to sit around and wait for your home to get >>> that mail before it can call you back at w.x.y.z:78 >> >> It's possible to do email from inside PowerBasic, but it's a lot >> easier to just look for command files in a Dropbox folder. Execute and >> delete. > >Until someone else puts a command file in there (cuz I suspect you don't >cryptographically sign them) Terrorists are going to crack Dropbox and see my driveway? It would be easier to drive by and look. Or turn on the heat in my cabin? -- John Larkin Highland Technology, Inc lunatic fringe electronics
[toc] | [prev] | [next] | [standalone]
Page 6 of 7 — ← Prev page 1 2 3 4 5 [6] 7 Next page →
Back to top | Article view | sci.electronics.design
csiph-web