From owner-freebsd-current Sat May 13 14:00:29 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA12318 for current-outgoing; Sat, 13 May 1995 14:00:29 -0700 Received: from localhost (localhost [127.0.0.1]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id OAA12310 ; Sat, 13 May 1995 14:00:27 -0700 X-Authentication-Warning: freefall.cdrom.com: Host localhost didn't use HELO protocol To: current@freefall.cdrom.com cc: ache@freefall.cdrom.com Subject: Bug in ncftp passive mode handling? Date: Sat, 13 May 1995 14:00:26 -0700 Message-ID: <12309.800398826@freefall.cdrom.com> From: "Jordan K. Hubbard" Sender: current-owner@FreeBSD.org Precedence: bulk >From the man page in ncftp: -P toggle passive mode (defaults to on). Useful for work behind firewalls. This tells me that it's ON by default, so ncftp without -P should be passive, right? Hmmmmm! Well, sitting here behind the cisco firewall: chein-as-pc1 {911}# ncftp ftp://freebsd.org/pub/FreeBSD/packages/editors NcFTP 1.9.4 (April 15, 1995) by Mike Gleason, NCEMRSoft. Tip: Don't put a site in your .ncftprc unless you want an 'init' macro. The recent-file saves sites with the last directory you were in, unlike the rc file, while still letting you use sitename abbreviations. freebsd.org:/pub/FreeBSD/packages/editors (Mail) ncftp>ls So then we try it with -P: chein-as-pc1 {916}# ncftp -P ftp://freebsd.org/pub/FreeBSD/packages/editors NcFTP 1.9.4 (April 15, 1995) by Mike Gleason, NCEMRSoft. Tip: You can put set commands in your .ncftprc, by adding lines such as '#set local-dir /usr/tmp' to the file, which will be run at startup. freebsd.org:/pub/FreeBSD/packages/editors (Mail) ncftp>ls aXe-6.1.2.tgz@ mule-2.2.2.tgz@ xhtml-dynamic.tgz@ emacs-19.28.tgz@ vile-5.2.tgz@ xhtml-static.tgz@ jove-4.16b.tgz@ xemacs-19.11.tgz@ xvile-5.2.tgz@ freebsd.org:/pub/FreeBSD/packages/editors (Mail) ncftp> Works fine! Our standard ftp doesn't default to passive mode either - you need to do a `passive' command first. What's the concensus on this? libftp, BTW, doesn't appear to handle passive mode _at all_! Oh well, so much for that particular option in the install.. :-( JOrdan