while a network-based intrusion detection system