Levi Durfee

https://lmd.sh

16 posts

Tech 63% · Life 13% · Crafts 6% · Culture 6% · History 6% · Writing 6%

Subscribe via RSS

  1. Encryption as a Service, without the AWS/GCP setup

    I built an encryption service. It's called rypt, and it's backed by GCP Cloud KMS. Use coupon code LMDBLOG26 for 15% off any service for as long as you maintain an active subscription. A while back I wrote about envelope encryption. I still think it's important. But setting up a KMS, IAM roles, key rings, and audit logging just to encrypt some user data is a lot. Especially if you're one person or a small team. I wanted something where you sign up, get a key, and make a curl request. So that's…

    0 ▲
  2. AnyCast CDN with only VPS

    In order to keep this project under my very low budget of $100, I decided to use only VPS. There are a few VPS providers that offer BGP sessions, but I'm primarily using Vultr and Xenyth for AnyCast. Using a VPS provider for AnyCast limits our ability to pick IP transit. But IP transit is expensive. And when you want a presence all over the world, it's insanely expensive. These providers have multiple tier 1 transit providers in each datacenter. So, this works out to our advantage. That said,…

    0 ▲
  3. Building an anycast DNS/CDN/WAF

    It was 2012 and I was the head of the web department at a local small ad agency. My friend from IRC told me about a company who rented VPS with a dedicated IP and root access for $5 a month. And, it only took 60 seconds to spin one up. This was nuts! I was getting a dedicated IP and root access in under 60 seconds. It usually took Nic Cage that long to boost a car. That same year I discovered a CDN that was fairly new. They had a free plan. Free as in they didn't even ask for a credit card.…

    0 ▲
  4. Envelope Encryption

    Envelope Encryption is something I think is important when developing an application that saves user data. The user is trusting you with their data and you shouldn't take that responsibility lightly. Running a database server on a VM with an encrypted disk isn't enough. The idea is pretty simple. You generate a Data Encryption Key (DEK) and use it to encrypt the user's data. Then you encrypt the DEK with a Key Encryption Key (KEK) that lives in a KMS, like GCP KMS or AWS KMS. The KEK never…

    0 ▲
  5. Tips for securing a Linux box

    I typically run an Ansible Hardening Playbook on any new Linux installation. After that, there are a few more things I do. For SSH, I'll make sure password authentication is disabled root user is denied no X11 forwarding no keyboard-interactive auth is enabled restrict SSH to a specific username If it's a VM, I'll also make sure I allow only my IP access to port 22. I also typically install Tailscale, so my ACLs will let me get in that way, too. The rest of the world has no reason to talk to my…

    0 ▲
  6. MCP is just fancy SOAP

    It seemed like everyone went wild over MCP when it first came out. There was lots of videos on YouTube that glorified the FOMO of not using an MCP. I couldn't understand what everyone was excited about. It sounded like an API. After doing some digging, I realized it was alot like an API. Then I read more and I realized it's more like fancy SOAP, but it uses JSON. I do like JSON and I don't like XML. Also, I do not like SOAP; and my dislike it based on experience writing a client for a SOAP…

    0 ▲
  7. The Headless Claude
    0 ▲
  8. The beginning of the internet
    0 ▲
  9. taskd - a new task management system
    0 ▲
  10. Task list frustration
    0 ▲
  11. Claude Code API or Plan
    0 ▲
  12. Best CLI tool for backups
    0 ▲
  13. The LLM Hammer: When Everything Looks Like a Nail
    0 ▲
  14. New HF Antenna
    0 ▲
  15. AI Wrestle Mania

    Why is everyone freaking out about AI?

    0 ▲
  16. First post

    Levi's first post on his new bear blog

    0 ▲