Least CPU intensive way to block IP's?

Just thinking out loud what would people say is the least CPU intensive way to block IP's?

Either

iptables -A INPUT -s <ip> -j DROP

or

route add <ip> gw 127.0.0.1

(assume linux)

Rus

 

 

 

 

Top