• Resolved Vlada Smitka

    (@smitka)


    Hi,

    I found there is an internal IP whitelist for the well known services like Wordfence itself, Sucuri, Uptimerobot, Facebook etc.

    There are 507 subnets on this list currently and it is processed 3 times in my case = 1521 IP checks. It takes around 60ms on my testing (not very powerful) VPS and so it is one of the most demanding operations on my site.

    View post on imgur.com

    I realized it is possible to merge many smaller CIDR subnets to the bigger one. I tried it with https://github.com/grelleum/supernets and the result is the same list, but it has only 203 lines = 2.5x better performace.

    The results:
    https://gist.github.com/lynt-smitka/95c532b279f7e58e1696703c0025c4d7

    It would be great to implement it.

Viewing 1 replies (of 1 total)
  • WFGerroald

    (@wfgerald)

    Hey @smitka,

    Thanks for sharing this. I can definitely add it as a feature request! Though lists like these tend to be dynamic, so it can be difficult to keep up with. And if they’re whitelisted within the plugin it means we 100% trust and back it.

    Please let us know if anything else comes up.

    Thanks,

    Gerroald

Viewing 1 replies (of 1 total)

The topic ‘Whitelisted Services list optimization’ is closed to new replies.