sockets - how to set proxy instead of real IP while sending http request in php? -


I want to hide my real IP when sending any http request in php. What should I do, is it possible? If not, is there any way to do this excepts PHP?

When the server receives a request, then the customer should be able to send the reply back. It knows where to send the answer back because it knows the IP address of the customer, you can not establish an HTTP (or more commonly, a TCP) session with a spoofed IP address.

At the IP level, you can send an IP packet with spoofed source address. Although it is not very good to connect to a web server. If the packet server does not have a TCP packet sent to port 80, then it is probably not likely to reach the server, it is likely to be blocked by a firewall, which is between the server and the Internet.

As soon as you want to establish a TCP connection, a packet starts sending the customer to the connection connection, and the server responds until the customer receives a reply from the server , The connection is not established until, and if the client tries to duplicate the next packet, they will be blocked by the server-side firewall. With the PHP curl library, you can only create well-formed TCP connections.

Since the server should know that the IP addresses are sent to the requests so that the answers are able to return the answer, the only way to fake these IP addresses is to come from a different machine for your IP address. reason. That is, if you want your IP address to be $ ip1, then you need to get a $ ip1 address machine to relay your request. In other words, you need $ ip1 to act as a proxy.

Reference:


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

lua - HowTo create a fuel bar -