banned ip and banned email search algorithm?
#1
The mechanisms in place to help keep the forum spam free are really fantastic.

I'm getting 5-10 blocks a day.  When my Spam Log shows a new attempt which has been blocked by the Stop Forum Spam lookup, I usually add that IP to the list of Banned IP's and sometimes add the email, or email domain to the list of Banned Email addresses.  As a result, these lists are starting to get to be somewhat long.  (If someone is particularly obnoxious - I just block the IP at my firewall).

How is the lookup of a banned IP or email done?  Is it a linear search through the list or a hash table, or some other function?  If it's a linear search - at what size of list do people start to see performance degradation on the forum?  Should I be concerned about the list getting too long and think about actively trimming it, or is that not a concern?

Thanks.
Reply
#2
Related: https://github.com/mybb/mybb/issues/3878, https://github.com/mybb/mybb/issues/3876
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)