mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #4699] [MERGED] Fix IP limit enforcement and clarify related comments #5734
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#5734
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?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/4699
Author: @xAlokyx
Created: 5/30/2026
Status: ✅ Merged
Merged: 6/1/2026
Merged by: @MHSanaei
Base:
main← Head:main📝 Commits (4)
074394afix: keep latest IP for limit enforcement996d467chore: clarify IP limit comment24f0e73chore: clarify timestamp sorting comment5e1cf5bMerge pull request #1 from xAlokyx/copilot/fix-ip-limit-issue📊 Changes
1 file changed (+13 additions, -14 deletions)
View changed files
📝
web/job/check_client_ip_job.go(+13 -14)📄 Description
This pull request updates the logic for managing and banning excess client IPs to prioritize keeping the most recently active connections and banning older, inactive ones. This addresses an issue where stale or idle IPs were incorrectly prioritized, leading to active users being banned.
IP Ban Logic Improvements:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.