device gateway sleep on bad data for ddos