From owner-freebsd-bugs Sat Nov 18 10:40:11 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4BE1E37B4C5 for ; Sat, 18 Nov 2000 10:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA01251; Sat, 18 Nov 2000 10:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 58DBB37B4D7; Sat, 18 Nov 2000 10:36:20 -0800 (PST) Message-Id: <20001118183620.58DBB37B4D7@hub.freebsd.org> Date: Sat, 18 Nov 2000 10:36:20 -0800 (PST) From: fwancho@whc.net To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/22945: tftp (4.1.1-RELEASE) appears broken Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22945 >Category: bin >Synopsis: tftp (4.1.1-RELEASE) appears broken >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 18 10:40:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Frank Wancho >Release: 4.1.1-RELEASE >Organization: WhiteHorse Communications, Inc. >Environment: FreeBSD new-dns.whc.net 4.1.1-RELEASE FreeBSD 4.1.1-RELEASE #0: Fri Oct 27 18:43:37 MDT 2000 fwancho@new-dns.whc.net:/usr/src/sys/compile/NEWDNS i386 >Description: /etc/inetd.conf: tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /home/cisco ll -d /home/cisco: drwxrwxrwx 2 nobody daemon 3072 Nov 17 20:39 /home/cisco/ ll /home/cisco/junk: -rwxrwxrwx 1 nobody daemon 19 Nov 17 23:08 /home/cisco/junk* ps -ax | fgrep inetd: 5408 ?? Is 0:00.00 inetd -wW Extract from /etc/hosts.allow: tftpd : localhost 127.0.0.1 : allow tftpd : ALL : deny Do: tftp localhost put junk (five lines of Send WRQ attempts) Some time later... /var/log/messages: Nov 18 15:39:45 new-dns tftpd[4978]: read: Connection refused Nov 18 15:39:49 new-dns tftpd[4981]: read: Connection refused Nov 18 15:39:54 new-dns tftpd[4983]: read: Connection refused Nov 18 15:40:00 new-dns tftpd[4985]: read: Connection refused Nov 18 15:40:07 new-dns tftpd[4987]: read: Connection refused NOTE: Everything else in /var/log/messages is timestamped MST except TFTP entries, which appear to be GMT... >How-To-Repeat: See above. >Fix: Copy tftpd from 3.4-RELEASE to /usr/local/libexec Change /etc/inetd.conf to reference above location. No other changes required. Works just fine. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message