An intrusion detection system inspects traffic as it flows past a sensor, deciding โ per packet, in real time โ whether it looks malicious. This simulator streams a mix of benign, known-attack and novel-attack packets through a 3D sensor gate and lets you switch the detector between two real strategies: signature matching, which recognizes cataloged attack patterns with high precision but is blind to anything new, and anomaly scoring, which flags statistical outliers in packet size against a learned baseline and can catch zero-days at the cost of more false alarms. Tune the sensitivity threshold and the attack mix to watch the true-positive and false-positive rates respond, then flip on IPS mode to see flagged packets actively blocked at the wire instead of merely logged.