Jump to content

The Ban Filters


Connor T

Recommended Posts

After using IPB for awhile, I've imported many email spam XMLs packs, and common IPs of spammers. Now I have soo many that when I open the page in the ACP it crashes in Firefox or lags terribly until it can load them. (Be kind, only 2gb of ram on a Pentium 4)

How much work would it be to separate them like "IP Ban Filter", "Username Ban Filter" and "Email Ban Filter" to save load times?

Link to comment
Share on other sites

Just remember, if you are banning that many IP addresses, those addresses need to be saved in the banfilters cache and reloaded on every page to check to see if the active user is in that list. That can add quite a lot of overhead if you have hundreds of IPs banned.

Link to comment
Share on other sites

[quote name='iBotPeaches' date='02 August 2009 - 10:24 PM' timestamp='1249266244' post='1837290']
After using IPB for awhile, I've imported many email spam XMLs packs, and common IPs of spammers. Now I have soo many that when I open the page in the ACP it crashes in Firefox or lags terribly until it can load them. (Be kind, only 2gb of ram on a Pentium 4)

How much work would it be to separate them like "IP Ban Filter", "Username Ban Filter" and "Email Ban Filter" to save load times?

This is a request I made back in v2.3 and had hopes it would be in v3.0. Not only make it easier to know what you are looking at, but also when you add a ban filter, it should default to the view you are on (ie, email tab, should default to email filter when you add something). I've also remade the request a couple of months ago in this specific forum (I'll try to find the topic in a few minutes).

Would also be nice to allow regular expressions for ban filters. That way you could ban a wide number of emails (or ranges of IP's) in a single swoop, which in itself would cut down on overhead. Then you could do a ban like ".*@(gmail|yahoo|aim|hotmail)\.(com|net|org|biz|info)(\.(au|uk))?" and ban those four services as well as potential scammers and clones and alternate addresses, all with one line. Of course, that's just a simple example of the power of what you could do, but it should make the point.

Would also be nice to have a "reason" area, where you can list the reason for the ban, so if you ban a specific IP/email address because it belongs to a specific person, you can remember why.


[quote name='iBotPeaches' date='03 August 2009 - 09:19 AM' timestamp='1249305546' post='1837479']
I only have 22 IPs banned. Just checked. However my reserved/blacklisted usernames and not allowed emails list is way to long to count. Some XML I imported back in 2.3 added them all and there is no real way to start fresh.

You could always use an SQL query to wipe the entire ban list clean, or just to wipe the email list clean.


Edit:
Found my topic in regards to the separate tabs...
[quote name='.Wolfie' date='08 June 2009 - 11:23 AM' timestamp='1244474631' post='1808283']
* Made this request back in the v2.2.x days. In the ACP, for the listing of bans (IP/username/email), have each in a separate tab. That way the admin can view only the list they want to see.

* For bans, allow option to use regular expressions, per ban. Default would be as it is now, but when adding a ban, admin to select to say that the ban is using a regular expression. For those who know how to use it, it would provide greater power for banning multiple objects in a single line instead of adding multiple lines.

* For bans, allow multiple lines to be entered at the same time (via option to add multiple filters at one time). Could only be one filter type at a time, such as IP or email, but could enter one ban per line, then submit all at one time.

Link to comment
Share on other sites

Amen I want a description field sooo bad. Once a partner staff of mine bans an IP address I see no reason, and myself being curious always ask them. Also, over the years I forget why I banned an IP in July 2005.

I'm all for a description field and separating them. I guess regular expressions would be cool, but the asterisks still work fine for me.

Link to comment
Share on other sites

[quote name='iBotPeaches' date='02 August 2009 - 06:24 PM' timestamp='1249266244' post='1837290']
After using IPB for awhile, I've imported many email spam XMLs packs, and common IPs of spammers. Now I have soo many that when I open the page in the ACP it crashes in Firefox or lags terribly until it can load them. (Be kind, only 2gb of ram on a Pentium 4)

How much work would it be to separate them like "IP Ban Filter", "Username Ban Filter" and "Email Ban Filter" to save load times?


This post explains how to create the Ban filters yourself :-

http://www.theperfectpage.org/bb/index.php?showtopic=6765
Link to comment
Share on other sites

[quote name='Smush1' date='04 August 2009 - 12:35 AM' timestamp='1249360530' post='1837878']
This post explains how to create the Ban filters yourself :-



He wants to be able to have the different bans types in separate tabs, not how to create bans filters.

http://www.theperfectpage.org/bb/index.php?showtopic=6765
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...