<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title><![CDATA[LinLog]]></title>
    <link>https://linlog.skepticats.com/</link>
    <description><![CDATA[Linux, Programming, and Computing in General]]></description>
    <lastBuildDate>2022-09-16T16:00:20+00:00</lastBuildDate>
    <managingEditor>pageer@skepticats.com (Peter Geer)</managingEditor>
    <language>en-US</language>
    <generator>https://lnblog.skepticats.com/?v=2.2.0</generator>
    <item>
      <title><![CDATA[Holy crap, Let's Encrypt is super easy!]]></title>
      <link>https://linlog.skepticats.com/entries/2020/06/Holy_crap_Let_s_Encrypt_is_super_easy_.php</link>
      <description><![CDATA[<p>Well, I just set up Let's Encrypt on my home server for the first time.&nbsp; When I was finished, my first thought was, "Damn, that was awesome!&nbsp; Why didn't I set that up a long time ago?"</p>
<p><img style="float: left; max-width: 400px; max-height: 110px; margin: 0 10px 10px 0;" src="https://www.eff.org/files/2016/12/21/letsencrypt.png" alt="Let's Encrypt logo" />If you're not familiar with <a href="https://letsencrypt.org/">Let's Encrypt</a>, it's a non-profit project of the <a href="https://www.abetterinternet.org/">Internet Security Research Group</a> to provide website operators with free SSL certificates.&nbsp; The idea is to make it easy for everyone to have SSL properly enabled for their website, as opposed to the old days when you had to either&nbsp;<em>buy</em> an SSL certificate or use a self-signed one that browsers would complain about.</p>
<p>I didn't really know much about Let's Encrypt until recently, other than then fact that they provide free SSL certs which are actually trusted by browsers.&nbsp; And really, that was all I needed to know to be interested.&nbsp; So I decided to try it out on my home server.&nbsp; I was already using them on this website, that that was a slightly different situation: my web host integrated Let's Encrypt into their control panel, so all I had to do to set up a cert for one of my subdomains was click a button.&nbsp; Super convenient, but not really any learning process there.</p>
<p>It turns out that setting up my home server to use the Let's Encrypt certs was pretty painless.&nbsp;&nbsp;The recommended method is to use <a href="https://certbot.eff.org/">certbot</a>, which is a tool developed by the EFF.&nbsp; It basically automates the entire process of setting up the certificate.&nbsp; Seriously -&nbsp;<em>the entire process</em>.&nbsp; It's actually way&nbsp;<em>easier</em> to set up a Let's Encrypt cert with certbot than it is to make your own self-signed cert.&nbsp; You just need to run a command, answer a couple of questions, and it will get the certs for each of your sites, install them, and keep them updated.&nbsp; The only catch is that you need root shell access and your web server has to be accessible via port 80 (for verification purposes).</p>
<p>Compared to the old self-signed cert I was using, this is&nbsp;<em>way</em> easier.&nbsp; You don't have to generate any keys, or create a CSR (Certifiate Signing Request), or edit your server config files.&nbsp; Running certbot takes care of everything for you.&nbsp; So if you haven't tried Let's Encrypt and you're running a site that could use some SSL, I definitely recommend it.</p>]]></description>
      <author><![CDATA[pageer@skepticats.com (Peter Geer)]]></author>
      <pubDate>Sat, 20 Jun 2020 22:13:36 +0000</pubDate>
      <category><![CDATA[Web]]></category>
      <category><![CDATA[Networking]]></category>
      <category><![CDATA[Software]]></category>
      <guid isPermalink="true">https://linlog.skepticats.com/entries/2020/06/Holy_crap_Let_s_Encrypt_is_super_easy_.php</guid>
      <comments>https://linlog.skepticats.com/entries/2020/06/20_1813/comments/</comments>
    </item>
    <item>
      <title><![CDATA[Thinking about DNS over HTTPS]]></title>
      <link>https://linlog.skepticats.com/entries/2020/04/Thinking_about_DNS_over_HTTPS.php</link>
      <description><![CDATA[<p>I read an interesting article on the <a href="https://www.zdnet.com/article/dns-over-https-causes-more-problems-than-it-solves-experts-say/">drawbacks of DNS over HTTPS (DoH)</a> the other day.&nbsp; This comes on the heels of the news that Mozilla is <a href="https://www.schneier.com/blog/archives/2020/02/firefox_enables.html">rolling out DoH to all Firefox users by default</a>.&nbsp;</p>
<p>I'd never really thought too much about DoH.&nbsp; In general, more encryption is usually better, so my initial thought was "it's probably a good thing", but that's about as deep as it went.&nbsp; After reading a little more about the down sides, I'm less convinced.&nbsp; I still think it's a probably good thing that DoH exists, but I'm note so sure that it's a good idea to push everyone toward it.</p>
<p>My main reservation at this point is that DoH seems architecturally wrong.&nbsp; It introduces a way to do DNS queries that's not&nbsp;<em>really</em> compatible with the old way and it's not clear to me that it offers any really&nbsp;<em>big</em> wins.</p>
<p>Of course, I'm not saying that DoH has no benefits or use-cases.&nbsp; There are definitely cases where it can be useful and add another layer of privacy.&nbsp; But it kind of reminds me of PHP "security" features like <a href="https://www.php.net/manual/en/features.safe-mode.php">safe_mode</a> in the sense that it does solve a legitimate problem, and does so in a way that "works" (for certain definitions of "works"), but solves it at the wrong layer and in a way that can interfere with other legitimate things.</p>
<p>As this <a href="https://blog.powerdns.com/2019/09/25/centralised-doh-is-bad-for-privacy-in-2019-and-beyond/">blog from the PowerDNS team discusses</a>, DoH is not a panacea in terms of privacy.&nbsp; Yes, it adds a layer of encryption, and that is definitely useful in some cases.&nbsp; But it doesn't do anything to address the myriad other ways in which your online activity can be tracked.</p>
<p>Of course, that depends very much on whom you want to stop from tracking you.&nbsp; Obviously it does zero to stop advertisers or website operators from tracking you - they do their tracking at a much higher level.&nbsp; It also doesn't stop your ISP from tracking you - even if everything else is encrypted, you <em>can't</em> stop your ISP from knowing the IP addresses you visit.&nbsp; I mean, that's just how the web works.&nbsp; And from an IP address, you can usually determine the website pretty easily.&nbsp; And, of course, your DoH provider still has access to all your DNS requests, so you better make sure you trust them.</p>
<p>For me, personally, the bottom line is that DoH doesn't give you anything that you don't already get with a half-way decent VPN provider.&nbsp; Granted, the VPN provider is then your single point of privacy failure, so you better make sure you pick a reputable on (I like and recommend <a href="https://www.privateinternetaccess.com">Private Internet Access</a>).&nbsp; But a VPN covers pretty much everything you can do at the network level, not just DNS for web requests.&nbsp; Of course, you still need browser privacy plugins to block tracking at higher levels in the stack, but sadly that's necessary either way.</p>]]></description>
      <author><![CDATA[pageer@skepticats.com (Peter Geer)]]></author>
      <pubDate>Sat, 25 Apr 2020 22:01:17 +0000</pubDate>
      <category><![CDATA[Networking]]></category>
      <category><![CDATA[Security]]></category>
      <category><![CDATA[Firefox]]></category>
      <guid isPermalink="true">https://linlog.skepticats.com/entries/2020/04/Thinking_about_DNS_over_HTTPS.php</guid>
      <comments>https://linlog.skepticats.com/entries/2020/04/25_1801/comments/</comments>
    </item>
    <item>
      <title><![CDATA[WiFi doesn't work, but only in one place]]></title>
      <link>https://linlog.skepticats.com/entries/2019/11/WiFi_doesn_t_work_but_only_in_one_place.php</link>
      <description><![CDATA[<p>So here's a random Windows 10 issue: I can't connect to WiFi.&nbsp; But only <em>one particular</em> WiFi access point.&nbsp; And I have no idea why.</p>
<p>On Saturday mornings, I take my son to a social skills class.&nbsp; He's too young to drop off and leave (and I don't really have anything nearby that I want to go to), so I sit in their lounge area and do stuff on my laptop - code, blog, whatever.&nbsp; Well, this fall they moved to a new building, which is <em>really</em> nice.&nbsp; But that means that they changed their network and now my laptop refuses to connect to the WiFi.</p>
<p>This is fairly infuriating, because it's not even remotely apparent what the problem is.&nbsp; My phone can connect to the WiFi with no problem at all - it's just my laptop.&nbsp; Windows doesn't give me any error message or information beyond "could not connect," so I really have nothing to go on in terms of looking for a solution.&nbsp; I've never has problems connecting this laptop to any <em>other </em>WiFi access point, and I don't think anything has changed with it recently.&nbsp;</p>
<p>The problem doesn't seem to be an adapter issue, because I tried plugging a USB WiFi adapter into the laptop and that experienced the same problem trying to connect.&nbsp; So the problem seems to be with Windows.&nbsp; I suppose I could confirm that by booting into some flavor of Linux from a USB drive, but that seems like more work than it's worth.&nbsp;</p>
<p>Searching the web, I found are a number of potential solutions, but so far none of them have made any difference.&nbsp; Most of them involve either "reinstall the drive/network/whatever and hope," which I don't really want to do because of the risk of breaking <em>all</em> networking (and because "reinstall and pray" is a terrible strategy), or changing adapter settings.&nbsp; There were also some suggestions to change settings on the WiFi router, but since I don't control the AP in this case, that doesn't help me.</p>
<p>So at this point, I'm pretty much stuck.&nbsp; My best work-around is to just tether my laptop to my phone, which works, but isn't great because the cellular reception inside the building is kinda iffy.&nbsp; I'd kinda like to fix the problem, but as I said, I really don't have much information to work with, I have limited time (less than an hour once a week), and I don't really want to be doing major updates on my laptop out someplace where I don't even have a secondary system with good internet access.&nbsp; So I guess I just have to live with it.</p>
<p>The most frustrating thing about this is that, in the six years that I've owned this laptop, this is the first <em>real</em> Windows problem I've encountered.&nbsp; I've been running Window 8 or Windows 10 that entire time and, while I've heard plenty of complaints and horror stories about Windows, I never experienced any significant problems.&nbsp; This is the first issue I've encountered that <em>actually bothers me</em>, and I'm at a loss as for what to do about it.</p>]]></description>
      <author><![CDATA[pageer@skepticats.com (Peter Geer)]]></author>
      <pubDate>Sat, 30 Nov 2019 23:22:01 +0000</pubDate>
      <category><![CDATA[Windows]]></category>
      <category><![CDATA[Networking]]></category>
      <guid isPermalink="true">https://linlog.skepticats.com/entries/2019/11/WiFi_doesn_t_work_but_only_in_one_place.php</guid>
      <comments>https://linlog.skepticats.com/entries/2019/11/30_1822/comments/</comments>
    </item>
  </channel>
</rss>
