Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Eeeeh.
Rsync Daemon? safe?
Nope... Absolutely not.
Rsync over SSH - yes.
Or are we talking about two different things? -
Fabian10134yAre you using it for actual automatic two-way sync in the background? I have tried to get that to run and came to the conclusion that it's probably impossible. Since them I'm using InSync.
-
@Fabian Automatic.... No.
This would require something that sits e.g. atop INotify to get notifications when a file was created / changed ...
RSync and INotify would be possible, but Nextcloud / OwnCloud a far better solution.
InSync seems to be a commercial product to pump it into GDrive / OneNote...
All 3 things which I'd consider extremely bad. -
Aldar12074y@IntrusionCM I mean, of course, for sensitive stuff, I can just route the connection through something like stunnel. Really, encryption out of the box is the only thing that Rsync lacks.
@demoralizeddev Of course, gosh, leaving Rsync ports open when on WAN iface is just asking for trouble. Am either running over LAN only, or put up a firewall whitelist...
Err, I mean, excuse my obsolete terminology. I, of course, meant "alowlist", wouldn't want to "offend" anyone. -
@Aldar Just use SSH and RSync.
Looked it up, RSync uses MD4 for Auth... Which is far away from secure xD -
Fabian10134y@IntrusionCM How does SSH help in any way with that? I don't want to remotely do something on another device, I want to sync files between local storage and GDrive.
(Late reply, because I haven't been on DevRant for a while.) -
Aldar12074y@Fabian You can forward remote ports to your local machine through SSH. So if the remote host runs RSync in Daemon mode, you can create an SSH tunnel that binds remote port 873 to your local 873, then all the communication would be secure.
Issue is when you can't SSH into the remote machine.
Related Rants
I seriously love rsync. Whoever made that utility is my hero. Not only that its CLI client is amazing and full of features, but rsync in daemon mode makes secure file synchronization a breeze! <3
rant
rsync
happy for once