<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/rss-style.xsl" type="text/xsl"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	     xmlns:dc="http://purl.org/dc/elements/1.1/"
	   xmlns:atom="http://www.w3.org/2005/Atom"
	     xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	  xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<channel>
	<title>network &#8211; Terence Eden’s Blog</title>
	<atom:link href="https://shkspr.mobi/blog/tag/network/feed/" rel="self" type="application/rss+xml" />
	<link>https://shkspr.mobi/blog</link>
	<description>Regular nonsense about tech and its effects 🙃</description>
	<lastBuildDate>Sun, 24 Aug 2025 16:06:03 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://shkspr.mobi/blog/wp-content/uploads/2023/07/cropped-avatar-32x32.jpeg</url>
	<title>network &#8211; Terence Eden’s Blog</title>
	<link>https://shkspr.mobi/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title><![CDATA[My Underkill Home Network]]></title>
		<link>https://shkspr.mobi/blog/2023/08/my-underkill-home-network/</link>
					<comments>https://shkspr.mobi/blog/2023/08/my-underkill-home-network/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Fri, 18 Aug 2023 11:34:59 +0000</pubDate>
				<category><![CDATA[/etc/]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[ip cameras]]></category>
		<category><![CDATA[network]]></category>
		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=46565</guid>

					<description><![CDATA[There&#039;s an absolutely delightfully bonkers post doing the rounds called &#34;My Overkill Home Network&#34; - which is a look into what happens when a computer geek goes feral and stuffs as many Internet connected thingamajigs in a living space. We&#039;re talking professional grade, rack mounted, doubly redundant, over-specced, equipment. Overkill is underselling it.  I wondered how my home network looked in…]]></description>
										<content:encoded><![CDATA[<p>There's an absolutely delightfully bonkers post doing the rounds called "<a href="https://blog.networkprofile.org/my-home-network-complete-details-2023/">My Overkill Home Network</a>" - which is a look into what happens when a computer geek goes feral and stuffs as many Internet connected thingamajigs in a living space. We're talking professional grade, rack mounted, doubly redundant, over-specced, equipment. Overkill is underselling it.</p>

<p>I wondered how my home network looked in comparison. A few years ago I was complaining that <a href="https://shkspr.mobi/blog/2015/08/128-wifi-devices-ought-to-be-enough-for-anyone/">routers which limit users to 128 WiFi devices weren't suitable for the average family</a>. I'm not quite at that many IP addresses - but I'm closing in.</p>

<p>So, here's my attempt to map my network - with a splash of colour to explain the different protocols at play.</p>

<p><img src="https://shkspr.mobi/blog/wp-content/uploads/2023/08/Home-Network-fs8.png" alt="A complex graph with dozens of devices connected by a tangle of coloured lines." width="1024" height="1119" class="aligncenter size-full wp-image-46572">
<small>Created with <a href="http://magjac.com/graphviz-visual-editor/">Graphviz Visual Editor</a>. Using a free trial of <a href="https://www.runzero.com/">RunZero</a> to discover devices.</small></p>

<p>Conceptually, the network is quite simple. Cable Internet → WiFi / Ethernet Router → Devices. But some of those devices have their own wireless networks, some connect to a mesh, and others over mains electrical wiring. And then it gets a bit complicated</p>

<p>I do have more IoT stuff than is sensible. And, annoyingly, there's no good way to <a href="https://shkspr.mobi/blog/2016/03/designing-a-home-network-for-hostile-devices/">design a home network for (potentially) hostile IoT devices</a>. At least, not without getting professional gear.</p>

<p>This is just our personal kit. There's a guest network for visitors and WFH equipment. I also haven't mapped every ZigBee devices (a <em>lot</em> of lightbulbs) nor all the LoRaWAN sensors (lots of doors and windows being monitored) - and I'm completely ignoring the things controllable by BlueTooth (mini-printers and treadmills).</p>

<p>One thing I notice is that the 2.4GHz is ridiculously crowded. All the cheap IoT devices use it - plus it provides the private network for some equipment. I get it. 5GHz is expensive, power-hungry, and has a shorter-range. But it is a bit annoying that more devices can't make use of its plentiful spectrum - it's currently restricted to phones and laptops.</p>

<p>We have a tall, narrow house. So <a href="https://shkspr.mobi/blog/2021/03/preview-virgin-medias-intelligent-wifi-plus-pods/">WiFi extenders have proven a bit useless</a>. But, perhaps it is time to create a couple of IoT networks on different SSIDs?</p>

<p>All told, when including work devices and random old Android phones / tablets, <a href="https://shkspr.mobi/blog/2022/07/review-kaico-xbox-hmdi-cable-optical/">ancient Xbox consoles</a>, and assorted Raspberries Pi - we're pushing 60 devices with an individual IP address.</p>

<p>I've got to admit, this doesn't <em>feel</em> like "underkill"…!</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=46565&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2023/08/my-underkill-home-network/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title><![CDATA[Adventures in home automation - Home Assistant on a Raspberry Pi 2]]></title>
		<link>https://shkspr.mobi/blog/2023/03/adventures-in-home-automation-home-assistant-on-a-raspberry-pi-2/</link>
					<comments>https://shkspr.mobi/blog/2023/03/adventures-in-home-automation-home-assistant-on-a-raspberry-pi-2/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Sun, 05 Mar 2023 12:54:07 +0000</pubDate>
				<category><![CDATA[/etc/]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[Smart Home]]></category>
		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=45046</guid>

					<description><![CDATA[They say that The Best Camera Is The One That&#039;s With You - the same is true of Raspberries Pi.  As much as I&#039;d love a 4B, they seem permanently sold out.  So I dug through my scrapheap of old tech and resurrected an ancient Pi2.  It&#039;s old, outdated, slow, with limited RAM, and has a bunch of much-abused GPIO pins. But it works and - crucially - is still supported by Home Assistant OS.  Well...…]]></description>
										<content:encoded><![CDATA[<p>They say that <a href="https://amzn.to/3xNHAc5">The Best Camera Is The One That's With You</a> - the same is true of Raspberries Pi.  As much as I'd love a 4B, they seem <a href="https://thepihut.com/products/raspberry-pi-4-model-b?variant=20064052674622&amp;src=raspberrypi">permanently sold out</a>.</p>

<p>So I dug through my scrapheap of old tech and resurrected an ancient Pi2.  It's old, outdated, slow, with limited RAM, and has a bunch of much-abused GPIO pins. But it works and - crucially - is still supported by Home Assistant OS.</p>

<p>Well... ish!</p>

<p>The official Home Assistant installation guide for the Pi says that you can use a:</p>

<blockquote><p><a href="https://www.home-assistant.io/installation/raspberrypi">Raspberry Pi 4 (Raspberry Pi 3 is ok too, if you have one laying around).</a></p></blockquote>

<p>But, if you go to the <a href="https://github.com/home-assistant/operating-system/releases">latest releases page</a> and then click "show all assets", you'll be rewarded with a file called <code>haos_rpi2-9.5.img.xz</code> - that's Home Assistant OS for the Raspberry Pi 2. Sweet!</p>

<p>From there it was just a case of following the installation steps. But... my goodness the Pi 2 is slllloooowwwww.</p>

<p>I could see that the Pi was responding to pings, but the web interface wasn't coming up. I left it for a few hours and did something more interesting. And, when I came back, it worked!</p>

<p>But, that slowness becomes a recurrent theme. Not in the interface itself, which is delightfully snappy, but it is slow on any form of add-on installation, upgrade, or reboot. A lot of waiting is involved.  Even something like viewing sensor history slows to a crawl.</p>

<p>It quickly detected all my smarthome gadgets (I have far too many). Integration was pretty easy - assuming you trust the system with your username and passwords... Most of these devices don't have OAuth. Some don't even have official APIs. But HA was able to interact with nearly everything.</p>

<p>Of course, that does mean the user interface is <em>a lot!</em></p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2023/02/Home-Assistant-Screenshot-fs8.png" alt="Screenshot of a website with loads of toggle switches." width="1024" height="494" class="aligncenter size-full wp-image-45047">

<p>As long as you're happy to fiddle around making everything just right, then the UI isn't too bad.</p>

<p>The phone UI is great! It interfaces directly with Android 13's quick actions. I was able to add a couple of buttons to my phone to do common tasks like switch off lights, and turn on electric blankets.  The app is a bit of a power hog - because it is continually polling for updated data about your home. I put it in battery jail - I care more about control than reports.</p>

<p>Installing update is slow. Installing new integrations is slow. Rebooting is slow. But, thankfully, these are things you only do rarely. For switching lights on and off, getting <a href="https://shkspr.mobi/blog/2018/11/building-an-alexa-powered-electric-blanket/">the bed warm</a>, and checking the air quality, it's fast enough.</p>

<p>At the moment, I'm using sloppy security. The Pi has the usernames and passwords for my various gadgets and talks to them via their official APIs. I guess I could reflash them all with FLOSS firmware - but that seems like a bit too much effort at this point.</p>

<p>Similarly, the Pi is running Let's Encrypt and uses Dynamic DNS to give me a permanent connection back to my home. I'm reasonably sure the security is good enough - but I probably need to <a href="https://shkspr.mobi/blog/2016/03/designing-a-home-network-for-hostile-devices/">Design a Home Network for Hostile Devices</a>.</p>

<p>But, for now, I'm impressed with Home Assistant. It isn't quite "it just works" - but it's good enough for the enthusiast who is willing to put up with a few rough edges.</p>

<p>And I'm pleased my old Pi has a new purpose in life.</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=45046&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2023/03/adventures-in-home-automation-home-assistant-on-a-raspberry-pi-2/feed/</wfw:commentRss>
			<slash:comments>13</slash:comments>
		
		
			</item>
		<item>
		<title><![CDATA[There's no HTTPS for the Internet of Things]]></title>
		<link>https://shkspr.mobi/blog/2017/11/theres-no-https-for-the-internet-of-things/</link>
					<comments>https://shkspr.mobi/blog/2017/11/theres-no-https-for-the-internet-of-things/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Tue, 28 Nov 2017 17:08:12 +0000</pubDate>
				<category><![CDATA[/etc/]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[NaBloPoMo]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[security]]></category>
		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=28802</guid>

					<description><![CDATA[Me being grumpy and stupid again.  I have an IP Camera on my LAN, I want to connect to it via HTTPS.  I can&#039;t.  Why is that?  Why do this?  I have a username and password to access my IP camera. And my TV. And my lightbulbs. And all my networked gadgets.  If I try to enter the passwords on a modern browser, I get this error message:    It is now an accepted fact that data should be encrypted…]]></description>
										<content:encoded><![CDATA[<p>Me being grumpy and stupid again.</p>

<p>I have an IP Camera on my LAN, I want to connect to it via HTTP<strong>S</strong>.  I can't.  Why is that?</p>

<h2 id="why-do-this"><a href="https://shkspr.mobi/blog/2017/11/theres-no-https-for-the-internet-of-things/#why-do-this">Why do this?</a></h2>

<p>I have a username and password to access my IP camera. And my TV. And my lightbulbs. And all my networked gadgets.  If I try to enter the passwords on a modern browser, I get this error message:</p>

<p><a href="https://support.mozilla.org/en-US/kb/insecure-password-warning-firefox"><img src="https://web.archive.org/web/20180114164905if_/https://support.cdn.mozilla.net/media/uploads/gallery/images/2017-04-21-23-52-53-ba340d.png" width="328" height="133" class="aligncenter size-medium"></a></p>

<p>It is now an accepted fact that data should be encrypted during transport - even on a trusted network.</p>

<p>I have <a href="https://shkspr.mobi/blog/2015/08/128-wifi-devices-ought-to-be-enough-for-anyone/">a modest home network of several dozen gadgets</a> - all chattering away over Ethernet and WiFi.</p>

<p>Ideally, they are all isolated and under my control - but hackers could break in, or an automatic firmware update could compromise them, or someone could plug something in to my <a href="https://shkspr.mobi/blog/2013/11/review-max-value-500mbps-3-port-home-plug-adapter-mv171660-nlhp-5003port/">homeplugs</a>.</p>

<p>In short - I want to access <code>192.168.0.123</code> via a secure and encrypted connection.</p>

<h2 id="why-it-is-impossible"><a href="https://shkspr.mobi/blog/2017/11/theres-no-https-for-the-internet-of-things/#why-it-is-impossible">Why it is impossible</a></h2>

<p>The <a href="https://cabforum.org/">Certificate Authority / Browser Forum</a> are the people who set the policy for how SSL Certificates are issued. They prohibit generating SSL certificates for <a href="https://en.wikipedia.org/wiki/Reserved_IP_addresses">Reserved IP Addresses</a> - like the ones on your LAN.</p>

<p>Their explanation is:</p>

<blockquote>
<p>Only one logical host on the Internet has the IP address “97.74.42.11”, while there are tens of thousands of home Internet gateways that have the address “192.168.0.1”. 
</p><p>The purpose of certificates issued by publicly trusted Certification Authorities is to provide trust in names across the scope of the entire Internet. Non‐unique names, by their very nature, cannot be attested to outside their local context, and such certificates can be dangerously misused [...] issuance of certificates for non ‐ unique names and addresses, such as “www”, “www.local”, or “192.168.0.1” is deprecated
</p><p><a href="https://cabforum.org/wp-content/uploads/Guidance-Deprecated-Internal-Names.pdf">CA/Browser Forum - Guidance on the Deprecation of Internal Server Names and Reserved IP Addresses</a>
</p></blockquote>

<h2 id="is-there-a-work-around"><a href="https://shkspr.mobi/blog/2017/11/theres-no-https-for-the-internet-of-things/#is-there-a-work-around">Is there a work-around?</a></h2>

<p>Sort of!  Some IoT devices have self-signed certificates. if you try to connect to them via <code>https://</code> they will present the certificate - but the browser will put big scary warnings in place.</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2017/10/SSL-Warning-fs8.png" alt="An error message in the browser warning of an unsafe SSL connection" width="620" height="553" class="aligncenter size-full wp-image-28803">

<p>Why is that message generated? Because no reputable Certificate Authority will issue a cert, the manufacturer has <em>self-signed</em> it.</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2017/10/Arris-Router-Warning-fs8.png" alt="An untrusted SSL certificate" width="737" height="466" class="aligncenter size-full wp-image-28805">

<p>So I can ignore all those scary warnings and proceed. Right?</p>

<p>WRONG!</p>

<h2 id="why-is-this-a-problem"><a href="https://shkspr.mobi/blog/2017/11/theres-no-https-for-the-internet-of-things/#why-is-this-a-problem">Why is this a problem?</a></h2>

<p>I tried to connect to my IP camera via <code>https://</code> only to get this error.</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2017/10/Expired-SSL-Warning-fs8.png" alt="An SSL certificate which expired in May 2017" width="737" height="466" class="aligncenter size-full wp-image-28804">

<p>The manufacturer doesn't do firmware updates so I'm left with a weak, self-signed certificate, which expired earlier this year.</p>

<p>If I tell my browser to ignore the warnings - what are the consequences?  If something takes over that IP address (a malicious Internet Connected Fridge) - will I know?</p>

<h2 id="outsourcing-responsibility"><a href="https://shkspr.mobi/blog/2017/11/theres-no-https-for-the-internet-of-things/#outsourcing-responsibility">Outsourcing Responsibility</a></h2>

<p>There is an alternative - but it is almost too dreadful to consider.</p>

<p>I could rely on the manufacturer to provide a secure gateway to my devices.</p>

<ul>
<li>My IP toaster can make a secure connection to <code>https://toasty-mc-toastface.biz</code></li>
<li>I connect to their API <code>https://toasty-mc-toastface.biz/api/toaster/</code></li>
<li>I then use the external API to control my devices</li>
</ul>

<p><em>Yuck!</em> Do you trust the Kickstarted company which provided your IP Toothbrush to stay in business for the lifetime of the product? Ha!</p>

<p>Do you trust them not to get hacked?</p>

<p>Do you want to deal with the latency between your home and the Windows Vista box in China which acts as their server?</p>

<p>Sadly, this is how devices like Alexa work. They don't connect directly to your kit, they go via an intermediary.</p>

<h2 id="how-to-fix-it"><a href="https://shkspr.mobi/blog/2017/11/theres-no-https-for-the-internet-of-things/#how-to-fix-it">How to fix it?</a></h2>

<p>I have no idea! If you do - please stick a comment in the box.</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=28802&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2017/11/theres-no-https-for-the-internet-of-things/feed/</wfw:commentRss>
			<slash:comments>16</slash:comments>
		
		
			</item>
	</channel>
</rss>
