Design and Implementation of a Scalable Intrusion Detection System for the Protection of Network Infrastructure