The network intrusion detection system (NIDS) is used by more and more corporations for network security. It is not only useful in detecting the intrusions, but also in detecting errors in firewall configurations. Rather than skimming the surface of network traffic, it finds out the internal details of a computer network.