Skip Navigation
486 486 @lemmy.world
Posts 0
Comments 14
Nginx in LXC/Proxmox...how to Fail2ban?
  • I'm exclusively running unprivileged LXC containers and haven't had any issues regarding the firewall, neither with iptables nor nftables.

  • Nginx in LXC/Proxmox...how to Fail2ban?
  • No, it is not like Docker. You can treat an LXC container pretty much like a VM in most instances, including firewall rules. To answer the question, you can use fail2ban just like you had done in your VM, meaning you can run it inside the LXC container, where fail2ban can change the firewall rules of that container as it sees fit.

  • Suggestions for Improving Linux Server Security: Beyond User Permissions and Groups?
  • You could give bubblewrap a try instead. It is quite similar to systemd-nspawn.

  • AMD won't patch all chips affected by severe data theft vulnerability — Ryzen 3000, 2000, and 1000 will not get patched for 'Sinkclose'
  • I understood that. My point was rather that in this particular case (a CPU bug that could be fixed via microcode, but AMD chose not to do so for certain CPUs), RISC-V wouldn't have been of any advantage, because there would be nothing to fix in the first place. Sure, one could introduce microcode for RISC-V and people have argued in favor of doing so for this exact reason, but the architecture was intentionally designed to not require microcode.

  • AMD won't patch all chips affected by severe data theft vulnerability — Ryzen 3000, 2000, and 1000 will not get patched for 'Sinkclose'
  • As much as I like RISC-V, it is kind of ironic to suggest RISC-V ist the solution to this. At least as it stands, because of RISC-V's simplicity, most if not all current RISC-V CPUs don't even run microcode, so there is nothing to update/fix in case of a CPU bug. There's even a very current example of this problem with that chinese RISC-V cpu that has this "GhostWrite" bug that allows every unpriviliged process to gain root access.

  • ICANN approves use of .internal domain for your network
  • That's good, I never liked the clunky .home.arpa domain.

  • Quick notes on Microchip's MCP9700 / MCP9701 Temperature Sensor
  • Thanks for your notes on that part. Sometimes, when I didn't have a special temperature sensor part at hand, I have used a normal silicon diode as a temperature sensor. That works okay, but calibrating it is a little annoying, as it isn't exactly linear. For more serious projects, I usually use the DS18B20. I like that part because it is easy to use, no need for any calibration, since the D/A conversion happens internally in the component and you talk to it digitally.

  • Why do so many people use NGINX?
  • What does it offer that nginx doesnt?

    Automatic HTTPS, you don't have to use certbot or something similar to get/renew certificates. Also, its configuration is really simple and straight forward.

  • What do you prefer to selfhost?
  • IT-Tools - hands down one of the coolest self hosted tool sets you can use.

    Looks similar to Cyberchef. Any reason to use that one over Cyberchef?

  • A Short IPv6 Guide for Home IPv4 Admins
  • The guide mentions:

    Your ISP will give you the first 64 bits, and your host machine will have the last 64 bits.

    This isn't correct. While some ISPs do give you the first 64 bit (a /64 prefix), this isn't recommended and not terribly common either. An ISP should give its users prefixes with less than 64 bit. Typically a residential user will get a /56 and commercial users usually get a /48. With such a prefix the user can then generate multiple /64 networks which can be used on the local network as desired.

  • What's the best affordable pre-built mini server?
  • While you certainly can run AI models that require such a beefy GPU, there are plenty of models that run fine even on a CPU-only system. So it really depends on what exactly Ollama is going to be used for.

  • What can I make out of a Old Pentium D desktop
  • I wouldn't run it as a router due to its high power consumption, but it would be a fine computer for retro gaming for games up until ~2005 if you add a graphics card.

  • What's your server wattage?
  • Edit: 75 LXC containers, 22VMs.

    That's a lot of power draw for so few VMs and containers. Any particular applications running that justify such a setup?

  • New Birdnet-Pi
  • I found both whoBIRD and Birdnet-Pi to give good results, as long as you dismiss the low confidence results. For results with a confidence of 80 % or higher I very rarely have incorrect results. Every once in a while it confuses one kind of thrush with another, but they do sound similar to my human ears as well.