[Full-disclosure] Packet alteration et modification


Since February, our teacher has introduced us to network packet analyzing.
We created tools to sniff packets, create packets, inject packets (thks to
Libpcap and Libnet) and now we have to code a network packet alteration
tool. My goal is to start doing an alteration of simple inbound and outbound
UDP packets then start working on TCP packets, but I found no portable
library to do that easily.

Do anyone know how to perform an alteration of specific packets (UDP or TCP)
in C or Python?
Does Libnet (http://www.phrack.org/phrack/55/P55-06) allow to do that?

I know I can also create a proxy tool that can modify packets but I prefer
doing the project without having to deploy a proxy in the LAN of the

Samuel _______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/