Moving IP attackers to whitelist

So, I have a serious problem that I need solved ASAP. When I am scanning my hosting server with nmap inside of msfconsole, it moves IP attackers to a whitelist, allowing them to continue attacks. How can I fix this?