From: Mika Tuupola <tuupola () appelsiini ! net>
To: tru64-unix-managers
Subject: SUMMARY: What process answers at port X?
Date: Fri, 24 Jul 1998 13:16:38 +0000 [thread overview]
Message-ID: <96078715811912.tru64-unix-managers.marc@archive.invalid> (raw)
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/
reply other threads:[~1998-07-24 13:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox