From root@netlab1.usu.edu  Sun Aug 31 12:59:44 2003
Return-Path: <root@netlab1.usu.edu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 872D116A4BF
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 31 Aug 2003 12:59:44 -0700 (PDT)
Received: from netlab1.usu.edu (netlab1.usu.edu [129.123.28.201])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2DAB243FE1
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 31 Aug 2003 12:59:44 -0700 (PDT)
	(envelope-from root@netlab1.usu.edu)
Received: by netlab1.usu.edu (Postfix, from userid 0)
	id E54A6AAFA; Sun, 31 Aug 2003 13:59:43 -0600 (MDT)
Message-Id: <20030831195943.E54A6AAFA@netlab1.usu.edu>
Date: Sun, 31 Aug 2003 13:59:43 -0600 (MDT)
From: jrd@netlab1.usu.edu
Reply-To: jrd@netlab1.usu.edu
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject:
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         56249
>Category:       bin
>Synopsis:       ftpd(8) has two bugs (motd, munged utmp)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    obrien
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 31 13:00:32 PDT 2003
>Closed-Date:    
>Last-Modified:  Sat Jun 14 06:09:07 UTC 2008
>Originator:     jrd@netlab1.usu.edu
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
 System: FreeBSD netlab1.usu.edu 4.8-STABLE FreeBSD 4.8-STABLE #1: Thu May 1 20:36:19 MDT 2003 root@netlab1.usu.edu:/usr/src/sys/compile/JRD i386
 
>Description:

 	Build lukemftpd from the most recent ports collection. (I did a
 cvsup update of ports prior to this). Lukemftpd has two noted problems.
 	1. Appearence of control keyword  motd  in ftpd.conf causes
 lukemftp to drop a connection immediately after login. 
 	2. utmp and friends are munged badly by stating the previous
 logins were /dev/ftp<pid number>. The "w" command gets upset with unknown
 /dev entries too. I've manually cleared that debris.
 
 
>How-To-Repeat:
 	Here is an example ftpd.conf file with the offending line marked
 with prefix   ##BAD
 
 advertise none
 checkportcmd all on
 chroot guest
 limit guest 10
 maxtimeout guest 900
 modify guest off
 ##BAD motd none
 notify none
 portrange all 20000 30000
 #private none
 sanenames none
 upload guest off
 
>Fix:
 	Fix is to not use lukemftpd, alas, instead use wu-ftpd.
 
 	Joe Doupnik
 	Utah State University

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Wed Sep 3 07:40:06 PDT 2003 
Responsible-Changed-Why:  
Reassign misfiled PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56249 
Responsible-Changed-From-To: freebsd-bugs->obrien 
Responsible-Changed-By: yar 
Responsible-Changed-When: Thu Dec 16 06:19:20 GMT 2004 
Responsible-Changed-Why:  
Over to the lukemftpd maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56249 
>Unformatted:
