I've managed to build the IP header. I've put the source and destination addresses in this header but it doesn't change the real source address...
I'm trying to read the ping source code but I'm lost... -- http://mail.python.org/mailman/listinfo/python-list