Blocking Chinese (or whatever) IPs because they are responsible for a huge amount of malicious behavior is not racist.
Frankly I don’t care what the race of the Chinese IP threat actor is.