Detection and classification of DDoS flooding attacks by machine learning method