Skip to content

Commit

Permalink
gokr-rsyncd is no longer; gokr-rsync now does everything 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
stapelberg committed Feb 17, 2025
1 parent 2ddde2c commit 9bca7e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,17 @@
[![tests](https://github.com/gokrazy/rsync/actions/workflows/main.yml/badge.svg)](https://github.com/gokrazy/rsync/actions/workflows/main.yml)
[![Sourcegraph](https://sourcegraph.com/github.com/gokrazy/rsync/-/badge.svg)](https://sourcegraph.com/github.com/gokrazy/rsync??badge)

Package rsync contains a native Go rsync implementation.

This repository currently contains:

1. `gokr-rsyncd`, a rsync daemon Go implementation of rsyncd. It implements the
rsync daemon network protocol (port 873/tcp by default), but can be used over
SSH or locally as well.
2. `gokr-rsync` is an rsync receiver implementation that can download files via
rsync (daemon protocol or SSH).
This repository contains a native Go rsync implementation: the `gokr-rsync`
command implements an rsync client and server, which can send or receive files
(all directions supported). Daemon mode is supported, meaning you can deploy
`gokr-rsync` behind SSH (anonymous or authorized), as command or daemon, or
listening directly on the network (on port 873/tcp by default).

The following known improvements are not yet implemented:

* Making `gokr-rsync` chroot (and/or Linux mount namespaces when available?)
into the destination directory to reduce chances of accidental file system
manipulation in case of bugs.
* Merging `gokr-rsyncd` and `gokr-rsync` into a single binary.

This project accepts contributions as time permits to merge them (best effort).

Expand Down
10 changes: 4 additions & 6 deletions cmd/gokr-rsyncd/rsyncd.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
// Tool gokr-rsyncd is a read-only rsync daemon sender-only Go implementation of
// rsyncd. rsync daemon is a custom (un-standardized) network protocol, running
// on port 873 by default.
// Tool gokr-rsyncd is an old name for gokr-rsync.
//
// For the corresponding way of operation in the original “tridge” rsync
// (https://github.com/WayneD/rsync), see
// https://manpages.debian.org/bullseye/rsync/rsync.1.en.html#DAEMON_OPTIONS
// Please update your setup to install/use gokr-rsync directly instead.
//
// This program will be removed in a future release.
package main

import (
Expand Down

0 comments on commit 9bca7e2

Please sign in to comment.