• 21 Posts
  • 1.02K Comments
Joined 1Y ago
cake
Cake day: Jun 16, 2023

help-circle
rss

They forgot the part where margins should be included on things… once again.


That looks like a DDoS, for instance that doesn’t ever happen on my ISP as they have some kind of DDoS protection running akin to what we would see on a decent cloud provider. Not sure of what tech they’re using, but there’s for certainly some kind of rate limiting there.

  1. Isolate the server from your main network as much as possible. If possible have then on a different public IP either using a VLAN or better yet with an entire physical network just for that - avoids VLAN hopping attacks and DDoS attacks to the server that will also take your internet down;

In my case I can simply have a bridged setup where my Internet router get’s one public IP and the exposed services get another / different public IP. If there’s ever a DDoS, the server might be hammered with request and go down but unless they exhaust my full bandwidth my home network won’t be affected.

Another advantage of having a bridged setup with multiple IPs is that when there’s a DDoS/bruteforce then your router won’t have to process all the requests coming in, they’ll get dispatched directly to your server without wasting your router’s CPU.

As we can see this thing about exposing IPs depends on very specific implementation detail of your ISP or your setup so… it may or may not be dangerous.


Oh well, If you think you’re good with Docker go ahead use it, it does work but has its own dark side

cause its like a micro Linux you can reliably bring up and take down on demand

If that’s what you’re looking for maybe a look Incus/LXD/LXC or systemd-nspawn will be interesting for you.

I hope the rest can help you have a more secure setup. :)

Another thing that you can consider is: instead of exposing your services directly to the internet use a VPS a tunnel / reverse proxy for your local services. This way only the VPS IP will be exposed to the public (and will be a static and stable IP) and nobody can access the services directly.

client —> VPS —> local server

The TL;DR is installing a Wireguard “server” on the VPS and then have your local server connect to it. Then set something like nginx on the VPS to accept traffic on port 80/443 and forward to whatever you’ve running on the home server through the tunnel.

I personally don’t think there’s much risk with exposing your home IP as part of your self hosting but some people do. It also depends on what protection your ISP may offer and how likely do you think a DDoS attack is. If you ISP provides you with a dynamic IP it may not even matter as a simple router reboot should give you a new IP.


It depends on what you’re self-hosting and If you want / need it exposed to the Internet or not. When it comes to software the hype is currently setup a minimal Linux box (old computer, NAS, Raspberry Pi) and then install everything using Docker containers. I don’t like this Docker trend because it 1) leads you towards a dependence on property repositories and 2) robs you from the experience of learning Linux (more here) but I it does lower the bar to newcomers and let’s you setup something really fast. In my opinion you should be very skeptical about everything that is “sold to the masses”, just go with a simple Debian system (command line only) SSH into it and install what you really need, take your time to learn Linux and whatnot.

Strictly speaking about security: if we’re talking about LAN only things are easy and you don’t have much to worry about as everything will be inside your network thus protected by your router’s NAT/Firewall.

For internet facing services your basic requirements are:

  • Some kind of domain / subdomain payed or free;
  • Preferably Home ISP that has provides public IP addresses - no CGNAT BS;
  • Ideally a static IP at home, but you can do just fine with a dynamic DNS service such as https://freedns.afraid.org/.

Quick setup guide and checklist:

  1. Create your subdomain for the dynamic DNS service https://freedns.afraid.org/ and install the daemon on the server - will update your domain with your dynamic IP when it changes;
  2. List what ports you need remote access to;
  3. Isolate the server from your main network as much as possible. If possible have then on a different public IP either using a VLAN or better yet with an entire physical network just for that - avoids VLAN hopping attacks and DDoS attacks to the server that will also take your internet down;
  4. If you’re using VLANs then configure your switch properly. Decent switches allows you to restrict the WebUI to a certain VLAN / physical port - this will make sure if your server is hacked they won’t be able to access the Switch’s UI and reconfigure their own port to access the entire network. Note that cheap TP-Link switches usually don’t have a way to specify this;
  5. Configure your ISP router to assign a static local IP to the server and port forward what’s supposed to be exposed to the internet to the server;
  6. Only expose required services (nginx, game server, program x) to the Internet us. Everything else such as SSH, configuration interfaces and whatnot can be moved to another private network and/or a WireGuard VPN you can connect to when you want to manage the server;
  7. Use custom ports with 5 digits for everything - something like 23901 (up to 65535) to make your service(s) harder to find;
  8. Disable IPv6? Might be easier than dealing with a dual stack firewall and/or other complexities;
  9. Use nftables / iptables / another firewall and set it to drop everything but those ports you need for services and management VPN access to work - 10 minute guide;
  10. Configure nftables to only allow traffic coming from public IP addresses (IPs outside your home network IP / VPN range) to the Wireguard or required services port - this will protect your server if by some mistake the router starts forwarding more traffic from the internet to the server than it should;
  11. Configure nftables to restrict what countries are allowed to access your server. Most likely you only need to allow incoming connections from your country and more details here.

Realistically speaking if you’re doing this just for a few friends why not require them to access the server through WireGuard VPN? This will reduce the risk a LOT and won’t probably impact the performance. Here a decent setup guide and you might use this GUI to add/remove clients easily.

Don’t be afraid to expose the Wireguard port because if someone tried to connect and they don’t authenticate with the right key the server will silently drop the packets.

Now if your ISP doesn’t provide you with a public IP / port forwarding abilities you may want to read this in order to find why you should avoid Cloudflare tunnels and how to setup and alternative / more private solution.


Note: iptables is “deprecated” you should be using nftables. Even Debian is on nftables nowadays.



Is there a use case for CrowdStrike on any platform? No, there isn’t. Anything that messes with the kernel at that level should be considered a security threat on the basis of potential service disruption / threat to business continuity. Do you really want to run a closed source piece of malware as a kernel module?

They completely fuck over their customers in the business continuity aspect, they become the problem and I bet that most companies would never suffer any catastrophic failure this bad if they didn’t run their software at all. No hacker would be able to take down so many systems so fast and so hard.


Fair enough.

Still this fiasco proved once again that the biggest thread to IT sometimes is on the inside. At the end of the day a bunch of people decided to buy Crowdstrike and got screwed over. Some of them actually had good reason to use a product like that, others it was just paranoia and FOMO.



While I don’t totally disagree with you, this has mostly nothing to do with Windows and everything to do with a piece of corporate spyware garbage that some IT Manager decided to install. If tools like that existed for Linux, doing what they do to to the OS, trust me, we would be seeing kernel panics as well.


You’re missing the point, it wasn’t bought by godaddy. Epik auctioned the domain to godaddy after it expired, it’s common for registrars to sell domains to each other so they don’t get a bad reputation and make people think what you’re thinking.



After some time, the domain fully expired and GoDaddy decided to buy it as soon as it did,

Oh yeah, that’s what happens when you pick scammy domain registrars. It is very possible that Epik auctioned your domain (after wall they kept it after the expiry date and payed fees) and then GoDaddy snatched it. This is what usually happens.


I believe most regulated ccTLDs (not the ones sold to the higher bigger) actually do that.


SMTP with good delivery and whatnot is entirely possible it just takes an IP with a good reputation and enough patience to read and understand the ISPmail guide and a few other details. Running a CA is a security vulnerability and a major pain if you plan to deploy it to the devices of your entire family.




I like the web UI as well, but since i use an iPhone i wasn’t really able to be able to set up the browser with the cert

One thing you can do (that I have in the corporate) is to setup a reverse proxy in front of the WebUI and have it manage user authentication. Essentially nginx authenticates users against the company Keycloak IdP that provides SSO and whatnot. You can do with a simple HTTP basic auth or some simpler solution like phpAuthRequest.

thanks again for the recommendation.

You’re welcome, enjoy.


Unline modern macOS clones this actually look in line with Apple did…


While I agree with you, an attacker may not need to go to such lengths in order to get the PK. The admin might misplace it or have a backup somewhere in plain text. People aren’t also prone to look to logs and it might be too late when they actually noticed that the CA was compromised.

Managing an entire CA safely and deploying certificates > complex; Getting let’s encrypt certificates using DNS challenges > easy;


Just be aware of the risks involved with running your own CA.

You’re adding a root certificate to your systems that will effectively accept any certificate issued with your CA’s key. If your PK gets stolen somehow and you don’t notice it, someone might be issuing certificates that are valid for those machines. Also real CA’s also have ways to revoke certificates that are checked by browsers (OCSP and CRLs), they may employ other techniques such as cross signing and chains of trust. All those make it so a compromised certificate is revoked and not trusted by anyone after the fact.

For what’s worth, LetsEncrypt with DNS-01 challenge is way easier to deploy and maintain in your internal hosts than adding a CA and dealing with all the devices that might not like custom CAs. Also more secure.



Yes, LetsEncrypt with DNS-01 challenge is the easiest way to go. Be it a single wildcard for all hosts or not.

Running a CA is cool however, just be aware of the risks involved with running your own CA.

You’re adding a root certificate to your systems that will effectively accept any certificate issued with your CA’s key. If your PK gets stolen somehow and you don’t notice it, someone might be issuing certificates that are valid for those machines. Also real CA’s also have ways to revoke certificates that are checked by browsers (OCSP and CRLs), they may employ other techniques such as cross signing and chains of trust. All those make it so a compromised certificate is revoked and not trusted by anyone after the fact.


My point is: if you want to copy / be inspired by others at least do it right.



If you know your way around Linux you most likely don’t need Proxmox and its pseudo-open-source… you can try Incus / LXD instead.

Avoid Proxmox and safe yourself a LOT of headaches down the line. Go with Debian 12 + Incus/LXC, it runs VMs and containers very well. Proxmox ships with an old kernel that is so mangled and twisted that they shouldn’t even be calling it a Linux kernel. Also their management daemons and other internal shenanigans will delay your boot and crash your systems under certain circumstances.

LXD/Incus provides a management and automation layer that really makes things work smoothly - essentially what Proxmox does but properly done. With Incus you can create clusters, download, manage and create OS images, run backups and restores, bootstrap things with cloud-init, move containers and VMs between servers (even live sometimes).

Another big advantage is the fact that it provides a unified experience to deal with both containers and VMs, no need to learn two different tools / APIs as the same commands and options will be used to manage both. Even profiles defining storage, network resources and other policies can be shared and applied across both containers and VMs.

I draw your attention to containers (not docker), LXC containers because for most people full virtualization isn’t even required. In a small homelab if you can have containers that behave like full operating systems (minus the kernel) including persistence, VMs might not be required. Either way LXD/Incus will allow for both and you can easily mix and match and use what you require for each use case. Hell, you can even run Docker inside an LXC container.

For eg. I virtualize the official HomeAssistant image with Incus because we all know how hard is to get that thing running, however my NAS / Samba shares are just a LXD Debian 12 container with Samba4, Nginx and FileBrowser. Same goes for torrent client that has its own container. Some other service I’ve exposed to the internet also runs a full VM for isolation.

Like Proxmox, LXD/Incus isn’t about replacing existing virtualization techniques such as QEMU, KVM and libvirt, it is about augmenting them so they become easier to manage at scale and overall more efficient. I can guarantee you that most people running Proxmox today it today will eventually move to Incus and never look back. It woks way better, true open-source, no bugs, no delayed security updates, no BS licenses and way less overhead.

Also, let’s consider something, why use Proxmox when half of it’s technology (the container part) was made by the same people who made LXD/Incus? I mean Incus is free, well funded and can be installed on a clean Debian system with way less overhead and also delivers both containers and VMs.

Yes, there’s an optional WebUI for it as well!

Some documentation for you:


**New GNOME dialog** on the right: ![](https://lemmy.world/pictrs/image/8d6ae1b8-566f-4773-80b1-de00c22b782f.jpeg) **Apple's dialog**: ![](https://lemmy.world/pictrs/image/62f4bf9d-b325-4941-98c9-c749445dd823.png) They say GNOME isn't a copy of macOS but with time it has been getting really close. **I don't think this is a bad thing** however they should just admit it and then put some real effort into cloning macOS instead of the crap they're making right now. Here's the thing: **Apple's design you'll find that they carefully included an extra margin between the "Don't Save" and "Cancel" buttons**. This avoid accidental clicks on the wrong button so that people don't lose their work when they just want to click "Cancel". So much for the GNOME, vision and their expert usability team :P
fedilink

The technology has “been there” for a while, it’s trivial do setup what you’re asking for, the issue is that games have anti cheat engines that will get triggered by the virtualization and ban you.


Yes there is, in most countries you can first submit your code to the intelectual property office and then pay someone to audit it.



This is a very cool project, but it would be cool to see it all in JS / client side instead of depending on a server-side Java powered component.


You will never get the same font rendering on Linux as on Windows as Windows font rendering (ClearType) is very strange, complicated and covered by patents.

Font rendering is also kind of a subjective thing. To anyone who is used macOS, windows font rendering looks wrong as well. Apple’s font rendering renders fonts much closer to how they would look printed out. Windows tries to increase readability by reducing blurriness and aligning everything perfectly with pixels, but it does this at the expense of accuracy.

Linux’s font rendering tends to be a bit behind, but is likely to be more similar to macOS than to Windows rendering as time goes forward. The fonts themselves are often made available by Microsoft for using on different systems, it’s just the rendering that is different.

For me, on my screens just by installing Segoe UI and tweaking the hinting / antialiasing under GNOME settings makes it really close to what Windows delivers. The default Ubuntu font, Cantarell and Sans don’t seem to be very good fonts for a great rendering experience.

The following links may be of interest to you:


but never really thought to use it in my home network

Because you don’t need it. OPNsense and pfSense may make sense in some cases however you’re running a small network and you most likely don’t require those. OpenWRT will provide you with a much cleaner open-source experience and also allow for all the customization you would like. Another great advantage of OpenWRT you’ve the ability to install 3rd party stuff in your router, you may even use qemu to virtualize stuff like your Pi-Hole on it or simply run docker containers.


They improved it? You can’t even add a bullet list. No way to have a full screen typing experience. It’s slow like no other and basic formatting tools are already hidden. Is that what you call improvements?


The point is that every single feature they try to add to it ends up as yet another buggy thing that never gets fixed. They should focus on making the core things works decently instead of adding new features. After all this time they didn’t get the sync to be as reliable as Syncthing, why would they venture into webmail’s and whatnot ?


Yes, it is very good. It’s great to use perpetually half made software.


Well… Poettering will eventually work his way up to browser engines and then we’ll get something efficient… Here’s the announcement:

"There’s a new component in systemd, called “engined”. Or actually, it’s not a new component, it’s actually the long existing “WebKit” engine now done properly. The engine is also a lot more fun to use than “WebKit” or “Blink” because you can finally have hundreds of tabs open in your browser without running out of RAM.

Coming soon in Coming for systemd 981.



I’ve a very bad experience with GNOME boxes, both VMware and VirtualBox seem to outperform the thing and work better (drag and drop and resolution scaling, actual GPU acceleration).


And right now millions of people do and I don’t see widespread issues.

It’s not a widespread issue, it’s something with the desktop icon extensions and the original implementation. In both cases the drag and drop from/to apps never worked fine.


The funny thing is that you can’t prove me wrong there, apparently not even provide valid arguments, just add a pile of ramblings and insults.


Here's my take: The domain aftermarket has a big problem... it exists. This market shouldn't ever be allowed to exist in the first place. ICANN should've blocked this bullshit a long time ago and forced registrars to just let domains expire and free the space. Also add a few provisions about unused domain names and about selling them.
fedilink

Analog Phone Line to SIP
Hello, So I have a Motorola SM56 USB Data Fax Modem (aka Apple USB Modem for some people) and according to information online this modem supports V.92, Caller ID, wake-on-ring and most importantly telephone answering (V.253). At a place I happen to have an old telephone analog line that gets calls and unfortunately I can't get rid of. Any ideias / links / software on how can I use the modem + a low end box / ARM SBC to "digitize" the phone line into a generic SIP / VOIP that I can then connect to using MicroSIP on another computer? Thank you. -------------------- **Update on this:** I just tried the modem under Windows with a few programs such as Phone Dialer Pro and the built in dialer.exe and while the modem can detect incoming phone calls and place calls I can't pass the audio back to the operating system / phone software. I did some research about the SM65 and it seems like it was designed to have an headset directly attached to it like on those PCI cards that also use it: ![](https://lemmy.world/pictrs/image/ae7ac06d-4671-485f-b8ec-058b327e082c.png) ![](https://lemmy.world/pictrs/image/54b92206-806f-4e3c-9109-d106818c2684.png) The built in COM port of the modems seems to be only usable to control the modem via AT commands and can't be used to pass audio form and to the system.
fedilink

Alternative to Home Assistant for ESPHome Devices
Hello, My IoT/Home Automation needs are centered around custom built ESPHome devices and I currently have them all connected to a HA instance and things work fine. Now, I like HA's interface and all the sugar candy, however I don't like the massive amounts of resources it requires and the fact that the storage usage keeps growing and it is essentially a huge, albeit successful, docker clusterfuck. Is there any alternative dashboard that just does this: 1. Specifically made for ESPHome devices - no other devices required; 2. Single daemon or something PHP/Python/Node that you can setup manually with a few systemd units; 3. Connects to the ESPHome devices, logs the data and shows a dashboard with it; 4. Runs offline, doesn't go into 24234 GitHub repositories all the time and whatnot. Obviously that I'm expecting more manual configuration, I'm okay with having to edit a config file somewhere to add a device, change the dashboard layout etc. I also don't need the ESPHome part that builds and deploys configurations to devices as I can do that locally on my computer. Thank you.
fedilink

cross-posted from: https://lemmy.world/post/11162262 > Hey, > > For all of you that are running proper setups and use nftables to protect your servers be aware that `pvxe/nftables-geoip` now has the ability to generate IP lists by country. > > This can be used to, for instance, drop all traffic from specific countries or the opposite, drop everything except for your own country. > > https://github.com/pvxe/nftables-geoip/commit/c137151ebc05f4562c56e6802761e0a93ed107a2 > > Here's how you can block / track traffic from certain countries: > > - https://wiki.nftables.org/wiki-nftables/index.php/GeoIP_matching > - https://www.mybluelinux.com/nftables-and-geoip > > Previously you had to load the entire geoip DB containing multiple GB and would end up using a LOT of RAM. Those guides aren't yet updated to use the country specific files but it's just about changing the `include` line to whatever you've generated with `pvxe/nftables-geoip`.
fedilink

Hey, For all of you that are running proper setups and use nftables to protect your servers be aware that `pvxe/nftables-geoip` now has the ability to generate IP lists by country. This can be used to, for instance, drop all traffic from specific countries or the opposite, drop everything except for your own country. https://github.com/pvxe/nftables-geoip/commit/c137151ebc05f4562c56e6802761e0a93ed107a2 Here's how you can block / track traffic from certain countries: - https://wiki.nftables.org/wiki-nftables/index.php/GeoIP_matching - https://www.mybluelinux.com/nftables-and-geoip Previously you had to load the entire geoip DB containing multiple GB and would end up using a LOT of RAM. Those guides aren't yet updated to use the country specific files but it's just about changing the `include` line to whatever you've generated with `pvxe/nftables-geoip`.
fedilink

I'm looking for an application (windows or maybe web) that can be used to combine images vertically and horizontally. I usually go with PhotoScape (screenshot) to for this but that's not free nor updated anymore. Important features for me are to be able to combine horizontally or vertically, set the number or rows or columns and have the ability to resize the final image. Thank you.
fedilink

The Banana Pi BPI-M7 single board computer is equipped with up to 32GB RAM and 128GB eMMC flash, and features an M.2 2280 socket for one NVMe SSD, three display interfaces (HDMI, USB-C, MIPI DSI), two camera connectors, dual 2.5GbE, WiFi 6 and Bluetooth 5.2, a few USB ports, and a 40-pin GPIO header for expansion.
fedilink


Deleted Posts
I've notice that posts in this community tend to get deleted, even ones with multiple comments and/or useful information. Even worse is when they get posted again by some other user a few days later. What's going on? What's the policy around here?
fedilink

cross-posted from: https://lemmy.world/post/7123708 > In this article, you will discover the ISO images that Debian offers and learn where and how to download them. I’ll also provide some useful tips on how to use Jigdo to archive the complete Debian repository into ISO images.
fedilink

Debian 12.1 (6.1.0-11-amd64) running LXD/LXC and on an unprivileged container setting `security.idmap.isolated=true` seems to fail to update the owner/group of the container's files. Here is an example: ```` # lxc launch images:debian/12 debian (...) # lxc config get debian volatile.idmap.base 296608 # lxc stop debian Error: The instance is already stopped # lxc config set debian security.idmap.isolated true # lxc config get debian security.idmap.isolated true # lxc start debian ```` Now if I list the files on the container volume I'll get they're all owned by the host `root ` user: ```` # ls -la /mnt/NVME1/lxd/containers/debian/rootfs/ total 24 drwxr-xr-x 1 root root 154 Sep 5 06:28 . d--x------ 1 296608 root 78 Sep 5 15:59 .. lrwxrwxrwx 1 root root 7 Sep 5 06:25 bin -> usr/bin drwxr-xr-x 1 root root 0 Jul 14 17:00 boot drwxr-xr-x 1 root root 0 Sep 5 06:28 dev drwxr-xr-x 1 root root 1570 Sep 5 06:28 etc ```` I tried multiple versions of LXD/LXC. This happens with both 5.0.2 from `apt` as well with 4.0 and 5.17 (latest) from `snap`. Interestingly enough I have another Debian 10 (4.19.0-25-amd64) running and older LXD 4 from `snap` and on that one things work as expected: ``` # ls -la /mnt/NVME1/lxd/containers/debian/rootfs/ total 0 drwxr-xr-x 1 1065536 1065536 138 Oct 29 2020 . d--x------ 1 1065536 root 78 Oct 14 2020 .. drwxr-xr-x 1 1065536 1065536 1328 Jul 24 19:07 bin drwxr-xr-x 1 1065536 1065536 0 Sep 19 2020 boot drwxr-xr-x 1 1065536 1065536 0 Oct 14 2020 dev drwxr-xr-x 1 1065536 1065536 1716 Jul 24 19:08 etc ``` As you can see on this systems all the files are owned by `1065536:1065536`. --------------- **Update:** I tried to probe around the maps with `lxc config show debian` in both machines and I saw this: **Machine running Debian 10:** ```` security.idmap.isolated: "true" (...) volatile.idmap.base: "1065536" volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":1065536,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":1065536,"Nsid":0,"Maprange":65536}]' volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":1065536,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":1065536,"Nsid":0,"Maprange":65536}]' volatile.last_state.idmap: '[{"Isuid":true,"Isgid":false,"Hostid":1065536,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":1065536,"Nsid":0,"Maprange":65536}]' ```` **Machine running Debian 12:** ```` security.idmap.isolated: "true" (...) volatile.idmap.base: "231072" volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":231072,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":231072,"Nsid":0,"Maprange":65536}]' volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":231072,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":231072,"Nsid":0,"Maprange":65536}]' volatile.last_state.idmap: '[]' ```` Why didn't it populate `volatile.last_state.idmap: '[]'`? How can I fix it? Thank you.
fedilink

Hello, There's this website https://weather.ambient-mixer.com/the-perfect-storm that has a nice mixer of background sounds / ambient music. I would like to know if it's possible to somehow possible to rip the player and all the music it allows on the channel mixers to use offline. The same question also applies to those: https://mynoise.net/NoiseMachines/rainNoiseGenerator.php https://mynoise.net/NoiseMachines/thunderNoiseGenerator.php https://mynoise.net/NoiseMachines/fireNoiseGenerator.php Thank you.
fedilink

Hello, I've been using Armbian on a bunch of ARM SCBs and they have a very nice MOTD on SSH login that shows CPU, RAM, Storage and networking infromation. Is there anything similar for a regular x86 machine? I tried to grab the scripts from a NanoPi M4v2 board but had to change a ton of stuff to get it working on x86 and it isn't portable as AMD and Intel report temps differently. Or... does anyone know if their x86 version has it working and where to get? Just for reference I'm talking about this: https://cdn.tcb13.com/2023/armbian-motd.jpg Thank you.
fedilink

Linux Performance Tools
"This page links to various Linux performance material I've created, including the tools maps on the right. These use a large font size to suit slide decks. You can also print them out for your office wall. They show: Linux observability tools, Linux static performance analysis tools, Linux benchmarking tools, Linux tuning tools, and Linux sar. Check the year on the image (bottom right) to see how recent it is."
fedilink

After a few conversations with people on Lemmy and other places it became clear to me that most aren't aware of what it can do and how much more robust it is compared to the usual "jankiness" we're used to. In this article I highlight less known features and give out a few practice examples on how to leverage Systemd to remove tons of redundant packages and processes. **And yes, Systemd does containers.** :)
fedilink

After a few conversations with people on Lemmy and other places it became clear to me that most aren't aware of what it can do and how much more robust it is compared to the usual "jankiness" we're used to. In this article I highlight less known features and give out a few practice examples on how to leverage Systemd to remove tons of redundant packages and processes. **And yes, Systemd does containers.** :)
fedilink

Hello, I'm looking for a unit converter written in JS / client-side only that I can self-host / add to a bunch of tools I already use. I was looking for a suggestion to get something similar to the good old https://joshmadison.com/convert-for-windows/ but that runs a browser. Thank you for your suggestions.
fedilink

Debian 12: How to setup disk encryption with TPM2
Hello, I've an **HP EliteBook 840 G5** that I've been using up until now with Windows 10. I want to replace it with **Debian 12** however since this is a laptop I would like to have my disk fully encrypted as well as the boot stage (initramfs etc). **My threat model**: make sure if someone stoles the laptop, powered off, they won't be able to access my data. I would also like to avoid evil maid attacks and make sure I'm not booting into some modified kernel / system with spyware or that will leak my TPM keys. I've found some information online but I'm unsure of how secure those setups are and/or if it isn't even possible to have the same level of security that Windows provides. Here are a few of my questions: - Anyone around here that has a similar HP laptop and did this? - What about enrolling secure boot keys on the UEFI? From what I read simply using the typical Linux shim makes things more secure but it doesn't fix the problem. Enrolling keys seems to break some motherboards - Even if I use `--tpm2-pcrs=1,4,5,7,9` how secure is that, should I add more? - What is the impact of this in system upgrades? How do I deal with those? - If I want to proceed with this what I should know / what typically fails or can be problematic / security issue? Some of the information I found: - https://0pointer.net/blog/unlocking-luks2-volumes-with-tpm2-fido2-pkcs11-security-hardware-on-systemd-248.html - https://saligrama.io/blog/post/upgrading-personal-security-evil-maid/ - https://fedoramagazine.org/automatically-decrypt-your-disk-using-tpm2/ Thank you.
fedilink


Cryptomator: A Warning About Data Loss
Hello, I'm just posting this as a warning to anyone using Cryptomator for serious stuff. I've been using it in not-very-critical stuff for some years now and the reality is that I've had data loss on multiple occasions under Windows. I had two major incidents: - After creating a vault in Google Drive (via Cyberduck) it worked fine for some time but eventually the vault was empty; - Long file names seem to f*k something and the files simply vanish after opening the vault a few times. If you google "cryptomator data loss" there are a LOT of complaints and frankly I'll ditch it now.
fedilink