Mitigating DDoS using weight-based geographical clustering