Malicious traffic research for early detection of DDoS attacks