Subject: Re: Disable tftp
To: None <email@example.com>
From: David Maxwell <firstname.lastname@example.org>
Date: 07/10/2003 11:41:12
On Thu, Jul 10, 2003 at 07:13:14PM +0530, email@example.com wrote:
> 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
David Maxwell, firstname.lastname@example.orgemail@example.com -->
Any sufficiently advanced Common Sense will seem like magic...