هک مسدود کردن Advanced IP Ban Manager - IP
آخرین زمان حضور: Sep 2015
What is it/What does it do?
This is intended as a replacement for the ip bans under vbulletin options. It allows for timed ip bans, cidr ranges and attatching reasons to bans.
It also features registration only ip bans allowing members who may be effected by an ip ban to continue using the forums, but blocking registrations and ip ban exempts so that you can ban a large range of ips and let through a smaller subset of them.
- Ip bans
- Timed ip bans
- Ip ban exempts
- Registration only bans
- Ban by cidr range
Upload files from zip.
Once Version 0.3 is installed; upload the attached php file into your admin cp to replace the one already there. This file fixes a couple of minor issues for some people.
Added a work around for issues of 0.0.0.0 ips being banned on any system where ip2long returned a signed int instead of an unsigned int.
Fixed bug where ip bans wouldn't block registrations unless set to registration only.
Added file with a list of common spambot ips that can be auto banned.
Changed limit on cidr range from 16 to 4 As i often came across instances where i wanted to ban larger ranges
Added a bitfield rebuild to installer to fix issues with menu not showing.
Fixed bug in instal code.
Added admin permissions and exempt bans
This has been tested on 3.7.2 but should work on 3.6.x, 3.7.x and 3.8.x
Access is now controlled by an admincp permission however no control over ip banning is done.
This variable can be used in the config file to prevent banning any ip/range of ips that contain the ips listed in it: $config['SpecialUsers']['unbannableips'] = "127.0.0.1|127.0.0.2";
Ips should be separated by a | symbol. This will not effect any bans that are already in place.
Bans are limited to a cidr range of 4. (This should be more than enough) If you require a ban that covers more than this, it should be set in the database. If there is demand for it, I may make the cidr limit optional/changable in future versions.
Exempts/bans work by taking the tightest cidr range match. eg if you ban 127.0.0.1/16 and add an exempt for 127.0.0.1/24 the exempt will take precedence, however adding another ban against 127.0.0.1/32 would override the exempt.
When uninstalling, the mod will remove the modifications to the admin table, however it is upto you to drop the ###ans table yourself. This has been done in order to preserve the data in that table incase you still want it for something.
I've added a file which was created by a member of my admin team, it contains a large list of ip addresses from which A lot of malignant traffic seems to come from. If you are having trouble with spam bots this list may help in preventing them from registering. To use the file visit the url : <your forum url>/admincp/###an.spambots.php It will ask you to log in to your cp then display a blank page; this is to be expected as all its doing is inserting into the database. It will add ap####imately 140 bans; so they've been coded NOT to show up in the ip ban list. This feature is something i plan to expand on with a full interface for viewing, creating, adding and removing ip blocklists, but for now this mechanism is what i've come up with.
Support is now offered as this is a beta release. I'll be checking vborg from time to time but for critical support issues, you are best contacting me on my own forums.
I'm hoping that this version (0.3) is bug free, so this can be considered a release candidate version.