Understanding denial of service attack (DoS)