8
Aldar
3y

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

Comments
  • 2
    Eeeeh.

    Rsync Daemon? safe?

    Nope... Absolutely not.

    Rsync over SSH - yes.

    Or are we talking about two different things?
  • 0
    Are 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.
  • 0
    @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.
  • 0
    As long as you PYP (protect yo ports)! https://rapid7.com/blog/post/...
  • 0
    @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.
  • 0
    @Aldar Just use SSH and RSync.

    Looked it up, RSync uses MD4 for Auth... Which is far away from secure xD
  • 0
    @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.)
  • 0
    @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.
Add Comment