Impact of Denial-of-Service in security protocols