From nobody@FreeBSD.ORG  Sat Nov 18 10:36:20 2000
Return-Path: <nobody@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
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: tftp (4.1.1-RELEASE) appears broken
X-Send-Pr-Version: www-1.0

>Number:         22945
>Category:       bin
>Synopsis:       tftp (4.1.1-RELEASE) appears broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 18 10:40:01 PST 2000
>Closed-Date:    Sat Nov 17 10:45:32 PST 2001
>Last-Modified:  Sat Nov 17 10:45:57 PST 2001
>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:

From: "Frank J. Wancho" <fwancho@WHC.NET>
To: <freebsd-gnats-submit@FreeBSD.org>,
	"Frank J. Wancho" <fwancho@WHC.NET>
Cc:  
Subject: Re: bin/22945: tftp (4.1.1-RELEASE) appears broken
Date: Sat, 18 Nov 2000 16:30:27 -0700

 The title should have been:  tftpd (4.1.1-RELEASE) appears broken
 
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: dougb 
State-Changed-When: Sun Nov 19 09:35:07 PST 2000 
State-Changed-Why:  

Could you please update to 4.2-RC and let us know if 
the problem still exists for you? 


Responsible-Changed-From-To: freebsd-bugs->dougb 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Sun Nov 19 09:35:07 PST 2000 
Responsible-Changed-Why:  

I'll handle the user's feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22945 
State-Changed-From-To: feedback->suspended 
State-Changed-By: dougb 
State-Changed-When: Mon Nov 20 20:01:19 PST 2000 
State-Changed-Why:  

Originator is unable to update to a more recent version of 
4.x, and unable to reproduce the problem on other versions. 

Please feel free to send a followup to this PR when you 
have more data. 


Responsible-Changed-From-To: dougb->freebsd-bugs 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Mon Nov 20 20:01:19 PST 2000 
Responsible-Changed-Why:  

When the originator has more data, someone better able 
to help may be available.  

http://www.freebsd.org/cgi/query-pr.cgi?pr=22945 
State-Changed-From-To: suspended->feedback 
State-Changed-By: bmah 
State-Changed-When: Sat Nov 17 10:45:06 PST 2001 
State-Changed-Why:  
This PR should have been in feedback state. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22945 
State-Changed-From-To: feedback->closed 
State-Changed-By: bmah 
State-Changed-When: Sat Nov 17 10:45:32 PST 2001 
State-Changed-Why:  
Feedback timeout (11+ months). 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22945 
>Unformatted:
