- Systemd: Bind to privileged port without altering upstream service file
·
syncthingsystemd
· I’m using syncthing to sync files to all my devices. It comes with a webinterface accessable over port 8384. I don’t like websites which are not accessable over port 80 or 443. Normally I use nginx to proxy requests. For me that’s hassle free because I’m using ansible to spin up nginx installations. Yet it’s unnecessary overhead.
An unprivileged application usually can’t bind to ports below 1024. My syncthing installation runs with user privileges and is - as far as I know - not able to drop privileges like nginx.
- Nagios/Icinga: Monitoring der verbunden Endpoints von Syncthing mit check_syncthing
·
icinga2syncthing
· Ich nutze Syncthing für die Synchronisation verschiedener Dateien auf vielen Geräte, darunter sind zum Beispiel Handy, Tablet, PC, Arbeits-PC, Laptop und verschiedene Server. Je nach Anwendungsfall entweder als bidirektionale Synchronisation (zum Beispiel Bilder von der Handykamera) oder One-Way-Sync mit Dateiversionierung (zum Beispiel für Konfigurationsdateien).
Wichtig für mich ist dabei, dass mindestens mein Root-Server mit meiner „Master“-Installation zu Hause verbunden ist. Sollte eine gewisse Anzahl unterschritten sein sollen WARNING oder CRITICAL States getriggert werden.