dosse91

joined 1 year ago
[–] dosse91@lemmy.trippy.pizza 48 points 2 months ago* (last edited 2 months ago) (6 children)

I think this one beats them all.

My home server keeps a few services up, including an instance of Jitsi Meet. The server runs nixos and the nixos package for jitsi is incomplete to say the least and doesn't even support authentication, so I use the docker-compose version and I have a script that runs periodically to keep it updated. So far so good, right? Well, no.

Because the server is at home, I have a dynamic external IP address, so I have to use a DDNS provider, but jitsi doesn't expect this and uses a stun server at startup to determine the public IP of the server once, so if my connection goes down or is restarted and the IP changes, jitsi needs to be restarted or it won't work anymore.

The solution?

  • My router runs OpenWrt, so I am able to run a script that checks for external IP changes. When a change is detected, it uses SSH to connect to my server to restart jitsi
  • Because I don't want the router to just be able to run any command, I created a jitsi-restart user that has no shell
  • When the router tries to log in with its pubkey, sshd creates a file called restartasap in the jitsi folder and closes the connection
  • On the server, there's a systemd unit running a script as the jitsi user that periodically checks for that file, and if it exists it deletes it and restarts jitsi

I've been running this setup since mid 2020 and I expect this to continue until IPv6 becomes the norm.

[–] dosse91@lemmy.trippy.pizza 2 points 2 months ago* (last edited 2 months ago) (1 children)

I switched for good in 2019, when I realized that I was wasting more time getting windows into a usable state than the average arch user.

Privacy and usability were the biggest reasons for me.

[–] dosse91@lemmy.trippy.pizza 9 points 2 months ago

Fortnite OS

[–] dosse91@lemmy.trippy.pizza 10 points 2 months ago

Good idea, I'll add it to the to-do list for the next major release.

[–] dosse91@lemmy.trippy.pizza 6 points 2 months ago

Occasionally some cloud providers or ISPs chime in and offer their servers to the public. If you have an LS server, you can submit it here: https://librespeed.org/submit

[–] dosse91@lemmy.trippy.pizza 38 points 2 months ago* (last edited 2 months ago) (5 children)

I'm the author of the project. The servers are simply overloaded af unfortunately. It's a fairly popular project and we don't have enough servers to support this many concurrent users.

[–] dosse91@lemmy.trippy.pizza 4 points 2 months ago* (last edited 2 months ago) (1 children)

Exo one
POOLS

Basically anything that's just exploration and atmospheric will do.

[–] dosse91@lemmy.trippy.pizza 29 points 2 months ago

It doesn't need javascript from "20 different domains", only a file called empty.php is fetched from those servers to measure the ping. The javascript is hosted on librespeed.org, which is under my control.

[–] dosse91@lemmy.trippy.pizza 25 points 2 months ago

Damn, never thought I'd live to see the enshittification of F-Droid. I definitely won't be using it anymore if this happens.

[–] dosse91@lemmy.trippy.pizza 115 points 2 months ago (3 children)

Hi, I'm the original author of LibreSpeed. When you load the website it downloads a list of servers and tries all of them to see which one has the lowest ping, that's what you're seeing.

[–] dosse91@lemmy.trippy.pizza 10 points 2 months ago

I know, I've been using it since 2010, when it was still called CyanogenMod :)

[–] dosse91@lemmy.trippy.pizza 15 points 2 months ago (2 children)

Wow, I never thought I'd agree with the devs of GrapheneOS on something

view more: ‹ prev next ›