• 1 Post
  • 161 Comments
Joined 3 years ago
cake
Cake day: July 29th, 2023

help-circle
  • No, don’t listen to the BSD elitists unless you want to take a dive into BSD.

    People who say BSD is superior are the people who read man pages for fun without throwing in some text color or extra functionality because god forbid a QOL bash script with a GNU license touches their precious BSD licensed software stack.

    They will also slowly drag you into Plan 9 or GNU Hurd (yes even despite it being GNU license) hell, which they will insist is the future of all operating systems.







  • I can trip the measly 15 amp breaker by drawing 1.5kW on two servers + turning on an amplifier that is somehow on the same circuit despite being in a different room quite far from where my servers are lol.

    On average though I only draw like 350W. The huge spike only happens if I run a miner/llm on both of my servers or the during the startup spike.

    The 1kW chunk comes from some RTX Quadro 6000s which each eat 250W each when maxxed out.

    EDIT: Want to mention that most machines report their power draw (from mobo) without IPMI, so you can use your favorite stats collector use it to form a rough estimate of kWh total in case you don’t have a proper meter that records usage.


  • Lol remember when they software locked LGA1511 to prevent 8th and 9th gen CPUs from working on existing 6th/7th gen motherboards, and then the modding community bypassed it with some BIOS mods and Teflon tape.

    This whole time they could’ve actually been making old computers better than they are and make it so the consumer didn’t have to spend a fuck load on upgrades but waited till a chip shortage to do it…

    This isn’t anything new in the component industry. Nvidia is even more guilty of this with their RTX ray tracing scam which now looks comically small next to their subsequent AI bubble.

    I’ve personally preferred AMD for this reason because they actually thought ahead of Intel on several occasions like x64, multicore processors, more efficient laptop CPU power consumption, actually funding next gen hardware specs, etc.

    In my eyes, the last time Intel was even “on top” of AMD was the skylake overclock era where single thread performance was still sought after heavily.

    Hilariously though my servers are all Intel xeons because of their sheer production volume making used parts much cheaper than AMD.


  • I actually just did this recently with a BTRFS subvolume using a swap file and LUKS encryption.

    The old Fedora magazine article has the overall steps required and someone also made a guide for secure boot on I think the spiceworks framework forum.

    The catch is that secure boot will only allow signed images to be loaded which includes the hibernation swap image, meaning you have to use a customized kernel that allows unsigned hibernation images to load.

    I’ll share both links when I get a chance.

    EDIT:

    Fedora Magazine guide: https://fedoramagazine.org/hibernation-in-fedora-36-workstation/

    This is slightly outdated as Fedora now uses a proper zram.swap definition with systemd, so you can also do a systemctl edit to disable and enable zram0 with post/pre start on the hibernate service directly instead of using swapon/swapoff. I’ll make a second edit with my example I’ll have to dig out of some poorly documented notes lol.

    https://community.frame.work/t/guide-fedora-36-hibernation-with-enabled-secure-boot-and-full-disk-encryption-fde-decrypting-over-tpm2/25474

    This is the full forum post guide for FDE + TPM + secure boot. I’m not entirely sure of the kernel patch specific but it seems that the hibernate swap image is technicallly signed because if the bootloader process, but the kernel lockdown mode rejects it regardless by default because there’s no guarantee that the swap image was configured with FDE and not tampered with, which would be a vulnerability.

    Quick glance at the kernel patch makes it seem like it’s just a flag check to allow hibernate in lockdown mode, so I assume the secure boot signature check is still completed.

    lockdown_hibernate [HIBERNATION] Enable hibernation even if lockdown is enabled. Enable this only if your swap is encrypted and secured >properly, as an attacker can modify the kernel offline during hibernation.









  • Saw the title and I already knew IPv6 was still gonna be “not enough adoption” lol.

    The overly aggressive lockdown from NAT is not entirely misplaced though. Windows is already notorious for default hosting an atrocious level of protocols that are anywhere between “I can get your NetNTLMv2 hash for free” to “gg ez RCE as SYSTEM user”.

    Linux and Unix were also not magically protected either, like every FTP server implementation has had several RCE vulns and it was so bad that Linus himself pointed out how easy it was to abuse buffer overflow vulns even after the addition of NX mem protection with return to libc, several years before ASLR finally landed in Linux and Windows.

    Seriously, the early 2000s was the wild west of vulns because everything was still written in C++ so you could just waltz into any binary, find some stack/heap overflow, and you’re on your way to an RCE.

    NAT (and firewall) most definitely did prevent millions of users from getting rekt by a metric ton of malware that operated on the ability to connect to those services.