• Resolved de_st

    (@de_st)


    Hello!

    At first, thank you very much for this awesome plugin!

    Some of my users are reporting that they have problems being locked out immediatly after trying the first time.

    In your code I found this line during the check:
    $class_c = substr ($ip, 0 , strrpos ( $ip, "." )

    As far as I can read php code, once a IP adress like 122.124.125.123 is blocked, everyone else with the ip 122.* is blocked too. This is a very high security standard, which is not needed on my site.

    Maybe you can add an option, where you can determine which IP range should be blocked?

    Many thanks in advance!

    Kind regards,
    Lars

    https://www.ads-software.com/plugins/login-lockdown/

Viewing 9 replies - 1 through 9 (of 9 total)
  • No, it’s the other way. strrpos starts from the end of the string, not the beginning. In your example it locks out everyone from 122.124.125.*.

    Are the ones reporting this all on the same network?

    -Michael

    Thread Starter de_st

    (@de_st)

    Thanks for the quick reply and the clarification.

    No, they have all different IP adresses and different ISPs. But I noticed a strange IP adress which gets locked constantly. Maybe it is the same problem mentioned in this thread?

    https://www.ads-software.com/support/topic/repeatedly-locking-me-out?replies=9

    Thread Starter de_st

    (@de_st)

    Unfortunately blocking some IP adresses didn’t solve the problem. Users report that they cannot login due to blocked IP Range. Do you have any clues?

    Thanks!

    Thread Starter de_st

    (@de_st)

    Another info: This IP was responsible for blocking the IP Range: 24.154.70.196

    The others IP adresses were 217.244.121.* and 178.25.154.*

    Do the ips blocked match what you see in the dashboard?

    -Michael

    Thread Starter de_st

    (@de_st)

    No, they are not the same and didn’t showed up in the dashboard – not even close to a range. As mentioned above the IP 24.* blocked the other twos.

    Thread Starter de_st

    (@de_st)

    Sorry that I ask again, but this issue is serious and it occurs at the moment at a very short frequent time.

    Do you have any points I can check?

    @de_st sorry for the overly long delay in replying. I just updated the plugin, are you still experiencing this issue?

    -Michael

    Thread Starter de_st

    (@de_st)

    Mi Michael,

    many thanks for the update! It works fine for me. Didn’t had a single issue in the last couple of months.

    Thanks again for the support!

    All the best,
    Lars

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Determine IP Range’ is closed to new replies.