A little more research since my previous post reveals that it's likely that I need to use PASV for all FTP connections (my firewall rejects port 113 ident taps). How do I use the CPAN shell to instruct the download tools (ftp, ncftp, wget, lynx, etc.) to use passive mode for FTP connections?
If I can get past this step, I'll be able to use the CPAN shell (I hope). Any advice or direction will be much appreciated. -B... > I'm having no luck installing Bundle::libnet under the CPAN shell. I can't get > any of the initial downloads to work. > > I'm running Perl 5.6.0 on MacOS X 10.1.2 on a 400 MHz PowerBook G3 on a DSL > connection behind an OpenBSD/ipf firewall. Under the Proxies tab in Network > Preferences I have 'Use Passive FTP mode (PASV)' checked to accommodate my > firewall configuration. FTP and HTTP uploads/downloads work fine in all my > other such programs. > > Has anyone else experienced this? Can anyone shed any light on how to resolve > this problem? > > Here are some of the messages I get: > > > --06:58:18-- ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz > (try: 20) => `-' > Connecting to ftp.perl.org:21... connected! > Logging in as anonymous ... Logged in! > ==> SYST ... > Server error, can't determine system type. > done. ==> PWD ... done. > ==> TYPE I ... done. ==> CWD /pub/CPAN/authors ... done. > ==> PORT ... > Invalid PORT. > Retrying. > > > --07:11:03-- > ftp://csociety-ftp.ecn.purdue.edu/pub/CPAN/authors/01mailrc.txt.gz > (try:17) => `-' > Connecting to csociety-ftp.ecn.purdue.edu:21... connected! > Logging in as anonymous ... Logged in! > ==> SYST ... done. ==> PWD ... done. > ==> TYPE I ... done. ==> CWD /pub/CPAN/authors ... done. > ==> PORT ... > Invalid PORT. > Retrying. > > > System call "/sw/bin/wget -O - > 'ftp://cpan.netnitco.net/pub/mirrors/CPAN/authors/01mailrc.txt.gz' > > /Users/bruceb/.cpan/sources/authors/01mailrc.txt" > returned status 1 (wstat 256) > Warning: expected file [/Users/bruceb/.cpan/sources/authors/01mailrc.txt.gz] > doesn't exist > Issuing "/usr/bin/ftp -n" > Local directory now /Users/bruceb/.cpan/sources/authors > Illegal PORT Command
