From 2fa71f65e643d8bf4839f5a1721d8d2478d3732e Mon Sep 17 00:00:00 2001 From: usmannasir Date: Sun, 28 Dec 2025 15:24:04 +0500 Subject: [PATCH] update OLS module to v2.2.0 with progressive throttle - Update module checksums for all platforms (rhel8, rhel9, ubuntu) - Simplify module URLs to cyberpanel_ols.so - Fixed BruteForceAllowedAttempts parsing - Implemented progressive throttle (2s/5s/15s delays) --- install/installCyberPanel.py | 14 +++++++------- plogical/upgrade.py | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index 7210c9c62..63371c415 100644 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -327,25 +327,25 @@ class InstallCyberPanel: InstallCyberPanel.stdOut(f"Detected platform: {platform}", 1) # Platform-specific URLs and checksums (OpenLiteSpeed v1.8.4.1 - v2.0.5 Static Build) - # Module Build Date: December 27, 2025 - Phase 2 Brute Force Protection + # Module Build Date: December 28, 2025 - v2.2.0 Brute Force with Progressive Throttle BINARY_CONFIGS = { 'rhel8': { 'url': 'https://cyberpanel.net/openlitespeed-phpconfig-x86_64-rhel8-static', 'sha256': '6ce688a237615102cc1603ee1999b3cede0ff3482d31e1f65705e92396d34b3a', - 'module_url': 'https://cyberpanel.net/binaries/rhel8/cyberpanel_ols_x86_64_rhel8.so', - 'module_sha256': '90b5d9eea399503ff2a9948163e6253f049f54cbd80256a3183157b9d5f7d94b' + 'module_url': 'https://cyberpanel.net/binaries/rhel8/cyberpanel_ols.so', + 'module_sha256': '7c33d89c7fbcd3ed7b0422fee3f49b5e041713c2c2b7316a5774f6defa147572' }, 'rhel9': { 'url': 'https://cyberpanel.net/openlitespeed-phpconfig-x86_64-rhel9-static', 'sha256': '90468fb38767505185013024678d9144ae13100d2355097657f58719d98fbbc4', - 'module_url': 'https://cyberpanel.net/binaries/rhel9/cyberpanel_ols_almalinux9.6_x86_64.so', - 'module_sha256': 'a6466bc89d4a33bb0df5a8dce2887b7d0323867f525ccda1db371efcc7c64422' + 'module_url': 'https://cyberpanel.net/binaries/rhel9/cyberpanel_ols.so', + 'module_sha256': 'ae65337e2d13babc0c675bb4264d469daffa2efb7627c9bf39ac59e42e3ebede' }, 'ubuntu': { 'url': 'https://cyberpanel.net/openlitespeed-phpconfig-x86_64-ubuntu-static', 'sha256': '89aaf66474e78cb3c1666784e0e7a417550bd317e6ab148201bdc318d36710cb', - 'module_url': 'https://cyberpanel.net/binaries/ubuntu/cyberpanel_ols_x86_64_ubuntu.so', - 'module_sha256': '31f710c915e7996c8c99c09fbd20268df1ea7b8c983c2f44d9632b1e024a0a60' + 'module_url': 'https://cyberpanel.net/binaries/ubuntu/cyberpanel_ols.so', + 'module_sha256': '62978ede1f174dd2885e5227a3d9cc463d0c27acd77cfc23743d7309ee0c54ea' } } diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 304cb90df..d4134b94f 100644 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -734,29 +734,29 @@ class Upgrade: Upgrade.stdOut(f"Detected platform: {platform}", 0) # Platform-specific URLs and checksums (OpenLiteSpeed v1.8.4.1 with PHPConfig + Header unset fix + Static Linking) - # Build Date: December 27, 2025 + # Module Build Date: December 28, 2025 - v2.2.0 Brute Force with Progressive Throttle BINARY_CONFIGS = { 'rhel8': { 'url': 'https://cyberpanel.net/openlitespeed-phpconfig-x86_64-rhel8-static', 'sha256': '6ce688a237615102cc1603ee1999b3cede0ff3482d31e1f65705e92396d34b3a', - 'module_url': 'https://cyberpanel.net/binaries/rhel8/cyberpanel_ols_x86_64_rhel8.so', - 'module_sha256': '90b5d9eea399503ff2a9948163e6253f049f54cbd80256a3183157b9d5f7d94b', + 'module_url': 'https://cyberpanel.net/binaries/rhel8/cyberpanel_ols.so', + 'module_sha256': '7c33d89c7fbcd3ed7b0422fee3f49b5e041713c2c2b7316a5774f6defa147572', 'modsec_url': 'https://cyberpanel.net/mod_security-compatible-rhel8.so', 'modsec_sha256': 'bbbf003bdc7979b98f09b640dffe2cbbe5f855427f41319e4c121403c05837b2' }, 'rhel9': { 'url': 'https://cyberpanel.net/openlitespeed-phpconfig-x86_64-rhel9-static', 'sha256': '709093d99d5d3e789134c131893614968e17eefd9ade2200f811d9b076b2f02e', - 'module_url': 'https://cyberpanel.net/binaries/rhel9/cyberpanel_ols_almalinux9.6_x86_64.so', - 'module_sha256': 'a6466bc89d4a33bb0df5a8dce2887b7d0323867f525ccda1db371efcc7c64422', + 'module_url': 'https://cyberpanel.net/binaries/rhel9/cyberpanel_ols.so', + 'module_sha256': 'ae65337e2d13babc0c675bb4264d469daffa2efb7627c9bf39ac59e42e3ebede', 'modsec_url': 'https://cyberpanel.net/mod_security-compatible-rhel.so', 'modsec_sha256': '19deb2ffbaf1334cf4ce4d46d53f747a75b29e835bf5a01f91ebcc0c78e98629' }, 'ubuntu': { 'url': 'https://cyberpanel.net/openlitespeed-phpconfig-x86_64-ubuntu-static', 'sha256': '89aaf66474e78cb3c1666784e0e7a417550bd317e6ab148201bdc318d36710cb', - 'module_url': 'https://cyberpanel.net/binaries/ubuntu/cyberpanel_ols_x86_64_ubuntu.so', - 'module_sha256': '31f710c915e7996c8c99c09fbd20268df1ea7b8c983c2f44d9632b1e024a0a60', + 'module_url': 'https://cyberpanel.net/binaries/ubuntu/cyberpanel_ols.so', + 'module_sha256': '62978ede1f174dd2885e5227a3d9cc463d0c27acd77cfc23743d7309ee0c54ea', 'modsec_url': 'https://cyberpanel.net/mod_security-compatible-ubuntu.so', 'modsec_sha256': 'ed02c813136720bd4b9de5925f6e41bdc8392e494d7740d035479aaca6d1e0cd' }