• Generally I like the plug-in, and I’m using the Reloaded version.
    On the Logs tab, the Blocklist help shows “One IP or IP range (1.2.3.4-5.6.7.8) per line”. But I find that when I put in a range of IPs, they aren’t getting blocked. For example, I entered “93.157.29.001-999”. If I enter the IPs like this “93.157.29.1-999”, without the leading zeros, I get the error “The ‘93.157.29.1-999’ IP range is invalid”. But I still get attempts from 93.157.29.193.
    And are wildcards possible? Like 93.157.29.*?
    Lastly, can multiple ranges be used in one line such as: 193.157.1-999.1-999?
    Thanks.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • The documentation is poor on this topic. To define a range you’ll want to write it like this:

    93.157.29.0/254

    This would indicate that you want to block all IPs starting with 93.157.29 and then any variation between 0 and 254 for the 4th decimal notation.

    Multiple ranges should be on their own line, ex:

    193.157.0/254.0/254
    192.156.1.0/254

    Hope this helps.

    Thread Starter michel1177

    (@michel1177)

    Thank you. I shall update some of the entries with hope that it works.

    Do the new IPv6 work the same way? Is there a way to block those in a similar fashion? I have at least two entries in the log that are:
    2604:a880:400:d0::1788:6001
    2604:a880:400:d0::1792:5001
    only the last four digits are different. Might 2604:a880:400:d0::1788/1792:5001/6001 work?
    Thanks again.

    Yes, it is the same way, but if you do not understand the hexadecimal syntax structure of an IPv6 you could find yourself performing inadvertent blocks. Since you only have two IPv6 addresses, I would manage them individually.

    Andrew M

    (@andrewlmacaulay)

    As I want to block large IPv6 ranges, can you also use the CIDR format e.g. 2100::/8 for 2100:: to 21ff:ffff:ffff:ffff:ffff:ffff:ffff:fff or for smaller ranges e.g. 2001:4d48:cd21:8500::/56 for 2001:4d48:cd21:8500:: to 2001:4d48:cd21:85ff:ffff:ffff:ffff:ffff?

    If not CIDR, can you provide examples of how to map CIDR addresses to the format that can be used in the plugin settings.

    OR would 2100::/8 be 2100/21ff:0/ffff:0/ffff:0/ffff:0/ffff:0/ffff:0/ffff:0/ffff

    Thanks

    • This reply was modified 2 years, 7 months ago by Andrew M.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Range of IP addresses’ is closed to new replies.