Building a Network Security Monitor