github IRNova/Nova-Proxy v4.7.4
Nova Proxy 4.7.4

one hour ago

Nova Proxy 4.7.4 · English

A reliability release. It fixes the reason panels were going offline with a 1101 error and not coming back.

What was wrong. A panel updates itself by downloading a new worker.js and deploying it. Two problems in that path could deploy code Cloudflare cannot start, and a panel that cannot start returns 1101 on every address. Redeploying the same version does not clear it, because the deployed file itself is broken.

  • Downloads were not checked. The updater accepted a download if it was over 1000 bytes and contained a marker that sits in the first 200 bytes of a 1.3 MB file, so a download cut short by a bad connection passed and was deployed. Nova has published a checksum for the file all along and the panel was not using it.
  • The "Obfuscated" deploy format could not work. It wrapped the panel in a form Cloudflare Workers refuse to run. The setting was stored with the panel's data, so rebuilding a panel restored it and the panel broke itself again on its next update.

What changed.

  • Every download is now verified against the published checksum, and anything that does not match is refused. Skipping an update is recoverable; deploying a broken file is not.
  • The obfuscated format is gone, and any panel still carrying the setting drops it automatically on its next update. Nothing for you to do.
  • After updating, a panel checks whether it actually came back up. If it did not, it tells its owner instead of reporting success, and it will not pass the update on to linked panels.
  • On panels using secret paths, /healthz, /install/status and the sync endpoint no longer return the version number to unauthenticated visitors.
  • The proxy does less bookkeeping per chunk of traffic, which lowers CPU use on busy connections.

If your panel is already offline. A panel already returning 1101 cannot update itself, because it cannot run any code. It needs rebuilding: use /recover in the Telegram bot. Your users, settings and password are stored separately from the code and are preserved.

Your users, settings, and data are preserved on update.


Nova Proxy ⁦4.7.4⁩ · فارسی

نسخه‌ای برای پایداری. دلیل اینکه پنل‌ها با خطای ⁦1101⁩ از دسترس خارج می‌شدند و برنمی‌گشتند برطرف شده است.

مشکل چه بود. پنل برای به‌روزرسانی، فایل ⁦worker.js⁩ تازه را دانلود و مستقر می‌کند. دو ایراد در همین مسیر می‌توانست کدی را مستقر کند که کلادفلر نمی‌تواند اجرا کند، و پنلی که اجرا نشود روی همهٔ آدرس‌ها خطای ⁦1101⁩ می‌دهد. استقرار دوبارهٔ همان نسخه هم درستش نمی‌کند، چون خودِ فایلِ مستقرشده خراب است.

  • دانلودها بررسی نمی‌شدند. اگر دانلود بیش از ۱۰۰۰ بایت بود و نشانه‌ای داشت که در ۲۰۰ بایت اولِ فایلی ⁦1.3⁩ مگابایتی قرار دارد، پذیرفته می‌شد؛ پس دانلودی که وسط راه ناقص می‌ماند هم رد می‌شد و مستقر می‌گشت. نوا از ابتدا برای این فایل checksum منتشر می‌کرده و پنل از آن استفاده نمی‌کرد.
  • قالب استقرار «مبهم‌سازی‌شده» اصلاً نمی‌توانست کار کند. پنل را در قالبی می‌پیچید که ⁦Cloudflare Workers⁩ از اجرایش خودداری می‌کند. این تنظیم کنار دادهٔ پنل ذخیره می‌شد، پس بازسازی پنل آن را برمی‌گرداند و پنل در به‌روزرسانی بعدی دوباره خودش را خراب می‌کرد.

چه چیزی تغییر کرد.

  • هر دانلود با checksum منتشرشده بررسی می‌شود و هرچه مطابقت نداشته باشد مستقر نمی‌شود. رد کردن یک به‌روزرسانی جبران‌پذیر است، مستقر کردن فایل خراب نه.
  • قالب مبهم‌سازی‌شده حذف شد و هر پنلی که هنوز این تنظیم را دارد در به‌روزرسانی بعدی خودبه‌خود کنارش می‌گذارد. کاری لازم نیست بکنی.
  • پنل بعد از به‌روزرسانی بررسی می‌کند که واقعاً بالا آمده باشد. اگر نیامده باشد، به‌جای گزارش موفقیت به صاحبش خبر می‌دهد و به‌روزرسانی را به پنل‌های متصل منتقل نمی‌کند.
  • روی پنل‌هایی که از مسیرهای مخفی استفاده می‌کنند، ⁦/healthz⁩ و ⁦/install/status⁩ و اندپوینت همگام‌سازی دیگر شمارهٔ نسخه را به بازدیدکنندهٔ ناشناس نمی‌دهند.
  • پروکسی به‌ازای هر بستهٔ ترافیک حسابداری کمتری انجام می‌دهد، که مصرف پردازنده را روی اتصال‌های پرمصرف کم می‌کند.

اگر پنلت همین حالا از دسترس خارج است. پنلی که ⁦1101⁩ می‌دهد نمی‌تواند خودش را به‌روز کند، چون اصلاً کدی اجرا نمی‌شود. باید بازسازی شود: در ربات تلگرام از ⁦/recover⁩ استفاده کن. کاربران، تنظیمات و رمز تو جدا از کد ذخیره می‌شوند و سالم می‌مانند.

کاربران، تنظیمات و داده‌های شما هنگام به‌روزرسانی حفظ می‌شوند.

Don't miss a new Nova-Proxy release

NewReleases is sending notifications on new releases.