I've once been scanning socks proxies, it lead to about 25,000 tested proxies within 2 days and then the ISP was shut down due to the high number of abuse mails to the uplink provider.
In smaller scale its no real problem, large scaled you can't do it on a legal server.