A distributed monitoring and intrusion detection system