Two Python scripts for managing ZFS snapshots. The first script creates timestamped snapshots of all filesystems in a zpool. The second script automatically removes snapshots older than 30 days by parsing the timestamp in snapshot names, useful for automated backup cleanup.
An exploration of ZFS send and receive commands for filesystem management and backup. Covers taking snapshots, outputting to files, combining with gzip compression and OpenSSL encryption for secure storage, using zfs receive to restore filesystems, and copying filesystems securely over SSH between systems.
A comprehensive guide to using the PF firewall on FreeBSD to block SSH brute force attacks. Covers enabling PF, creating a brute force table with tracking rules, and using pfctl commands to manage blocked IPs, providing automated protection against password guessing attempts.
A guide for creating SFTP-only users on FreeBSD that can transfer files securely but cannot log in via SSH to run commands. Covers creating a dedicated group, configuring sshd_config with chroot and ForceCommand settings, and adding restricted users.