Get all IP-related connections

Asked

Viewed 225 times

0

Is it possible to get all ips that are connected to an IP in Visual Basic? For example, I take the IP of all players who are connected to a game server. I tried the variable System.NET.IPHostEntry.Aliases but returned nothing...

  • I guess just having access to the game server

  • I don’t believe that

  • You may not believe, the truth may hurt, but taking this information the way q is/understood in your question is impossible.

  • 1

    What can be done is sniffling the gateway of your network and picking up the ips that are closing connection to the game server ip which is "impossible"to get by using qq application of a machine segmented from your network, there are methods to poison the network and redirect traffic to a network machine and on this machine if you make use of Sniffer, this has nothing to do with using Vb, unless you develop Sniffer in Vb.

1 answer

1

Your question describes an architecture Client-server, that is, each client (IP) connects to the server’s IP, in this type of communication only the server has the information of the clients connected to it, making an analogy imagine that a telemarketing attendant makes three simultaneous calls, one of these calls was intended for you, how will you know the names of the other two people? How would you know that there are two other people talking or waiting with the operator ? Either you ask the operator how many people she’s talking to and what users' names online or you have access to a telephone exchange, the same goes for a client-server architecture.

The use of Sniffer can inform which Ips of your internal network are connecting with the server, it will not be possible to get which Ips around the world are connected, if you have access to the game server network is another story but I understood not to be the case. The fact is that there is no way to know which clients are directly connected to a server without you having access to it (we’re not talking here about possible server security holes where you might be able to breach to get this information illegally).

If you have access to the server a simple netstat -na will list all Ips connected directly to it.

  • I can get the netstat -na to another public ip?

  • No, just imagine if this were possible I could pick up all the Ips that are connected now on the Stackoverflow webserver, this would be a great mt security hole, as I told you what you want and the way you want it is not possible ...

  • I get it, thank you

Browser other questions tagged

You are not signed in. Login or sign up in order to post.