• 0 Posts
  • 61 Comments
Joined 3 years ago
cake
Cake day: July 12th, 2023

help-circle




  • Essentially all internet security is based on the fundamental idea that if you have some really big randomly selected prime number, you can do math on it easily to get a final value, but doing the math backwards to find the original prime number is computationally infeasible. Your prime number is secret, the calculated final value is public. You can sign data with your prime number private key and someone can use the corresponding public key to verify that the data was signed with the corresponding private key.

    It’s really important that your private key stays private. It’s really important that your private key can’t be brute forced by trying a bunch of numbers to guess your secret prime number.

    Your private key should be using a number like 11185240471355026063328096486023294694077671402173515074581823211722702563586240744645728206308310973537336052780084.

    It would be really bad if your private key was something like 4. It would be REALLY BAD if that private key was used to sign a bunch of data used for internet security.

    https://scotthelme.co.uk/eight-bits-of-trust-emudhras-ca-keys-cracked-in-milliseconds/

    P.S. I don’t actually know if all algorithms use only prime numbers or if some of them can use non-primes.






  • I rent a free tier oracle vm that does nothing more than tunnel traffic using GOST. Ports 80/443/25 and a control port that my homelab can connect to to establish the tunnel. No ports open at my house, public IP is the cloud VM, and the raw encrypted tcp traffic is tunneled through whatever NAT shenanigans my ISP might have and straight into Caddy within a docker (podman) network. I’m pretty happy with it and it works well!

    It’s a single binary and can parse a config file or command line parameters. If I ever switch public VM providers, it’s a single binary download and a systemd service file. Switch my DNS records to the new VM and I’m completely done. And since my homelab establishes the connection to the VM’s port, I don’t have to reconfigure anything if I move buildings, switch providers, get stuck behind NAT, or can’t open ports.



  • But my fear, acquired from Reddit, is that people are going to read this guy’s totally inaccurate presentation of my argument and then every comment in the rest of the discussion will proceed as if that’s what I said.

    Difficult as it is, I have to remind myself that the people who do this are not my target audience. They are swayed by the wind like blades of grass. Even if I convince them, they will be unconvinced by next week. The people who my words can affect are the people who bother to read what was actually said.

    If I feel the need to reply, a very simple “that’s not what I said but okay” and block them and move on. If they want to respond, anything they say will be longer than that sentence and the people who aren’t invested will gloss over it and move on. And the people who are invested will go back and reread what I originally said. Or at least that’s what I tell myself as I open up TikTok to look at videos of cats chattering and possums loudly cronching on grapes or whatever cute shit they’re up to.




  • * Not a doctor or professional, just rambling as a lay person *

    Brains are complex, but seem to boil down to input in, output out. The inputs are sensory stimuli (sights, smells, etc) as well as various hormone and other chemical levels in your body and brain. The outputs are things you think and do.

    The brain will use chemicals like dopamine and serotonin to encourage behaviors. Dopamine acts like the “remember that thing? ohh that would be really good right now” messenger chemical, and serotonin is the feel good reward messenger chemical when the task completes.

    Those chemicals have to actually attach to receivers in cells to work, and other chemicals can take their spot under certain conditions (this is why caffeine keeps most people from getting sleepier — it takes up the space that the “we’re getting tired” messenger chemical would otherwise attach to).

    * Again, not a doctor or professional, just rambling. *

    But If I had to guess, some part of that process is not working as expected in your brain. Dopamine not being produced when it should be, or serotonin not attaching when it should be, or something like that. If you also experience symptoms of ADHD or depression and/or your symptoms impede your life or otherwise bother you, you should consider seeing a psychiatrist to narrow down what’s actually happening and find possible solutions.




  • Taking this as an opportunity to share my hatred for American Standard urinals. Those pieces of shit are optimized to maximize splashback and their wall-to-floor ones were cooked up by the devil itself to make sure bathrooms have piss all over the floor when you use the urinal. I fucking hate American Standard urinals they’re fucking awful. Shout-out the fancy waterless round ones though. I don’t remember the name of that company but I love their urinals they work great and I rarely get any splashback at all from any height.



  • I run one of these free cloud vms as a reverse proxy for my reverse proxy. It runs rathole, which my homelab rathole client connects to, and it patches traffic through ports 80/443 into my homelab to my caddy container. My home ip is never made public and I don’t have to forward any ports at home or worry about traversing NAT. It’s a neat setup, but rathole hasn’t been updated in some time and I’m looking to replace it with an actively developed alternative like gost or connet.