Jump to content

Ban filter needs pagination

Featured Replies

Posted

Do to banning spammer Ips I filled up the ban filter and get a out of memory error when going to the ban filter.

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 24 bytes) in ips_kernel/class_db_mysqli_client.php on line 751


So I think it would be good if there was some sort of pagination so it does not try and show the whole list causing this error.

Agreed. The lists are filling up like crazy

Add vote although about once a year I go and delete banned emails and IP's that are over a year old. I reckon if the banned list gets too big it slows down your forum as visitors are constantly being checked against this list any time they do something.

3DKiwi

  • Author

Mine is 5mb and I noticed some thing new now that it is that big. It does not seem to work any more. I have had spammers post even though their Ip is in the ban filter. This is a recent thing and only just started now that I have had to add Ips via going to the phpmyadmin.

  • Author

I fixed this by moving the banned Ips to the server ban list. So now my staff are able to add new ones to the IPB ban filter and every 3 months I will move them to the server ban list.

FYI the 3.2 acp puts IP filters, email filters and name filters in separate tabs.

  • Author

That is good although it was the IP's that mainly filled it up. Over 125,000 Ips were banned.

Yikes! For every page load on the public side, it has to load up that list of IP addresses and check them against the person viewing the page. It's a wonder with that many banned addresses that your site is still working.

  • Author

Does it do the same if the Ips are in the .haccess as that is where I moved them to.

I don't know how it works at the server level, but speaking from an IP.Board perspective, a cache is kept with all banned IP addresses and that cache is loaded into memory on every page load.

  • Author

Ah well it did not effect speed that I was aware of. Then again I do have a semi dedicated account. My host does not think having that many Ips in the .haccess should be an issue so I will just go with that.

Archived

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

Recently Browsing 0

  • No registered users viewing this page.