From owner-freebsd-bugs Thu Apr 9 12:10:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA22737 for freebsd-bugs-outgoing; Thu, 9 Apr 1998 12:10:02 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA22722; Thu, 9 Apr 1998 12:10:01 -0700 (PDT) (envelope-from gnats) Date: Thu, 9 Apr 1998 12:10:01 -0700 (PDT) Message-Id: <199804091910.MAA22722@hub.freebsd.org> To: freebsd-bugs Cc: From: Max Euston Subject: RE: bin/6254: ftp client follows NULL pointer Reply-To: Max Euston Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/6254; it has been noted by GNATS. From: Max Euston To: "'tri@pooh.tky.hut.fi'" , "FreeBSD-gnats-submit@FreeBSD.ORG" Cc: Subject: RE: bin/6254: ftp client follows NULL pointer Date: Thu, 9 Apr 1998 15:06:30 -0400 On Thursday, April 09, 1998 9:58 AM, Timo J. Rinne [SMTP:tri@pooh.tky.hut.fi] wrote: > ftp my-ftp-server > > Connected to my-ftp-server. > 220 taulu.ssh.fi FTP server (Version 6.00) ready. > Name (taulu:tri): > *** Control-D here with no username. > 331 Password required for 0I?. > Password: > Are you sure you are running 'ftp' (client) *from* a FreeBSD box :-)? I have seen this happen when running 'ftp' from another system to connect to 'ftpd' (server) on a FreeBSD box. If you start 'ftp' with the '-d' (debug) option, it will show you what commands the client ('ftp') is sending to the server ('ftpd'). On my -STABLE system, 'ftp -d ' does *not* send a 'USER ' command when you enter Control-D at the 'Name (xxx:xxx):' prompt. On an AT&T system with 'ftp -d ', the Control-D sends "garbage" (unterminated string?) as you described, to 'ftpd' on the FreeBSD machine. If this is the case, I don't think that the 'ftpd' server on FreeBSD cou ld/should try to verify the user name (feel free to convince me otherwise :-)). If other clients ('ftp') send 'USER ', how would we verify user names with non-ascii character sets (i.e. with high bit set)? (I am by no means an expert when it comes to non-US character sets). Hope this helps. Max ----- Max Euston To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message