All of lore.kernel.org
 help / color / mirror / Atom feed
* netstat -Z
@ 2009-01-18  8:32 Russell Coker
  2009-01-19  8:07 ` KaiGai Kohei
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Russell Coker @ 2009-01-18  8:32 UTC (permalink / raw)
  To: SE-Linux

The command "netstat -Z -t" will show two entries for a localhost connection 
and thus show the context of each end of the socket.

The command "netstat -Z -x" seems to only show a single entry for the 
connection which will be from the server end.

http://wiki.postgresql.org/wiki/SEPostgreSQL

The above wiki page mentions "netstat -Z" and my personal interpretation of 
this was that I could use "netstat -Z" to find the context of a client end of 
a socket.  But it seems that I can only get the server end.

Is this what is desired?

-- 
russell@coker.com.au
http://etbe.coker.com.au/          My Main Blog
http://doc.coker.com.au/           My Documents Blog


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-01-20 17:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-18  8:32 netstat -Z Russell Coker
2009-01-19  8:07 ` KaiGai Kohei
2009-01-19  9:35   ` Justin P. Mattock
2009-01-19  8:17 ` Justin P. Mattock
2009-01-20 17:32 ` Paul Moore

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.