[–] 4 points 1 year ago* (last edited 1 year ago) (2 children)

I haven't tried syncthing yet, but might be able to combine it with some of these ideas.

I'm currently doing phone backups to a samba smb server with an app called smbsync2 from fdroid. It can copy or move files and directories from and to a smb share on a schedule. An option for desktop would be rsync.

To get the archiving functionality you can do automatic ZFS snapshots. You can restore the entire snapshot or mount it via the terminal, or samba apparenly has a feature to display files from snapshots as shadow copies on windows.

There is one limitation of this is, if a client deletes a file on the local storage, the file on the server doesn't get deleted automaticly.

  • source
  • [–] 7 points 1 year ago* (2 children)

    It's impossible for anything but the kernel (the user chooses) to know what software is running. Tpm and kernel features can be emulated and spoofed.

    Tpm already has known exploits, which leads to it not being reccommended for disk encryption. A lot of not so old pc's don't even have a tmp 2.0 chip.

    Secure Boot is useless for this because the user can just enroll their own keys. You can't prevent this, because you can just mod the bios. Replacing the stock secure boot keys is trivial using uefi-tool. Pretty much every motherboard only checks the bios signature when flashing, my prvious motherboard (<7 Years old) didn't even do that.

    Also currently the only way for secure boot on linux is either using shim which the user can enroll thier own keys into or enrolling their own keys directly into the bios.

    Many phone manufacturers tried forcing secure boot, and failed. I bypassed such attempts on 3 devices, the manufacturer of one of them tried to fix the exploits twice and still failed to do so.

    Also how should the server know that the game itself wasn't modified to just emulate everything.

    Even Intels attempt at preventing this with "secure computing" with sgx didn't work. See this: https://media.ccc.de/v/670321a9-75f4-4194-867d-a249aa01af0b

    It's the same problem that electronic voting machines have, how does an external person/server know that the correct software is running on the computer? It's impossible.

    Also aren't we using Linux because we want the freedom to run what ever we want on our computers?

    Server side only anti-cheats are the only solution.

  • source
  • parent
  • context
  • I'm currently doing this to a Citroën C5 III (2015). The hdd in the old infotainment system broke, so I had a reason to do it, and adding a few features couldn't hurt.

    It's a huge pain to get to find information about anything in this car and to get anything to work properly, but I hope it'll be worth it.

  • source
  • parent
  • context
  • [–] 6 points 1 year ago* (last edited 1 year ago) (2 children)

    I'm currently doing the same project.

    To get gps to work on linux, you configure gpsd to get the data from your gps module and setup geoclue to get its data from gpsd. I lost the config files but I remember that I did the gpsd geoclue connection by echoing the gps data of gpsd into a netcat socket and connecting geoclue to it. Organic maps then automaticly gets its position from geoclue.

    Im also working on a organic maps fork, which shows onscreen directions on linux.

  • source