in reply to Doubts about Mechanize and Net::RawIP

No.

There is no easy way to spoof the other end of a TCP connection. Otherwise, how would the server know where to send its answer?

  • Comment on Re: Doubts about Mechanize and Net::RawIP

Replies are listed 'Best First'.
Re^2: Doubts about Mechanize and Net::RawIP
by annonimous (Novice) on Mar 08, 2015 at 19:29 UTC
    yes i know that the server will need to send the answer to the machine who will show the ip in their connection not me, but since some of my customers (elastix servers)suffered attacks in their webports by that way, then i want to replicate the program for see what is happening (and also retake perl as my programming language) by the way you are the creator of mechanize::firefox aren't you? =)

      If you want to spoof setting up a TCP connection, you will have to learn about TCP.

      If you want to send HTTP data while trying to make the server think it's coming from a different IP, consider looking at the X-Forwarded-For header. In both cases, you will have to learn and understand TCP and HTTP.

        then i need to read HTTP and TCP frc's right? thanks in advance for your time =)