I would like to evaluate the error-detection capabilities of TCP and compare them to CRC. Specifically, I want to generate random errors or model-based errors (I have the error model) on TCP packets and observe how the TCP checksum behaves. While I've heard that TCP checksum is weaker than CRC, I'm interested in quantifying the extent of this weakness. Can you please guide me on how to test or simulate this?
Thank you so much