Re: Restricting access to sockets

From: Alun Jones (alun@texis.com)
Date: 03/06/02


From: alun@texis.com (Alun Jones)
Date: Wed, 06 Mar 2002 22:36:26 GMT

In article <slrna8chsv.3h8.I.H.Gregory@ihg0.herts.ac.uk>,
I.H.Gregory@herts.ac.uk wrote:
>I don't know a lot about sockets, but if I do "netstat -a" on my
>machine I see:
>
>Active UNIX domain sockets
>Address Type Vnode Conn Local Addr Remote Addr
>30000a37b08 stream-ord 00000000 00000000
>30000a37cb8 stream-ord 30000a0b960 00000000 /tmp/.X11-unix/X0

The key here is "UNIX domain sockets" - those are sockets created with AF_UNIX
(IIRC). I suspect the OP was most likely talking about network sockets,
created with AF_INET. The UNIX domain sockets here are apparently created in
the context of a shared file.

Alun.
~~~~

[Note that answers to questions in newsgroups are not generally
invitations to contact me personally for help in the future.]

-- 
Texas Imperial Software   | Try WFTPD, the Windows FTP Server. Find us at
1602 Harvest Moon Place   | http://www.wftpd.com or email alun@texis.com
Cedar Park TX 78613-1419  | VISA/MC accepted.  NT-based sites, be sure to
Fax/Voice +1(512)258-9858 | read details of WFTPD Pro for NT.


Quantcast