Protection against DDoS attacks and botnet detection