Crafting an HTTP Response Packet
Learn how to craft a valid response to an HTTP request packet.
We'll cover the following...
Defining HTTP response packets
HTTP traffic is carried over TCP. As a result, an HTTP server or honeypot will need to be capable of maintaining the connection by sending SYN/ACK and ACK packets to acknowledge receipt of the client's requests.
However, the HTTP server must also respond to the client’s actual request for a web page. To do so, it needs to be able to build an HTTP response packet.
HTTP responses in Scapy
HTTP is an ...