Design and Management of Collaborative Intrusion Detection Networks