Date: Thu, 9 Apr 1998 12:10:01 -0700 (PDT) From: Max Euston <meuston@jmrodgers.com> To: freebsd-bugs Subject: RE: bin/6254: ftp client follows NULL pointer Message-ID: <199804091910.MAA22722@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/6254; it has been noted by GNATS. From: Max Euston <meuston@jmrodgers.com> To: "'tri@pooh.tky.hut.fi'" <tri@pooh.tky.hut.fi>, "FreeBSD-gnats-submit@FreeBSD.ORG" <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 <FreeBSD-box>' 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 <FreeBSD-box>', 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 <garbage>', 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 <meuston@jmrodgers.com> 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?199804091910.MAA22722>