tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: What process answers at port X?
@ 1998-07-24 13:16 Mika Tuupola
  0 siblings, 0 replies; only message in thread
From: Mika Tuupola @ 1998-07-24 13:16 UTC (permalink / raw)
  To: tru64-unix-managers


	Thanks for the quick answers to:

	Michael Matthews <matthewm@aeac.atd.net>
	Neil Dyce <Neil.Dyce@bristol.ac.uk>
	Karl Majer <majer@aol.net

	Original question was:

        Is there a way to determine what process answers at specified
        port? I have a reason to believe that one of our systems has
        been compromised and I noticed that the machine answers to
        port 1025. This shouldnt be anything like ftp data port
        and I of course have checked inetd.conf etc. 

	And the solution:

	The solution was to to use lsof (LiSt Open Files). lsof -i
	shows all open network sockets and in my case what was needed
	was lsof -i TCP:1025.
	
	(If anyone is interested in my case it was rpc.ttdbserverd
	which was answering at port 1025. Dont know why it wasnt
	disabled before).

	Lsof can be found at:

	ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/

-- 
Mika Tuupola                    	       tuupola@appelsiini.net
Appelsiini Networks                        http://www.appelsiini.net/ 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-07-24 13:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-24 13:16 SUMMARY: What process answers at port X? Mika Tuupola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox