Protocol-based Intrusion Detection System