LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 10-14-2003, 02:55 PM   #1
sopiaz57
Member
 
Registered: Apr 2003
Distribution: RH 8
Posts: 245

Rep: Reputation: 30
netstat


Can someone set me straight, I run netstat on my RH system, I get about 40 (maybe more, maybe less) unix sockets. Of course a few UDP and a few TCP ports listening, but i recently test drove a dedicated server from an ISP and their netstat had so few unix sockets. These annoy me, are they a security risk? Are they just for kernal interprocess communication ? Whats the deal?

thanks!
 
Old 10-14-2003, 03:39 PM   #2
bastard23
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 275

Rep: Reputation: 30
sopiaz57,

Try running "netstat -p" as root. This will tell you which programs are using the sockets. There probably aren't any security issues, but you probably should know what is running on your system. The unix domain sockets (man 7 unix) are used for local InterProcess Communication (IPC). Some unix sockets are anonymous, and others actually live on the filesystem (and protected by the normal unix file permissions). It is used by many programs, so hopefully they don't annoy you too much

Postfix, for instance, uses the unix domain sockets to communicate to it's various processes. It has 39 sockets just for the master program on my system. syslogd listens on the /dev/log socket, for an example of named sockets. Try using netstat --inet to see the only TCP/UDP stuff.

Have fun,
chris
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
possible intrusion? netstat branden_burger Linux - Security 3 03-03-2005 09:54 AM
netstat -s r_213 Linux - Networking 2 01-27-2005 06:45 AM
netstat -i r_213 Linux - Networking 4 09-09-2004 06:10 AM
netstat question digsby0007 Linux - Networking 1 12-27-2003 05:33 PM
netstat...what is this stuff? hoffman Linux - Newbie 2 12-03-2003 11:00 AM


All times are GMT -5. The time now is 08:54 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration