Results 1 to 4 of 4
is there a command or program that can show me a list of ip addresses connected to a ip that i provide?...
- 10-28-2006 #1
ip question
is there a command or program that can show me a list of ip addresses connected to a ip that i provide?
- 10-28-2006 #2
Re: IP question
Not sure what you mean.
Can you describe in more detail?
Are you refering to ifconfig or netstat ??
Men occasionally stumble over the truth,
but most of them pick themselves up
and hurry off as if nothing had happened.
Winston Churchill
... then the Unix-Gods created "man" ...
- 10-28-2006 #3
If you're asking how to see a list of IP addresses that are connected to a listening service on your box, you can use something like:
This uses netstat to show all tcp connections, and doesn't try to resolve IPs to names. The grep command is to narrow the results down. The colon ( : ) before the port number and the space afterwards will help so you don't get false positives (e.g. 1022, 222, etc.).Code:netstat -atn | grep ':22 '
In your case you'll want to grep for the port your service is listening on.
- 10-28-2006 #4
ok. what im wantin to try to do is get a list of player ip addresses from a game server. ive been told that there is a command that can do this in windows but i dont know it and was wonderin if anyone knew of a Linux command to do the same.


Reply With Quote