]> git.ipfire.org Git - thirdparty/FORT-validator.git/commitdiff
Exclude hidden files and directories when synchronizing via Rsync 175/head
authorJob Snijders <job@sobornost.net>
Sat, 16 May 2026 14:41:47 +0000 (14:41 +0000)
committerJob Snijders <job@sobornost.net>
Sat, 16 May 2026 14:41:47 +0000 (14:41 +0000)
According to RFC 9286 section 4.2.2, filenames in the RPKI cannot start
with a dot. And RFC 6481 section 1.1 describes the concept of a publication
point as a "directory in a publicly accessible filesystem". From there it
follows there is no need to transfer hidden files and directories. This may
help in avoiding exposure to intermediate states (e.g., /a/.~tmp~/b.roa).

src/config.c

index 25a5c7676a517e9e3aee0a6d87f2f793313a4991..a2afb7791cac0b42167accece58b607931477c38 100644 (file)
@@ -948,6 +948,7 @@ set_default_values(void)
 
                "--contimeout=20", "--max-size=20MB", "--timeout=15",
 
+               "--exclude=.*",
                "--include=*/", "--include=*.cer", "--include=*.crl",
                "--include=*.gbr", "--include=*.mft", "--include=*.roa",
                "--exclude=*",