Debian Codegraph @

debian/control

raw symbols SCIP
1 Source: gokr-rsync
2 Section: golang
3 Maintainer: Debian Go Packaging Team <[email protected]>
4 Uploaders: Samuel Henrique <[email protected]>,
5 Guilherme Puida Moreira <[email protected]>
6 Build-Depends: debhelper-compat (= 13),
7 dh-sequence-golang,
8 golang-any,
9 golang-github-coreos-go-systemd-dev,
10 golang-github-google-go-cmp-dev,
11 golang-github-google-renameio-dev,
12 golang-github-google-shlex-dev,
13 golang-github-landlock-lsm-go-landlock-dev,
14 golang-github-mmcloughlin-md4-dev,
15 golang-golang-x-crypto-dev,
16 golang-golang-x-sync-dev,
17 golang-golang-x-sys-dev,
18 golang-toml-dev,
19 openssh-client <!nocheck>,
20 rsync <!nocheck>,
21 Testsuite: autopkgtest-pkg-go
22 Standards-Version: 4.7.4
23 Vcs-Browser: https://salsa.debian.org/go-team/packages/gokr-rsync
24 Vcs-Git: https://salsa.debian.org/go-team/packages/gokr-rsync.git
25 Homepage: https://github.com/gokrazy/rsync
26 XS-Go-Import-Path: github.com/gokrazy/rsync
27
28 Package: gokr-rsync
29 Section: net
30 Architecture: any
31 Depends: ${misc:Depends},
32 ${shlibs:Depends},
33 Static-Built-Using: ${misc:Static-Built-Using}
34 Description: rsync client and daemon, implemented in Go
35 gokr-rsync is a native Go implementation of the rsync file transfer
36 protocol, wire-compatible with the original tridge rsync (from the Samba
37 project) and openrsync (used on OpenBSD and macOS 15+). It implements
38 both client and server roles and can send or receive files in either
39 direction.
40 .
41 The same gokr-rsync binary can run as:
42 * a one-shot client, similar to rsync(1);
43 * a server invoked by a remote rsync(1) client over SSH;
44 * a standalone daemon, served either directly on port 873/tcp or
45 wrapped in anonymous or authorized SSH.
46 .
47 On Linux, gokr-rsync sandboxes itself using the Landlock LSM,
48 restricting filesystem access to only the source and destination paths
49 involved in each transfer. When started as root in daemon mode, it
50 additionally enters a mount namespace with the configured rsync modules
51 bind-mounted read-only, chroots into it, and drops privileges. These
52 layers limit the blast radius of bugs in the protocol handler.
53 .
54 Example systemd unit and socket files from upstream are installed under
55 /usr/share/doc/gokr-rsync/examples/ as a starting point for running
56 gokr-rsync as a hardened daemon (DynamicUser, RestrictNamespaces,
57 system call filtering, etc.). They are not enabled by default; copy
58 them into /etc/systemd/system/ and adjust ExecStart for your modules.
59 .
60 Note that this implementation is younger and less battle-tested than
61 the C rsync from the Samba project; users are encouraged to verify
62 their transfers and report discrepancies upstream.