I am currently new to this field and did some research on raw socket programming and packet injection and sniffing but could come across my requirement which is to inject a packet with ESP
and AEH
headers. (To intercept an insecure packet and apply either ESP
or AEH
).
The tutorials I found mostly talks about injecting packets into networks/ altering the header such as, https://gist.github.com/securitytube/5325122 , http://www.youtube.com/watch?v=V6CohFrRNTo , how to modify packet header(IP header, TCP Header) before the host send them into the network . I must be looking at the wrong topics.
I would be really grateful if you experts could point me to any API or opensource project that could be used to perform this task.