LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-23-2003, 07:01 PM   #1
psyklops
Member
 
Registered: Jan 2002
Location: Los Angeles
Distribution: RedHat 9.0
Posts: 216

Rep: Reputation: 30
Need to check connected IP's


In windows I have a neat lil firewall called Tiny Personal. It shows me all the processes that are connecting or listening including IP addy's. Id like to find a command to do that in RH. Im using IP chains.
 
Old 08-23-2003, 07:32 PM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
netstat will do that.

netstat -an show you every established/listening connection (so open port and people connected to these ports).
use a little script like the following to know what is conected to you

Code:
#!/bin/sh
netstat -an | grep "ESTABLISHED"
 
Old 08-23-2003, 07:46 PM   #3
psyklops
Member
 
Registered: Jan 2002
Location: Los Angeles
Distribution: RedHat 9.0
Posts: 216

Original Poster
Rep: Reputation: 30
Cool. I seem to have alot of .Ice and .X11 connected... Is this bad...?
 
Old 08-24-2003, 08:32 AM   #4
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
not really
X11 is your GUI and YOU are connected to your own GUI, so...
but don't look at all these .lock, .Ice... usefull info are on top, the first line that are talking about "established" connection really tell you who is connected to you and on what.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IPTables - Multiple Public IP's to private IP's matneyc Linux - Security 8 05-27-2005 12:23 PM
ipw2200 connected but not connected? snataw Linux - Wireless Networking 5 03-31-2005 08:12 AM
Command to check sockets/connected ip Cyric Slackware 5 11-21-2004 06:26 AM
Limit connected items connected to my router andersh3 Linux - Newbie 1 03-16-2004 11:10 AM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration