Preliminary implementation of DoS detection