mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #6269] [Feature]: درخواست اضافه شدن قابلیت محدودیت دستگاه بر اساس HWID #4254
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#4254
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @qar4al on GitHub (Aug 20, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6269
Is your feature request related to a problem?
یک پیشنهاد و درخواست مهم داشتم که میتواند سطح مدیریت کاربران را در پنل به شدت ارتقا دهد: پشتیبانی از HWID (شناسه سختافزاری) برای محدود کردن اتصال کاربران.
در حال حاضر برای جلوگیری از اشتراکگذاری کانفیگها (سوءاستفاده کاربران)، اکثراً از محدودیت IP (IP Limit) استفاده میکنیم. اما با توجه به تغییر مداوم IP کاربران موبایل هنگام جابجایی بین دکلها مخابراتی، محدودیت IP اغلب باعث مسدود شدن اشتباهی کاربران واقعی میشود و دردسرهای زیادی برای ادمینها ایجاد میکند.
همانطور که میدانید، کلاینتهای محبوبی مثل V2Box در حال حاضر قابلیتی دارند که موقع درخواست آپدیت سابسکریپشن، شناسه دستگاه را در قالب هدر X-HWID به سمت سرور میفرستند.
اگر پنل 3x-ui بتواند این هدر را دریافت، ذخیره و مدیریت کند، ما میتوانیم مشخص کنیم که هر کاربر دقیقاً روی چند دستگاه مجاز به استفاده از لینک است (مثلاً فقط ۲ دستگاه سختافزاری ثبت شده).
اضافه شدن این فیچر، 3x-ui را کاملتر کرده و یکی از بزرگترین دغدغههای ادمینها را برطرف میکند. امیدوارم این مورد را در برنامههای توسعه آینده (Roadmap) قرار دهید.
ممنون بابت وقت و انرژی که میگذارید.
Describe the solution you'd like
UI Placement:
Max Devices(integer) right next to the IP Limit field.Expected Behavior & Backend Logic:
X-HWIDheader.Max Devicesset to2, the panel will save the first two unique HWIDs that request the subscription.Database:
Currently, we rely on the
IP Limitfeature. However, this falls short because mobile networks frequently change IPs (especially with CGNAT). This causes innocent users to get blocked automatically, forcing admins to constantly unblock them. IP Limiting does not truly identify the device, whereas HWID would solve this permanently.Alternatives you've considered
No response
Concrete use case
No response
Mockups, screenshots, or examples
No response
Which parts of the panel would this affect?
No response
Are you willing to help?
Before submitting