Introduction to Packet Structure in Scapy
Explore packet structure in Scapy and some of the crucial fields to set when building response packets to match a request.
We'll cover the following
The OSI and TCP/IP network models
Developing servers and honeypots in Scapy requires the ability to develop legitimate responses to received requests. A key part of this is understanding the various layers of a network packet and how they relate between requests and responses.
A good starting point for this is the OSI and TCP/IP models, which describe the theory of how networking stacks work. The image below compares these two models:
Get hands-on with 1400+ tech skills courses.