Bug 22945

Summary: tftp (4.1.1-RELEASE) appears broken
Product: Base System Reporter: fwancho <fwancho>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1.1-RELEASE   
Hardware: Any   
OS: Any   

Description fwancho 2000-11-18 18:40:01 UTC
/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...

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.
How-To-Repeat: See above.
Comment 1 fwancho 2000-11-18 23:30:27 UTC
The title should have been:  tftpd (4.1.1-RELEASE) appears broken
Comment 2 Doug Barton freebsd_committer freebsd_triage 2000-11-19 17:35:07 UTC
State Changed
From-To: open->feedback


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


Comment 3 Doug Barton freebsd_committer freebsd_triage 2000-11-19 17:35:07 UTC
Responsible Changed
From-To: freebsd-bugs->dougb


I'll handle the user's feedback.
Comment 4 Doug Barton freebsd_committer freebsd_triage 2000-11-21 04:01:19 UTC
State Changed
From-To: feedback->suspended


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. 


Comment 5 Doug Barton freebsd_committer freebsd_triage 2000-11-21 04:01:19 UTC
Responsible Changed
From-To: dougb->freebsd-bugs


When the originator has more data, someone better able 
to help may be available.
Comment 6 Bruce A. Mah freebsd_committer freebsd_triage 2001-11-17 18:45:06 UTC
State Changed
From-To: suspended->feedback

This PR should have been in feedback state.
Comment 7 Bruce A. Mah freebsd_committer freebsd_triage 2001-11-17 18:45:32 UTC
State Changed
From-To: feedback->closed

Feedback timeout (11+ months).