Subject: Re: Disable tftp
To: None <dbhasin@hss.hns.com>
From: David Maxwell <david@crlf.net>
List: current-users
Date: 07/10/2003 11:41:12
On Thu, Jul 10, 2003 at 07:13:14PM +0530, dbhasin@hss.hns.com wrote:
> Hi,
> I would like to disable tftp service on my NETBSD server but even after
> putting a hash in front of the entry in /etc/inetd.conf and restarting the
> inetd daemon I am able to connect to server through tftp client, do I need
> to do some other changed at some other path or file.

The tftp client is udp based and connectionless. When you run it as
'tftp hostname' you will get a prompt back whether there is tftp
available on the host or not.

Try getting a file from the server to check it, OR, if you can login to
the server (I know you can, in this case, I'm just speaking in general
terms) - do this:

netstat -a | more

And look for a line

udp	0	0  *.tftp	*.*

If present, inetd is listening for tftp connections. If absent, you're
fine.

-- 
David Maxwell, david@vex.net|david@maxwell.net -->
Any sufficiently advanced Common Sense will seem like magic... 
					      - me