View previous topic :: View next topic |
Author |
Message |
eleanor l33t
Joined: 01 Nov 2004 Posts: 666
|
Posted: Fri Nov 04, 2005 3:15 pm Post subject: linux & msn & IP |
|
|
Lately, I've consecrate all my time on "getting an IP from the user I am talking to in linux". I don't know how to do it. I tried all kind of things, including netstat, but no success.
In windows that's quite easily, you just send a file to a user (to the one you are chating with) and then in console write "netstat -r" and woila there it is.
But in linux it's not nearly like this, so do anybody know this? |
|
Back to top |
|
|
anello Guru
Joined: 17 Jul 2005 Posts: 557 Location: EU -> DE -> Stuttgart
|
Posted: Fri Nov 04, 2005 4:27 pm Post subject: |
|
|
If you have an established connection directly to the user, then it will be stated in netstat. |
|
Back to top |
|
|
eleanor l33t
Joined: 01 Nov 2004 Posts: 666
|
Posted: Fri Nov 04, 2005 4:47 pm Post subject: |
|
|
Tried that and didn't find IP of the user (and I already know the IP).
Tell me exactly code of "netstat -?" and I'll try it?
And thank you for your help! |
|
Back to top |
|
|
anello Guru
Joined: 17 Jul 2005 Posts: 557 Location: EU -> DE -> Stuttgart
|
Posted: Fri Nov 04, 2005 5:35 pm Post subject: |
|
|
netstat -r -> is showing the routing table
you could try "man netstat" to get all information about netstat
or try "netstat -landtp" this will show you all network connections and the processes using it. |
|
Back to top |
|
|
|