Detection of Attacks and Attack-survivable Routing in Carrier Networks