mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #3948] [MERGED] revert: Disconnect client due to exceeded IP limit #5569
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#5569
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/3948
Author: @HamidRezaSZ
Created: 3/18/2026
Status: ✅ Merged
Merged: 4/19/2026
Merged by: @MHSanaei
Base:
main← Head:fix/ip-limit📝 Commits (10+)
5a6fb40fix: Ban new IPs with fail2ban instead of disconnected the client.0b1d27bfix: Remove unused strconv import537f8d4fix: Revert log fail2ban format588f0c4Merge branch 'main' into fix/ip-limit8b6ff26fix: Disconnect the client to remove the banned IPs connectionsaed05fafix: Fix getting the xray inbound api port334e103fix: Run go formattere718679fix: Disconnect only the supported protocols clientaaabeebfix: Ensure the required "cipher" field is present in the shadowsocks protocold34e95efix: Log the errors in the resolveXrayAPIPort function📊 Changes
1 file changed (+133 additions, -0 deletions)
View changed files
📝
web/job/check_client_ip_job.go(+133 -0)📄 Description
What is the pull request?
I think this commit was a good idea to temporarily disconnect the client and close the old banned IPs. I reverted it and also fixed this issue with retrieving the Xray API inbound port and remove only the client of the inbounds with the supported protocols.
Which part of the application is affected by the change?
Type of Changes
Screenshots
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.