-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #357 from outdoorbits/migrate_to_proftp
allow ftp as backup source to most targets
- Loading branch information
Showing
16 changed files
with
269 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DefaultRoot /media lbb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
LoadModule mod_tls.c | ||
|
||
SyslogLevel debug | ||
TransferLog /var/log/proftpd/proftpd.log | ||
|
||
<Limit LOGIN> | ||
AllowUser pi | ||
AllowUser lbb | ||
DenyAll | ||
</Limit> | ||
|
||
<Global> | ||
DefaultRoot ~/ !lbb | ||
Include /etc/proftpd/lbb_DefaultRoot.conf | ||
</Global> | ||
|
||
# Enable FTPS (Explicit TLS) | ||
<IfModule mod_tls.c> | ||
TLSEngine on | ||
TLSRequired on | ||
TLSProtocol TLSv1.2 TLSv1.3 | ||
TLSRSACertificateFile /etc/ssl/certs/little-backup-box.crt | ||
TLSRSACertificateKeyFile /etc/ssl/private/little-backup-box.key | ||
TLSOptions NoSessionReuseRequired | ||
TLSVerifyClient off | ||
</IfModule> | ||
|
||
# Disable SFTP in ProFTPD (handled by SSH) | ||
<IfModule mod_sftp.c> | ||
SFTPEngine off | ||
</IfModule> | ||
|
||
# Allow only TLS-protected logins (except local network) | ||
<IfModule mod_auth.c> | ||
RequireValidShell off | ||
</IfModule> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.