From owner-freebsd-questions Wed Sep 4 16:37:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D57D437B401 for ; Wed, 4 Sep 2002 16:37:01 -0700 (PDT) Received: from ignatius.schwartz-pr.com (ignatius.schwartz-pr.com [12.30.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D28643E4A for ; Wed, 4 Sep 2002 16:37:01 -0700 (PDT) (envelope-from jfiorelli@schwartz-pr.com) Received: from dhcp-hst2-81.schwartz-pr.com (dhcp-hst2-81.schwartz-pr.com [12.30.3.81]) by ignatius.schwartz-pr.com (Postfix) with ESMTP id F319DBEF for ; Tue, 3 Sep 2002 16:39:49 -0400 (EDT) Subject: Re: Problems with tftp From: Jess Fiorelli To: freebsd-questions@freebsd.org In-Reply-To: <20020820174327.A212-100000@x1-6-00-80-c8-3a-b8-46.kico2.on.cogeco.ca> References: <20020820174327.A212-100000@x1-6-00-80-c8-3a-b8-46.kico2.on.cogeco.ca> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 03 Sep 2002 16:28:44 -0400 Message-Id: <1031084924.1599.9837.camel@dhcp-hst2-81> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello. I'm having some tftp troubles again and though someone might be able to help. I got tftp working a few weeks ago after following Dru's advice, but since them I've installed ipf and ipfw (I don't really want ipfw running anymore, so it's just running with allow all in and out rules in place) and now tftp isn't working in or out anymore. I've got ipf set to allow all traffic from the ip address of the router to the server, but the tftp requests from the router still aren't getting through. I also tried flusing all incoming and outgoing rules (using "ipf -Fa") and it still isn't able to get through. I've restarted the inet daemon multiple times with no results. The odd thing is that I still keep getting these messages in the /var/log/messages file: Sep 3 15:51:30 ignatius /kernel: Connection attempt to UDP x.x.x.4:53 from x.x.x.4:2011 Sep 3 15:51:33 ignatius /kernel: Connection attempt to UDP x.x.x.4:53 from x.x.x.4:2139 Sep 3 15:51:33 ignatius /kernel: Connection attempt to UDP x.x.x.4:53 from x.x.x.4:2140 Sep 3 15:51:35 ignatius /kernel: Connection attempt to UDP x.x.x.4:53 from x.x.x.4:2271 Sep 3 15:51:36 ignatius /kernel: Connection attempt to UDP x.x.x.4:53 from x.x.x.4:2289 Sep 3 15:51:36 ignatius /kernel: Connection attempt to UDP x.x.x.4:53 from x.x.x.4:2344 Sep 3 15:51:40 ignatius /kernel: Connection attempt to UDP x.x.x.4:53 from x.x.x.4:2626 Why would a random high number port be trying to connect to port 53 on the same server? named isn't even installed on this machine and it's aware of what name server it should be using. This happens every time I try to tftp into the server from the router. Also, this is the line I have in inetd.conf for tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /usr/tftpboot thanks Jess On Tue, 2002-08-20 at 17:48, Dru wrote: > > > On 20 Aug 2002, Jess Fiorelli wrote: > > > Hello. I've been having some problems getting my new FreeBSD 4.6-stable > > server to accept tftp connections from our router. When I try to connect > > into the server from the router, I get a message on the cisco router saying > > "TFTP: error code 1 received - File not found". On the FreeBSD server I > > get the following messages in /var/log/messages: > > > Hi Jess, > > Have you also done the following on the FreeBSD system: > > mkdir /tftpboot > touch /tftpboot/name_of_destination_file > chmod -R 777 /tftpboot > > For example, if you're going to backup your IOS, create a file called > old_ios (or whatever is useful to you) and specify that as the destination > filename when you do your "copy flash tftp". > > Also, did you send a signal 1 to inetd to inform it of your changes to > inetd.conf? > > Dru > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message