in reply to LWP User Agent - SPOOF IP in req header

How can you spoof the IPaddr in the HTTP request header using LWP::User Agent?

The IP address you want to set is in the TCP/IP envelope that the HTTP request header arrives in. You can't get at this from LWP.

To forge an IP address, you may need some way to build and ship your own TCP/IP packets. Perhaps someone with more knowledge of network protocol stacks can speak to how you might do this. Details will vary depending on what OS you're using.

  • Comment on Re: LWP User Agent - SPOOF IP in req header