General Procedure
- Raw socket must be created
- Create the ethernet header in memory
- Create the IP header in memory
- Create the TCP header in memory
- Create the data in memory
- Assemble the headers and data together (concatenate) to form the packet
- Send the packet out through the raw socket
Read more about this topic: Packet Injection
Famous quotes containing the word general:
“The General Order is always to manoeuver in a body and on the attack; to maintain strict but not pettifogging discipline; to keep the troops constantly at the ready; to employ the utmost vigilance on sentry go; to use the bayonet on every possible occasion; and to follow up the enemy remorselessly until he is utterly destroyed.”
—Lazare Carnot (17531823)