Text this: Optimal path identification to defend against DDoS attacks