A huge network of more than 3 million devices has been disrupted in an operation targeting DDoS botnets.