The IP Protocol injected, inspected, detected, infected - Part II
[Click here to start]
This lecture is also available in
one big HTML file
.
Table of contents
The IP Protocol injected, inspected, detected, infected - Part II
IP Injection - This is raw stuff, human!
Creating Raw Sockets
Sending A Packet Via The Raw Socket
Sending A Packet Via The Raw Socket (Cont.)
Receiving Packets Using A Raw Socket
Parse The Received Packet
Parse The Received Packet (Cont.)
Creating The IP Header Too
Netfilter, ip_queue And Netlink
Defining The Iptables Rule
The 'ipq' Library
Initializing libipq
Reading Packets From The Queue
"Judging Them Little Buggers"
A Packet Reading Loop
References
IP Queue code
Ping code
Back to the Club's main page
Originally written by
guy keren