BFM: Speed improvement on reading show_blocked_ips.sh

Version 1.5

Feature
Finished

For anyone who is using the Brute Force Monitor and has set their "unblock" time to a very high value, your blocked IP list may get quite large. In that case, DA may have troubles reading this over-sized file in a timely manner, possibly causing a timeout on the BFM page. In debug mode, you'd see this as the last output before it hangs: ServerInfo::fill_brute_force_tokens : have blocked_ips Fix was to change the sorting method of the container class.

Interested to try DirectAdmin? Get a 30-day Free Trial!