[sftp] enabled = true port = 2023 base_path = "/Users/accusys/momentry/var/sftpgo/data" auth_db_path = "data/auth.sqlite" max_connections = 100 [performance] path_cache_size = 10000 chunk_size = 65536 # 64KB for streaming connection_pool_size = 10 max_open_files = 1000 max_open_dirs = 100 [security] require_path_validation = true audit_logging = true path_traversal_protection = true symlink_check = true [logging] level = "debug" audit_log_path = "logs/sftp_audit.log" [resource] file_timeout_seconds = 300 # 5 minutes dir_timeout_seconds = 600 # 10 minutes cleanup_interval_seconds = 60 # Cleanup every minute [rsync] enabled = true block_size = 4096 # Block size for delta algorithm compression = true compression_level = 6 # zlib level (1-9) checksum_algorithm = "md5" # MD5 for compatibility max_file_size_mb = 10240 # 10GB max file size delta_enabled = true # Enable delta algorithm rolling_checksum = true # Enable rolling checksum protocol_version = 30 # rsync protocol version hash_table_size = 10000 # Hash table size for block matching max_block_count = 1000000 # Maximum block count