Re: Which daemon is running on port 1109?

From: Noel R. Nihill (nnihil01_at_Motorola.BLAH.com)
Date: 11/05/03


Date: Wed, 5 Nov 2003 14:28:20 -0000


"Nico van Vliet" <N.vanVliet@utwente.nl> wrote in message
news:boauqm$5lf$1@netlx020.civ.utwente.nl...
> Hi,
>
> On solaris 8 I have some daemon running on port 1109.
> This seems to be a port used by kpop, only there is no kpop installed
> and the port is not in /etc/services, but i can connect with telnet.

/etc/services doesn't tell you much at the best of times :0)

> How, in general, can i find out wich daemon is listening to a certain
port?

If the daemon in registered as an RPC service,
rpcinfo -p | grep 1109 will shed some light.

Some daemons will return some sort of banner when
connected to by a Telnet client, or if you then hit return
or speak some nonsense to them. Some do not.

Presumably this daemon didn't say anything useful
when you connected to it with telnet.

You could look in /etc/rc*.d/ for any 'weird' looking
(i.e. not shipped by Sun) S-scripts and use ps and pfiles
to find out what ports/sockets that any programs started
by them are using.

Are you running any database servers or somesuch?

Failing all that, download and install lsof:
    ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/

...and do 'lsof -i :1109'

> TIA
>
> Nico

--
Noel R. Nihill
UNIX® platform development
Motorola NSS
I *could* be arguing in my spare time.


Relevant Pages

  • Re: monitoring traffic on a port?
    ... > application or daemon that's listening to the port. ... > You could also start looking at external network monitoring hardware to ...
    (comp.sys.sun.misc)
  • Re: monitoring traffic on a port?
    ... > application or daemon that's listening to the port. ... > You could also start looking at external network monitoring hardware to ...
    (comp.unix.solaris)
  • Re: monitoring traffic on a port?
    ... > application or daemon that's listening to the port. ... > You could also start looking at external network monitoring hardware to ...
    (comp.sys.sun.admin)
  • Re: monitoring traffic on a port?
    ... > application or daemon that's listening to the port. ... > You could also start looking at external network monitoring hardware to ...
    (comp.sys.sun.hardware)
  • Re: Firewall for broadband connection
    ... "Jeff Lord" schreef in bericht ... >> and has a lot of spare time now) has a broadband connection, ... a hardware solution would be a more secure and easier ... > is a well know port and would be scanned to see if it was open. ...
    (comp.security.firewalls)