A lightweight DDoS detection scheme under SDN context