Operating System - HP-UX
1758557 Members
2043 Online
108872 Solutions
New Discussion юеВ

Re: Can I stop ToolTalk Service ? How can I do that ? I mean close port 49157

 
SOLVED
Go to solution
Juan Manuel L├│pez
Valued Contributor

Can I stop ToolTalk Service ? How can I do that ? I mean close port 49157

For security reasons, We want to close the tooltalk port 49157, so I do not know how to do that.
Could anybody help me ?

Thanks in advance.

Juanma.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
8 REPLIES 8
Tom Satinet
Frequent Advisor

Re: Can I stop ToolTalk Service ? How can I do that ? I mean close port 49157

does disabling it in /etc/services not work?

James R. Ferguson
Acclaimed Contributor

Re: Can I stop ToolTalk Service ? How can I do that ? I mean close port 49157

Hi:

You can comment-out the line in '/etc/inetd.conf' that references the 'rpc.ttdbserver'. Then restart 'inetd':

# inetd -c

Regards!

...JRF...
Juan Manuel L├│pez
Valued Contributor

Re: Can I stop ToolTalk Service ? How can I do that ? I mean close port 49157

Ok, so there in not a line with this port in /etc/services or /etc/inetd.conf.
Whatis the service name that open up this port ?
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
Kofi ARTHIABAH
Honored Contributor
Solution

Re: Can I stop ToolTalk Service ? How can I do that ? I mean close port 49157

There will be an entry in your /etc/inetd.conf like :
rpc xti tcp swait root /usr/dt/bin/rpc.ttdbserver 100083 1 /usr/dt/bin/rpc.ttdbserver
comment that line out and reconfig the inetd daemon with
inetd -c

Good luck.
nothing wrong with me that a few lines of code cannot fix!
Juan Manuel L├│pez
Valued Contributor

Re: Can I stop ToolTalk Service ? How can I do that ? I mean close port 49157

Thanks for your responses.
So please, I have not clear the tooltalk funtion. Can I stop this service ?
Xwindows and the rest of service will works properly ?

Thanks.

Juanma.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
Kofi ARTHIABAH
Honored Contributor

Re: Can I stop ToolTalk Service ? How can I do that ? I mean close port 49157

By the way for future purposes, the tool lsof (available from your nearest archiving and porting centre) is useful for find out things like what program is running on what port. you can use it to drill down to find out any mysterious programs that may be running on a mysterious port.

good luck.
nothing wrong with me that a few lines of code cannot fix!
Sandman!
Honored Contributor

Re: Can I stop ToolTalk Service ? How can I do that ? I mean close port 49157

Find out PID of the process on port 49157 w/ lsof; kill it at the command line;

# lsof -i:49157
# kill -9

Comment out these entries from the inetd.conf file...

rpc xti tcp swait root /usr/dt/bin/rpc.ttdbserver 100083 1 /usr/dt/bin/rpc.ttdbserver
rpc dgram udp wait root /usr/dt/bin/rpc.cmsd 100068 2-5 rpc.cmsd

...restart inetd

# /usr/sbin/inetd -c

cheers!
Doug Burton
Respected Contributor

Re: Can I stop ToolTalk Service ? How can I do that ? I mean close port 49157

My notes show commenting the "rpc.ttdbserver" line in the /ec/inetd.conf file will not break CDE login from the console, Exceed or ReflectionX. However if you comment out this line then connection to another CDE desktop in order to exchange Calendar or DTmail info (dtcm and dtmail) will break.

I'd comment it out. Run inetd -c as mentioned above. You may also want to comment out the "rpc.cmsd" line. The CDE Calendar Manager (dtcm) will not work correctly but do you really need it?