Packet injection is the process of interfering with an established network connection by constructing arbitrary protocol packets (TCP, UDP, ...) and send them out through raw sockets
it's used widely in network penetration testing such as DDoS, TCP reset attacks, port scanning...
A Packet is a combination of IP header, TCP/UDP header and data:
Packet = IP Header + TCP/UDP Header + Data
Most operating systems that implements socket API supports packet injection, especially those based on Berkeley Sockets. Microsoft limited raw sockets capabilities to packet sniffing, after Windows XP release. This tutorial is implemented on Unix-Like operating systems.
more here.............http://www.pythonforpentesting.com/2014/08/tcp-packet-injection-with-python.html
it's used widely in network penetration testing such as DDoS, TCP reset attacks, port scanning...
A Packet is a combination of IP header, TCP/UDP header and data:
Packet = IP Header + TCP/UDP Header + Data
Most operating systems that implements socket API supports packet injection, especially those based on Berkeley Sockets. Microsoft limited raw sockets capabilities to packet sniffing, after Windows XP release. This tutorial is implemented on Unix-Like operating systems.
more here.............http://www.pythonforpentesting.com/2014/08/tcp-packet-injection-with-python.html