Configuring Network-based IDS and IPS Devices