Briefly, an Intrusion Detection System monitors incoming packets and tries to detect both intelligent attacks and DenialOfService issues.
See: rather large list of intrusion detection systems, and an intrusion detection system FAQ.
A similar idea, ExtrusionDetection monitors outgoing packets to make sure "bad traffic" does not escape, thus preventing the operator's exposure to various men with clubs and bad attitudes. --AndrewWoods