Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+4 votes
82 views
in Q2A Core by
Hi:  I have 2 questions regarding IP Blocking via the core Spam function in Admin:

1. Let's say that i want to block spam coming from a set of IP's with similar addresses.  When blocking IP's related to 107.172.237.170, do i use one asterix or two ?  e.g.

a. 107.172.*  

b. 107.172.*.*        

2. I continue to receive spam-bot registrations from individual IP's that I've already blocked through the Admin Spam function. What could I be doing wrong here?

Thx for any help.

(ver 1.8.6)
Q2A version: 1.8.6

1 Answer

+4 votes
by

1. You need to use two asterisks. Each one will be used as a placeholder for the position it is being used.

2. This could be related to the field being extremely long. In this case, the field won't have enough space to be stored. This can be easily checked by adding new IPs and making sure they are displayed in the textbox.

Also, in order to check if the IP is being blocked or not, you can access https://yoursite.com/ip/<the-ip-address> and make sure the Matches blocked IP addresses label is displayed

by
Exactly what I needed.  Thanks so much for your assistance.
Cheers !
...