The State of the Art in Intrusion Prevention and Detection