With the tremendous growth of various web applications and network based services, network security has become an alarming issue in the vicinity of IT engineers. As the numerous amazing services come to the clients, so does the extensive growth of hackers on the backend. Intrusion poses a serious security risk in the networking environment. Too often, intrusion arises havoc in LANs and heavy loss of time and cost of repairing them. It is said that \"Prevention is better than cure\", so Intrusion Prevention Systems (IPS) and the Intrusion Detection System (IDS) are used.