GeezerVison is showing github.com — v3.10.0: Panel Apps (statistics, scan and threat detection, hardening… · BrowserlessAPI/VortexPanel@159a680
File treeExpand file treeCollapse file tree Open diff view settings Some content is hiddenLarge Commits have some content hidden by default. Use the searchbox below for content that may be hidden. Dismiss bannerExpand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: README.md +8Lines changed: 8 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -132,6 +132,14 @@ Full WordPress lifecycle management — install, manage, secure, stage, back up | 132 | 132 | - Automatic conflict detection, RHEL-family package manager support — **all 5 previously-broken RHEL install paths (nginx, MySQL, Caddy, MongoDB, PostgreSQL) fixed**, tested on both x86_64 and arm64 | 133 | 133 | - **Safe database version policy** — databases (MariaDB/MySQL/PostgreSQL/MongoDB) require uninstall-first to prevent data corruption; version switching kept for non-data modules | 134 | 134 |
| | 135 | +### 🧩 Panel Apps *(new in 3.10)* | | 136 | +Optional modules installed from the App Store, each with its own page. Every App runs separately from the panel core (own data folder, own firewall table, own service), so installing, updating or removing one never touches your websites or other Apps. | | 137 | +- **Website Statistics** — page views, unique visitors, IPs, traffic, spiders and AI crawlers, regions, pages, referrers, status codes, browsers and devices per site, with hourly trends, comparison and a live requests-per-minute view, read from the server's own access logs (no tracking script) | | 138 | +- **Network Scan Detection** — counts probes to closed ports in the kernel (nftables) and blocks port scanners automatically, with block records, real-time probe log and whitelist | | 139 | +- **Network Threat Detection** — live threat-intelligence lists (FireHOL/Spamhaus, blocklist.de, Emerging Threats, GreenSnow, abuse.ch Feodo) in monitor or block mode, plus outbound botnet detection and optional Suricata IDS | | 140 | +- **System Hardening** — monitor or lock users, SSH keys, cron, services, start-up files and your own folders; process guard for miners and reverse shells; compliance check with one-click fixes; sign-in and sudo audit | | 141 | +- **PHP Security** — Snuffleupagus runtime protection per PHP version: blocks webshells in upload folders, command injection, PHP uploads and remote inclusion, with log-only testing and trusted folders | | 142 | + | 135 | 143 | ### ⚙ Settings — redesigned card-based control center | 136 | 144 | - **Network & Access** — panel port (auto-updates firewall), custom domain, webroot | 137 | 145 | - **Panel SSL** — one-click self-signed or Let's Encrypt, validity countdown, automatic safe cutover (no downtime race conditions) | |
Collapse file Copy file name to clipboard +100Lines changed: 100 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +# VortexPanel 3.10.0 | | 2 | + | | 3 | +Panel Apps: five new security and analytics modules installed from the App Store, | | 4 | +an isolated App framework, and fixes for 19 problems found in an audit of the | | 5 | +App Store and security features. | | 6 | + | | 7 | +## New: Panel Apps | | 8 | + | | 9 | +Apps are optional modules listed in the App Store next to server software (tagged | | 10 | +**APP**). Installing one adds its own page to the panel. Each App is isolated: | | 11 | + | | 12 | +- its own data folder (`data/apps/<id>`), nftables table (`vp_<id>`), systemd units | | 13 | + (`vortexpanel-app-<id>*`) and Python package (`vpapp_<id>`) | | 14 | +- installed, updated and removed by a separate job that checks the App loads, | | 15 | + restarts the panel, waits for it to answer and puts everything back if any step fails | | 16 | +- removing an App removes its services, firewall table and locks; its settings and | | 17 | + history are kept unless you choose to delete them | | 18 | +- panel updates never change an installed App; the App Store offers an Update when | | 19 | + the panel ships a newer version of it | | 20 | + | | 21 | +The five Apps: | | 22 | + | | 23 | +| App | What it does | | | 24 | +|---|---| | | 25 | +| Website Statistics | Visitors, page views, IPs, traffic, spiders and AI crawlers, regions, pages, sources, status codes, clients, error log; hourly/daily trends with comparison; live requests per minute | | | 26 | +| Network Scan Detection | Counts probes to closed ports in the kernel and blocks scanners (sliding window + distinct ports), block records, real-time probe log, whitelist | | | 27 | +| Network Threat Detection | Threat-intelligence lists in monitor or block mode, outbound botnet (C&C) detection, IP lookup, optional Suricata IDS with Emerging Threats rules | | | 28 | +| System Hardening | Monitor or lock users, SSH, cron, services, start-up files, binaries and custom folders; maintenance pause; process guard; compliance score with fixes; sign-in/sudo audit | | | 29 | +| PHP Security | Snuffleupagus (pinned, commit-verified) built per PHP version; block / log-only / off per rule; trusted folders; events with script, line and visitor | | | 30 | + | | 31 | +No App ever blocks an address an administrator signed in from in the last 7 days. | | 32 | + | | 33 | +## App Store: one-click updates | | 34 | + | | 35 | +- "Update available" is now a button. It opens a dialog that lists the packages | | 36 | + and their versions, and installs the update in place on the same version | | 37 | + track (configuration files kept, running services restarted once). | | 38 | +- The badge is shown only for updates this server can actually install: what | | 39 | + its own package sources (apt / dnf) offer for that software's packages. The | | 40 | + old badge compared with the newest upstream release, so Python showed | | 41 | + "3.12.16" on Ubuntu, which only ships 3.12.3 builds, and nothing could | | 42 | + install it. Distribution fixes with the same version number are shown as | | 43 | + "Security update". Package lists refresh in the background every 6 hours. | | 44 | +- Works for Docker, Python, PHP (all installed versions), Nginx, Apache, | | 45 | + OpenLiteSpeed, Caddy, MySQL, MariaDB, MongoDB, PostgreSQL, Redis, Node.js, | | 46 | + Pure-FTPd, Fail2ban, Postfix, ClamAV, BIND, Supervisor and Memcached; | | 47 | + Composer updates itself with `composer self-update`. | | 48 | +- PHP: the "Add version" list no longer offers versions that are already | | 49 | + installed (those are updated with the badge), so a PHP row never shows | | 50 | + "update" and "install 8.5" for the same version. | | 51 | +- Version lists show plain versions; the word "recommended" is gone. The | | 52 | + suggested version is still pre-selected. | | 53 | +- Version pickers are only as wide as their text and sit on one line with the | | 54 | + Install button; version badges no longer stretch across the status column. | | 55 | +- BIND9 shows real versions (from isc.org): 9.20.30 current stable and | | 56 | + extended support (ISC PPA bind-esv), 9.21.27 development (ISC PPA bind-dev), | | 57 | + 9.18 end of life (distribution package). The old "Current stable" entry | | 58 | + without a version is gone. | | 59 | + | | 60 | +## Fixed | | 61 | + | | 62 | +- **Python/PHP uninstall** could remove the system's own Python (`version: "3"`) or | | 63 | + every PHP version (`version: "-common"`); the version must now be a real `X.Y`. | | 64 | +- **Uninstalling ModSecurity** left `modsecurity off;` in the panel's own site configs | | 65 | + (`/etc/nginx/vortex`), so the next nginx reload failed. | | 66 | +- **ufw deny/reject rules** were appended below existing allow rules and never applied; | | 67 | + they are now inserted first (`ufw prepend`, with fallbacks). Blocking an IPv6 | | 68 | + address from the SSH sign-ins page works on ufw. | | 69 | +- **firewalld**: rule changes used `--reload`, which silently dropped every fail2ban ban; | | 70 | + changes are now applied permanently and at runtime without a reload. "Limit" on | | 71 | + firewalld is a real rate limit instead of a plain allow. | | 72 | +- **App Store "Nginx Load Balancer"** entry removed: it could not install, showed as | | 73 | + installed whenever Security > Load Balancer was configured, and its Uninstall deleted | | 74 | + that live configuration. | | 75 | +- **Load balancer**: re-saving reset the domain, port and cookie name; a nameless | | 76 | + balancer on port 80/443 captured every unmatched request (a domain is now required | | 77 | + there); the health checker marked backends without a port, IPv6 backends and unix | | 78 | + sockets as down; the TCP balancer accepted ports already in use; the health-check | | 79 | + script is refreshed when it changes; saves and health rewrites no longer race. | | 80 | +- **Website Anti-CC jails** counted CSS, JS, images and fonts, banning ordinary visitors; | | 81 | + static files are ignored and the default limit is 120 requests per 60 s. | | 82 | +- **Malware scan** was reported as stopped during long ClamAV runs and a second scan | | 83 | + could start; the scan now keeps its heartbeat while it runs. | | 84 | +- **WAF**: deleting the last region rule disabled country conditions in custom rules; | | 85 | + 1,000+ blacklisted IPs collided with other rule IDs (IPs are grouped, lists capped); | | 86 | + concurrent WAF and load-balancer saves no longer overwrite each other. | | 87 | +- **ModSecurity v2 on RHEL-family** servers is wired into Apache and detected as installed. | | 88 | +- **Viewer role** can no longer read server logs (auth, mail) through the Monitoring API. | | 89 | +- **App Store** showed MySQL as unavailable when PostgreSQL or MongoDB was installed; | | 90 | + the page now uses the server's conflict rules (only MySQL and MariaDB exclude each other). | | 91 | +- **Plugins** can no longer shadow the panel's own Python modules or each other's, and | | 92 | + a plugin's entry file must be inside its folder. | | 93 | +- **Plugin pages** (Hosting Accounts and Apps) were rebuilt every time another plugin page | | 94 | + loaded, which reset what the admin was doing on them. | | 95 | + | | 96 | +## Upgrade | | 97 | + | | 98 | +Upload `vortex_upgrade_3.10.0.py` to `/root/` and run `python3 /root/vortex_upgrade_3.10.0.py`. | | 99 | +It upgrades from 3.9.3. Apps are not installed automatically: open App Store and install | | 100 | +the ones you want. |
Collapse file Copy file name to clipboardExpand all lines: RELEASE_NOTES_v3.9.3.md -25Lines changed: 0 additions & 25 deletions Collapse file Copy file name to clipboard +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | | -3.9.3 | | 1 | +3.10.0 |
Collapse file Copy file name to clipboardExpand all lines: app.py +10-1Lines changed: 10 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 73 | 73 | from panel.routes.alerts_routes import alerts_bp | 74 | 74 | from panel.routes.plugins_routes import plugins_bp | 75 | 75 | from panel.routes.python_projects import python_bp | | 76 | +from panel.routes.apps_routes import apps_bp | 76 | 77 |
| 77 | 78 | # -- Secret key: auto-generate and persist on first run ----------------------- | 78 | 79 | _SECRET_KEY_FILE = '/opt/vortexpanel/secret.key' | @@ -243,7 +244,7 @@ def create_app(): | 243 | 244 | settings_bp, modules_bp, main_bp, security_bp, bandwidth_bp, | 244 | 245 | caddy_bp, cdn_bp, update_bp, ai_bp, ddns_bp, cloud_backup_bp, | 245 | 246 | logs_bp, wp_bp, nodejs_bp, go_bp, import_bp, livepatch_bp, | 246 | | - onboarding_bp, disk_bp, users_bp, storage_bp, alerts_bp, plugins_bp, python_bp, acme_bp, migration_bp, botprot_bp, licence_bp]: | | 247 | + onboarding_bp, disk_bp, users_bp, storage_bp, alerts_bp, plugins_bp, python_bp, acme_bp, migration_bp, botprot_bp, licence_bp, apps_bp]: | 247 | 248 | app.register_blueprint(bp) | 248 | 249 | # Add-on modules from /opt/vortexpanel/plugins. Each is loaded inside its | 249 | 250 | # own try/except: a broken or incompatible plugin is skipped and reported, | @@ -440,6 +441,14 @@ def enforce_authentication(): | 440 | 441 | if not check_ip_and_session(): | 441 | 442 | return jsonify({'ok': False, 'error': 'Unauthorized'}), 401 | 442 | 443 | u = g.get('vp_user') or {} | | 444 | + if u.get('role', 'admin') == 'admin': | | 445 | + # Apps (Scan Detection, ...) never block an address an admin works from. | | 446 | + try: | | 447 | + from panel.appkit import remember_admin_ip | | 448 | + from panel.routes.auth import _client_ip as _vp_cip | | 449 | + remember_admin_ip(_vp_cip()) | | 450 | + except Exception: | | 451 | + pass | 443 | 452 | if u.get('role', 'admin') != 'admin': | 444 | 453 | from panel.users import is_allowed | 445 | 454 | body = None | |
Collapse file Copy file name to clipboardExpand all lines: app_catalog.json +6-24Lines changed: 6 additions & 24 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 259 | 259 | "desc": "Industry standard authoritative DNS server", | 260 | 260 | "versions": [ | 261 | 261 | { | 262 | | - "label": "Current stable (ISC PPA isc/bind)", | 263 | | - "value": "9.22" | 264 | | - }, | 265 | | - { | 266 | | - "label": "9.20.30 (Extended support - ISC PPA isc/bind-esv)", | | 262 | + "label": "9.20.30 (current stable, extended support)", | 267 | 263 | "value": "9.20", | 268 | 264 | "recommended": true | 269 | 265 | }, | 270 | 266 | { | 271 | | - "label": "9.18 (Ubuntu/Debian package - upstream support ended Jun 2026)", | | 267 | + "label": "9.21.27 (development)", | | 268 | + "value": "9.21" | | 269 | + }, | | 270 | + { | | 271 | + "label": "9.18 (end of life, distribution package)", | 272 | 272 | "value": "9.18" | 273 | 273 | } | 274 | 274 | ] | | 427 | 427 | } | 428 | 428 | ] | 429 | 429 | }, | 430 | | - "nginx-lb": { | 431 | | - "name": "Nginx Load Balancer", | 432 | | - "desc": "Configure Nginx upstream load balancing (Round Robin, Least Conn, IP Hash)", | 433 | | - "versions": [ | 434 | | - { | 435 | | - "label": "Round Robin (Default)", | 436 | | - "value": "roundrobin" | 437 | | - }, | 438 | | - { | 439 | | - "label": "Least Connections", | 440 | | - "value": "leastconn" | 441 | | - }, | 442 | | - { | 443 | | - "label": "IP Hash (Sticky)", | 444 | | - "value": "iphash" | 445 | | - } | 446 | | - ] | 447 | | - }, | 448 | 430 | "cdn": { | 449 | 431 | "name": "CDN Manager", | 450 | 432 | "desc": "Connect Cloudflare, BunnyCDN, Akamai, CloudFront, KeyCDN, StackPath, Google CDN, Sucuri", | |
|