ArkScript lang developer, split keyboard fanatic

  • 2 Posts
  • 21 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle




  • I think I’m more fed up with people making those quotes “rust will change everything” when, in fact, it will rule out many if not most memory corruption as you said. Reading your comment, I see now it’s the mentality “everything need to be in rust” that bothers me the most, which in fact means “rust can bring memory safety” and not “rust will replace everything”. Alas I’m seeing it used times and times again as the latter instead of the former.



  • I mounted a disk of a server in rescue mode, since I needed to extract everything (the provider didn’t have the option to dump everything as a zip). Then installed an FTP server, added a user/pass, it worked.

    But I couldn’t access the files of the original disk, even though I could see them. So I just chgrp/chown the original files, since the disk was just “mounted” in the rescue disk /mnt, I thought it was alright (at the time I thought permissions were volatile, stored separately from the files). I could now download the entire disk, yay!

    Upon booting the original disk again, a bunch of errors: shell not starting, tools not running, because they were owned by user and not root…

    Well we reinstalled all the server from scratch that day.














  • Well that’s a bit of both: I need to be able to get on my server from work (with my phone… Yeah not great but that works), because I often break stuff haha ; also a nice thing to have when I’m on the bus and want to add more music or movies to listen to during the travel!

    Are there ISPs that don’t provide dynamic IPs? I had to setup a script and get some API keys for different services to ensure the IP is properly updated on my DNS servers.

    Speaking of brutality, I considered doing the same but then I would have banned myself from testing the APIs of my services 🤧


  • No, this doesn’t remove the need to stay up to date.

    However, it works on my server and was very easy to setup: a few ufw rules so that port 22 is blocked everywhere, allowed only on the VPN IP range and my local network range. Nmapping from outside does not show port 22 accessible, and indeed you can’t SSH to it without the VPN.

    Security is quite tough to get right eh? I tried my best to harden everything opening ports on my server, having a fail2ban, VPN for maintenance, webserver to expose some personal services…