From owner-freebsd-bugs Thu May 23 15:17:47 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA26555 for bugs-outgoing; Thu, 23 May 1996 15:17:47 -0700 (PDT) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id PAA26548 for ; Thu, 23 May 1996 15:17:43 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.7.5/8.6.9) with SMTP id OAA04044 for ; Thu, 23 May 1996 14:54:29 -0700 (PDT) Prev-Resent: Thu, 23 May 1996 14:54:29 -0700 Prev-Resent: "bugs@freebsd.org " Replied: Thu, 23 May 1996 14:54:24 -0700 Replied: "cskinner@bml.ca (Chris K. Skinner) www@freebsd.org" Replied: Thu, 23 May 1996 14:53:44 -0700 Replied: "cskinner@bml.ca (Chris K. Skinner) www@freebsd.org" Received: from freefall.freebsd.org (jkh-sl0-f.cdrom.com [204.216.27.193]) by time.cdrom.com (8.7.5/8.6.9) with ESMTP id OAA02954 for ; Thu, 23 May 1996 14:22:46 -0700 (PDT) Received: from host.igs.net (root@host.igs.net [206.248.16.2]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA20957 for ; Thu, 23 May 1996 14:22:11 -0700 (PDT) Received: from ttyB07.ott.igs.net (ttyB07.ott.igs.net [206.248.17.107]) by host.igs.net (8.7.4/8.6.12) with SMTP id RAA10225 for ; Thu, 23 May 1996 17:21:56 -0400 (EDT) Message-Id: <199605232121.RAA10225@host.igs.net> From: cskinner@bml.ca (Chris K. Skinner) To: www@freebsd.org Subject: FTP server definite bug! Date: Thu, 23 May 1996 21:22:00 GMT X-Newsreader: Forte Free Agent 1.0.82 Resent-To: bugs@freebsd.org Resent-Date: Thu, 23 May 1996 14:54:29 -0700 Resent-Message-ID: <4042.832888469@time.cdrom.com> Resent-From: "Jordan K. Hubbard" Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi. Greetings. Discovered something weird... Bug title: FTP server gets and obeys an mput of "." and ".." special files from a "stupid" LAN FTP client. Config: Server: January CD of FreeBSD 2.1.0 from Walnut Creek. Client: the MS-Windows for Workgroups 3.11 Beta 1.1(?) of Microsoft TCP/IP-32. Scenario: 1. Within a MS WFW 3.11 system, login as a valid unix user (Ethernet Lan connection between machines). 2. Change local Win3.11 directory to a directory with a bunch of www html, gif, jpg files to send to the unix host as a test of MS tcp/ip-32 FTP. 3. Set prompting off so that no interactive "y/n ?" pause message appear within MS tcp/ip-32 when doing "mput". 4. Change remote FreeBSD unix directory to user's home directory. 5. Make a temporary unix directory to hold the files that will be up-loaded via MS-tcp/ip-32 ftp to the unix user sub-directory. 6. Change into this temporary directory for doing the upload. 7. Perform a "mput *.*" command so that Win3.11 sends files to unix. 8. Witness that the Win3.11 FTP will attempt to send both the "." and ".." files, and the unix machine will have its "." and ".." directory entries corrupted. 9. Perform a "fsck" command on the unix machine to detect and correct the corruption created by the steps above. The unix fsck reports and corrects the directory entry corruption of the "." and ".." directory entries that were screwed up by the "stupid" client ftp software. Thanks for reading this. Regards, Chris K. Skinner.