Commit Graph
175 Commits
Author SHA1 Message Date
bigbong420 229ce3a0dc Debian 13 support, PHP 8.4/8.5, security hardening, install script
- Debian 13 (Trixie) compatibility:
  - Build uw-imap c-client from source (removed from trixie)
  - Fix OpenSSL 3 include paths for c-client
  - Split libnginx-mod-http-brotli package name
  - Add -lgomp and -std=c++17 to PHP CXXFLAGS
  - Fix Dovecot 2.4 config syntax in setup
  - Use 127.0.0.1 for DB (works in FPM chroot)

- PHP version updates:
  - Add PHP 8.5.4 and 8.4.19
  - Remove PHP 8.1 (EOL)
  - Update igbinary to master, imagick to 3.8.1, brotli to 0.18.3
  - Remove php-rar (unmaintained, incompatible with 8.4+)
  - setup.php uses DEFAULT_PHP_VERSION for FPM sockets
  - Users can switch PHP version from dashboard

- Security hardening:
  - CSRF tokens use bin2hex(random_bytes(32))
  - Admin password uses password_hash/password_verify
  - Session regeneration on login
  - All output escaped with htmlspecialchars
  - Nginx rewrite rules validated (flag whitelist, reject injection)
  - Path traversal protection in FileManager
  - SQL injection fix in password change
  - Security headers (CSP script-src:none, X-Frame-Options, etc)
  - Onion private keys encrypted at rest (libsodium)
  - SFTP password encrypted in session with expiry
  - Admin brute-force rate limiting
  - CSRF token on login form
  - Zero JavaScript - all pages work without JS
  - mt_rand replaced with random_int
  - Cookie secure flag precedence fix
  - PDO ERRMODE_EXCEPTION
  - Generic login error messages (no username enumeration)
  - FileManager rename validation

- Self-bootstrapping install.sh:
  - Auto-clones repo if run standalone (curl | bash support)
  - Interactive prompts or --non-interactive flag
  - Optional vanity .onion generation via mkp224o
  - Password generation or custom input
  - Credentials saved to /root/hosting-credentials.txt
2026-03-29 11:44:22 -04:00
danwin1210 4b969a11aa Remove no longer needed patch 2025-12-26 12:30:05 +01:00
danwin1210 f1176d6386 Update php-gnupg extension 2025-12-26 12:19:11 +01:00
danwin1210 5339ea15fc Bump versions 2025-10-24 11:36:37 +02:00
danwin1210 3752115a87 Reduce default instance number and add server sizing recommendation - Fixes #140 2025-10-24 11:36:37 +02:00
danwin1210 4448132081 Update mysql path 2025-10-24 11:36:37 +02:00
danwin1210 34a7fa6c4c Bump versions 2025-10-24 11:36:37 +02:00
danwin1210 4f1f11d424 Bump versions 2025-10-24 11:36:37 +02:00
danwin1210 2944588b7d Move chroot creation to jailkit 2025-10-24 11:36:37 +02:00
danwin1210 52996080ed Bump version 2025-10-24 11:36:37 +02:00
danwin1210 8380c89476 Make use of deb.sury.org nginx 2025-10-24 11:36:37 +02:00
danwin1210 a82c8b307d SVN no longer in use 2025-10-24 11:36:37 +02:00
danwin1210 80f5487465 Make use of system rspamd 2025-10-24 11:36:37 +02:00
danwin1210 83f8aff8a5 Bump version 2025-10-24 11:36:37 +02:00
danwin1210 9005cef4db Bump versions 2025-10-24 11:36:37 +02:00
danwin1210 52adeff290 Bump versions 2025-10-24 11:36:37 +02:00
danwin1210 7dff79aabd Bump versions 2025-10-24 11:36:37 +02:00
danwin1210 148ef4e33c Bump versions 2025-10-24 11:36:37 +02:00
danwin1210 2fe5f0f456 Bump versions 2025-10-24 11:36:36 +02:00
danwin1210 e2144ee46e Bump versions 2025-10-24 11:36:36 +02:00
danwin1210 7ebb8b9354 Enable more imagemagick formats 2025-10-24 11:36:36 +02:00
danwin1210 c6d1e4a827 Bump versions 2025-10-24 11:36:36 +02:00
danwin1210 59495272fe Bump versions 2025-10-24 11:36:36 +02:00
danwin1210 c3f278b7c2 Bump versions 2025-10-24 11:36:36 +02:00
danwin1210 894d66067f Bump versions and replace luajit with repository version 2025-10-24 11:36:36 +02:00
danwin1210 2a2e5891ea Remove unneeded patch 2025-10-24 11:36:36 +02:00
danwin1210 c50db4c103 Bump versions 2025-10-24 11:36:36 +02:00
danwin1210 b5ad161356 Enable hyperscan 2025-10-24 11:36:36 +02:00
danwin1210 7818f3979d Bump versions 2025-10-24 11:36:36 +02:00
danwin1210 7b239543bf Bump versions 2025-10-24 11:36:36 +02:00
DEAM0 f2fe4067a2 Update install_binaries.sh 2025-10-24 11:36:36 +02:00
danwin1210 26e5e25132 Bump version 2025-10-24 11:36:36 +02:00
danwin1210 beaa10ea6e Add php8.3 to build script 2025-10-24 11:36:36 +02:00
danwin1210 36eba86d91 Bump versions 2025-10-24 11:36:36 +02:00
danwin1210 62a1190623 Bump versions 2025-10-24 11:36:36 +02:00
danwin1210 e42dc41986 simplify quota initialization 2025-10-24 11:36:35 +02:00
danwin1210 fb5776cd1f Drop support for php8.0 2025-10-24 11:36:35 +02:00
danwin1210 f6aed9e8e5 Disable sftp subsystem so we can override it 2025-10-24 11:36:35 +02:00
danwin1210 94c81c4b5e Use system libssh2 which is now modern enough in current distros 2025-10-24 11:36:35 +02:00
danwin1210 7b174a29c0 Enable PHP SysV extensions 2025-10-24 11:36:35 +02:00
danwin1210 4b9afba92e Bump versions 2025-10-24 11:36:35 +02:00
danwin1210 b3ef79cf88 Enable http3 module 2025-10-24 11:36:35 +02:00
danwin1210 54ad281a37 Remove unused modules 2025-10-24 11:36:35 +02:00
danwin1210 0560cf6c5c Update nginx patch 2025-10-24 11:36:35 +02:00
danwin1210 2399d5b98c Bump versions 2025-10-24 11:36:35 +02:00
Daniel Winzen 2e89a55ccf Bump versions 2025-10-24 11:36:35 +02:00
Daniel Winzen aa6317ce64 Bump versions 2023-04-17 19:27:26 +02:00
danwin1210 d07fc149c1 Bump versions 2023-03-24 15:43:50 +01:00
danwin1210 9417dd6433 Bump versions 2023-03-20 21:47:29 +01:00
danwin1210 66b8179f2d Bump versions 2023-02-26 16:42:58 +01:00