Block Tor IP Addresses

UPDATE: This is not efficient method. Use new method available at Block Tor IP Addresses with CSF Firewall

Here is a PHP script that you can run as cronjob every 1 hour to block Tor traffic on your server.

This require csf firewall installed on your server.

Set cronjon,