• 9 Posts
  • 508 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle
  • IsoKiero@sopuli.xyztoSelfhosted@lemmy.world•Do I need https on everything
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    17 hours ago

    Is this a problem or does it not matter

    It’s not a problem, but it does matter. With plain HTTP traffic everything you send and receive from a given site is unencrypted, so anyone in the chain delivering your package can read what you’re doing, collect your passwords and do all kinds of shenanigans. If it’s just your local network which is secured from the public internet then it’s pretty much just you who can intercept that traffic and it’s generally fine, as you already have all the passwords and such. And if you connect to the services via VPN that takes care of ‘secured from public interenet’ -part of the equation.

    HTTPS is the same traffic, but encrypted with certificates. To achieve that you’ll need to have a server certificate and then browsers can use the public part of certificate to encrypt your traffic. With docker that’s commonly achieved either with docker-proxy or external proxy like nginx. Your computer already has a bunch of certificate authorities which it trusts and they are bundled in your operating system and/or browser. Without a trusted certificate your browser throws a warning about it, but if you proceed with ‘untrusted’ certificate the traffic will still be just as strongly encrypted as it would be with a ‘known’ certificate. The catch is that anyone can create their own certificates, so there’s no guarantee if the server actually is what it claims to be. For example I could sign my own certificate for gmail.com and offer that to users and steal their passwords. That would of course be trivial to figure out as the browser wouldn’t show the “good” lock symbol on address bar, but the certificate would be technically speaking a working certificate.

    Now, to get a certificate for your own services you need to either build your own certificate authority and add that to trusted list of your devices or obtain a certificate from a already known authority like letsencrypt. With letsencrypt (and other similar services) you need to provide a proof that you own a domain which you’re obtaining the certificate for, so with those you can’t get a certificate for gmail.com or any other random domain name. Letsencrypt uses ‘certbot’ tool to validate certs, other services ask for spesific DNS entry or something else for proof that the domain is actually yours. But the main part is that all the ‘commonly known’ certificate authorities work only on publicly available services and domains (a bit simplified explanation, but that’s roughly it).

    But once you have the certificate you’ll need to configure something on your network to use it. Actual best practice and configuration depends on the service you’re running. If your services run only on your local network and they are never allowed to public internet you’re likely fine to run everything without HTTPS encryption, but it’s still good to understand the differences and effects between unencrypted and encrypted traffic.




  • LGR has a video about Danmere Backup system which used your home VCR for backups. It apparently could store up to 4GB to a normal VHS-tape. Quick search around the net didn’t find much other than LGRs video and random snippets, but apparently that was slow, roughly 4MB/minute. But at the time when a lot of people didn’t even have storage on their computers up to gigabytes, so it could’ve been a viable option, but I haven’t heard about anyone who’d actually used a thing like that.

    C-cassettes on Commodre 64 were a common thing and in here even the national broadcasting company sent some programs over the FM radio during nights.


  • I don’t know about long term, but it’s running on my pile of virtual servers and does it’s job just fine. The openmediavault itself is a pretty good web-interface on top of Debian and it’s just configuring the underlying operating system so you can get exactly the same setup by writing configurations manually for the services. OMV is just a convenient tool to manage simple fileshares.

    I use it only for samba and wireguard, so can’t really say if it’s as solid with other extensions, but for me it’s been a decent tool for the job.





  • Just for comparison, my VPS server has ~20 active email boxes (postfix,dovecot,spamassassin,clamav), a few small-ish active wordpress sites (apahce,php-fpm,mariadb), radicale and some other smaller services running with 2 cores and 4GB RAM and it’s mostly just fine. Occasionally, specially during heavier updates on wordpress-sites, memory tends to get pretty full, but it’s still just fine. Tweaking memory cache for php (or running something else than php) would increase performance by a lot, but even without optimization the 5€/month VPS is quite capable to keep your internet presence around and on your own hands.



  • Nothing wrong with good old ssh. My VMs are different enough that building and maintaining ansible playbooks or something similar would be a bigger task than actually doing it in the traditional way. Maybe I could benefit by building simple playbooks to populate user accounts, ssh keys, smtp relay settings and other common things, but I don’t really set up new servers that often that it would justify spending time to set up tools for that.



  • LLM gives you a concrete concise answer to your question while the search engine gives you dead links or spam.

    LLM also very confidently gives you a wrong answer way too often. Just over the weekend I tinkered with diy-home automation gadget and fed a bunch of documents to duck.ai in hope that it could dig up protocol and electrical behavior of HAN port on our electric meter. The documentation is there, but it’s recursively referenced to a crapload of different standards so the actual answer is pretty labour intensive to dig up manually.

    LLM spat out an answer which seemed to make sense, but the solution it offered didn’t work and when I asked for sources for spesific facts it just said that it doesn’t have any and that it shouldn’t have recommended such a solution in the first place, with apologies of course.

    I’d much prefer the old school way of searching things, but that doesn’t really exist anymore either. Search engines, google specially, are far less useful than they used to be. Part of the problem is LLM slop filling the whole internet but somehow I feel that’s not the only reason.


  • Just that they are not built the way “traditional” thinkpads are. I don’t have personal experience how durable they are, but in general they aren’t as easy to repair as T-series (for example). With T-series it’s pretty straightforward to replace nearly every component separately (wifi, ram, keyboard, display…) which is either way more difficult or straight impossible to do with X1. Also spare part availability is generally better with T-series.

    But to be honest, newer T14s aren’t as service-friendly either as older T-series. But if repairability is a deciding factor then I’d skip X1 and get some T-series instead.



  • My ISP offers unauthenticated SMTP for their customer addresses. It’s pretty heavily rate limited, but well enough for the occasional status email my system throws out. At least around here they are pretty common for residential customers, so that might be an option.

    Other possibility is to set up SMTP relay to your network and give it credentials to an actual email account (with SMTP support, which isn’t granted these days). It can take in emails from your network without credentials and throw them to the internet with your account. It’s pretty simple to set up, search for postfix + smarthost. Added bonus is that you can read the replies to that address too via your email provider services.


  • I have several old but working electronics and I literally haven’t been able to give them away for free.

    Few years ago I got a pile of old switches and other network stuff. Unmanaged 24 port gigabit switches, some firewalls and other network hardware you might find in a generic ~50 person office. No one wants them, but I don’t want to throw away working and (potentially) useful hardware either. I suppose I eventually have to as my own network doesn’t really need 200 ethernet ports and they are consuming the already crammed storage space I have.

    And no, I’m not offering to ship them across the globe on my own expense. But trying to sell them on our version of craigslist for 15€ (shipping included) doesn’t seem to work either.