Skip to content

X-NET v1.4.4

Choose a tag to compare

@xpanel-cp xpanel-cp released this 11 Oct 11:54
· 5 commits to main since this release

Reseller Quotas, Permissions & Usage Management

  • Fixed a quota-bypass gap on renewal: a reseller already over their account/traffic limit (e.g. after an admin lowered it) could previously keep renewing or re-activating existing accounts indefinitely. Renew and Activate now re-check the quota.
  • Deleting an account no longer frees up quota. Traffic already consumed by a deleted SSH/VPN account now stays counted against the reseller permanently, via a new persistent ledger — closing a loophole where repeated create/delete cycles let a reseller exceed their real allocation.
  • New per-reseller permission controls, independently configurable without granting full inbound/node management access:
    • Allow/deny deleting their own accounts (defaults to the existing behavior for current resellers).
    • Restrict which VPN inbounds a reseller may use.
    • Restrict which SSH protocols a reseller may offer.
  • VPN client deletion is now available to Resellers for their own accounts (previously Super Admin only), gated by the new delete permission.
  • System Administrators tab: new Allocated / Consumed / Remaining traffic columns per reseller, and a Super-Admin-only Reset usage action to clear a reseller's deleted-account traffic credit (never touches live accounts or history).
  • Full Persian / English / Russian / Chinese translations for all new UI text.
  • API Documentation Improvements

Security hardening

  • Fixed a fail-open bug where unreadable or malformed permission data (e.g. a stale session for a deleted admin) could grant unrestricted access instead of being denied.
  • Fixed a race condition that could double-count a deleted account's traffic credit under concurrent duplicate delete requests.
  • Closed a gap where re-activating a suspended account could bypass the over-quota check that renewal already enforced.

UI fixes

  • Fixed unreadable/invisible button and status-pill colors in dark mode across the System Administrators table and several action buttons (caused by invalid color codes that silently failed to render).
  • Fixed table column headers breaking mid-word across several pages.
  • Fixed a corrupted Persian translation for "Unlimited".
  • Fixed black/near-black card borders incorrectly appearing in light mode.
  • Fixed unreadable hover-state text on several buttons in dark mode.
  • Terminal/log/code preview panels (system logs, SSH config preview, API sandbox, import & bulk-create logs, certificate console) now properly follow light/dark theme instead of always rendering dark.

Upgrade notes

apt update
bash <(curl -fsSL https://raw.githubusercontent.com/xpanel-cp/x-net/main/install/xnet.sh)