-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xban incorrect syntax bans (unknown subset of) users #14
Comments
The first issue is user error, and nothing can be done. Be very careful and review commands before executing. About the multi-ban, that's what XBan is about. It groups different usernames connecting from the same IP and an username connecting from different IPs into the same record, and bans them all as if it were one. As you see in your own excerpt, |
If you know and trust someone connecting from a banned IP (maybe it's an internet café or school network), you may whitelist his/her username(s) and XBan will let it go through (see |
I do not see how this could be by design--I will give more details. For one thing, why would you want to ban a whole IP range if you are banning one person? How would this play out on the WAN--would the whole userbase of the ISP get banned (since they would have same IP range from some WAN subnet perspective)?
In the following entry, .203 appears again, this time associated with everyone who used that computer (thefox963 and bk--I actually recall that this is correct--they are the only ones who used minetest on that computer)
|
@kaeza Hey, I hope you understood my last post. Let me know if you have any questions. All nodes where on LAN (clients and server, all on same switch, no nodes on a different side of any router) so I'm not sure how this could happen unless it is a bug. |
Further info on cause: xban apparently keeps track of IP addresses of each user. This is not reasonable to do for LAN addresses. Students may sit at a different computer every day. |
server: minetest server 0.4.15 2017-03-16 git
xban2: 2017-04-24 git
If one types
/xban mrg3 1D
accidentally instead of
/xtempban mrg3 1D
the player might see a message saying "Banned: Reason: 1D" and be permanently banned. Then many players on server (or similarly named? or recently logged in?) are banned too.
In a version of xban from about a year and a half ago (from old repo before placed in github.com/minetest-mods) also happened when several people with various names ending in numbers (or not) were logged in. In that scenario I may have banned a player who was not logged in. That seemed to ban everyone.
On both occasions I had to edit xban.db manually to resolve the issue. I'm glad this was in a human-readable text file that could be trivially edited remotely using nano or notepad++ via FTP.
In addition to mrg3, it also banned me (mrg) and mrg2 as seen in the list above and in the attached log screenshot.
Could this be anything to do with having a number after a name?
If you notice above, all of their ip addresses were banned too, though neither intended nor typed.
The text was updated successfully, but these errors were encountered: