Network Analysis Using Wireshark 2 Cookbook - Second Edition
by Nagendra Kumar Nainar, Yoram Orzach, Yogesh Ramdoss
How it works...
Checksum is an error-checking mechanism that uses a byte or sequence of bytes inserted in the packet to implement a frame verification algorithm. The principle of error-checking algorithms is to calculate a formula over the entire message (layer 4), packet (layer 3), or frame (layer 2). They insert the result in the bytes inside the packet, and when the packet arrives at the destination, they calculate it again. If we get the same result, it is a good packet, and if not, there is an error. The error-checking mechanism can be calculated over the entire packet or over just the header; it depends on the protocol.
Offload mechanisms are mechanisms on which the IP, TCP, and UDP checksums are calculated on the NIC just before they ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access