Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
linux & msn & IP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
eleanor
l33t
l33t


Joined: 01 Nov 2004
Posts: 666

PostPosted: Fri Nov 04, 2005 3:15 pm    Post subject: linux & msn & IP Reply with quote

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
View user's profile Send private message
anello
Guru
Guru


Joined: 17 Jul 2005
Posts: 557
Location: EU -> DE -> Stuttgart

PostPosted: Fri Nov 04, 2005 4:27 pm    Post subject: Reply with quote

If you have an established connection directly to the user, then it will be stated in netstat.
Back to top
View user's profile Send private message
eleanor
l33t
l33t


Joined: 01 Nov 2004
Posts: 666

PostPosted: Fri Nov 04, 2005 4:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
anello
Guru
Guru


Joined: 17 Jul 2005
Posts: 557
Location: EU -> DE -> Stuttgart

PostPosted: Fri Nov 04, 2005 5:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum