Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2000 10:36:20 -0800 (PST)
From:      fwancho@whc.net
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/22945: tftp (4.1.1-RELEASE) appears broken
Message-ID:  <20001118183620.58DBB37B4D7@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001118183620.58DBB37B4D7>