How to create package with errors

20 views
Skip to first unread message

fikretgu...@gmail.com

unread,
Apr 25, 2019, 4:32:18 AM4/25/19
to Pcap.Net Q&A
Hi all,

In my project, I should send some packages (with errors) to test receiver. I will send packages with errors as a sender, then my receiver send me package back that "This package is wrong"
So I want to create;

- Ethernet packages larger than 1500 bytes
- Ethernet packages smaller than 64 bytes
- Wrong CRC value

When I try these situations, I only achieve sending package smaller than 64 bytes. (PcapDotnet was able to do this)

How can I send ethernet packages larger than 1500 bytes?
How can I set CRC with wrong value?

Thanks in advance.

Boaz Brickner

unread,
Jun 21, 2019, 2:27:53 AM6/21/19
to Pcap.Net Q&A
Hi,

Can you provide an example .pcap file with packets you'd like to create using Pcap.Net?
The Ethernet header doesn't contain CRC.
You can create Ethernet packets with big payloads, but when sending them they might be broken to smaller packets by your system.

I hope this helps,
Boaz.
Reply all
Reply to author
Forward
0 new messages