CPAN, LWP and Net:FTP firewall issues? Connection established transfer fails, yet ftp and wget work manual.
From: Leland T. Snyder (LTSnyder_at_x3ci.com)
Date: 02/28/04
- Previous message: Randy Kobes: "Re: SOAP::Lite install problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Feb 2004 09:51:05 -0800
I assume this is a firewall issue, but seeing I'm new to perl I'm not
sure what the problem is.
I have Perl 5.8.00 installed on RedHat 8.0 with all kernel updates.
My firewall prevents all outside synsythized connection other than a
few know ports, this means that out side systems can not actively
establish a tcp connection how ever out bound will work fine.
I can use wget or ftp on the system to fetch the listed files with no
problem but LWP i.e. Net:FTP seems to fail consistently. The CPAN
setup options I took are generally the default and listed here.
Although I only show one connection failure then an interrupt I issued
to break the cycle, this process will fail multipule times. Is there
any way I can tell LWP to use wget actively? of just plain old ftp, I
can not detect ftp being called.
========================Session Log=========================
[root@basex log]# perl -MCPAN -e shell
There seems to be running another CPAN process (pid 1700).
Contacting...
Other job not responding. Shall I overwrite the lockfile? (Y/N) [y] y
cpan shell -- CPAN exploration and modules installation (v1.61)
ReadLine support available (try 'install Bundle::CPAN')
cpan> o conf
CPAN::Config options from /usr/lib/perl5/5.8.0/CPAN/Config.pm:
commit Commit changes to disk
defaults Reload defaults from disk
init Interactive setting of all options
build_cache 10
build_dir /root/.cpan/build
cache_metadata 1
cpan_home /root/.cpan
ftp /usr/bin/ftp
ftp_proxy
getcwd cwd
gzip /bin/gzip
http_proxy
inactivity_timeout 0
index_expire 1
inhibit_startup_message 0
keep_source_where /root/.cpan/sources
links
make /usr/bin/make
make_arg
make_install_arg
makepl_arg
ncftp
ncftpget
no_proxy
pager /usr/bin/less
prerequisites_policy ask
scan_cache atstart
shell /bin/bash
tar /bin/tar
term_is_latin 1
unzip /usr/bin/unzip
urllist
ftp://cpan.nas.nasa.gov/pub/perl/CPAN/
ftp://archive.progeny.com/CPAN/
ftp://cpan-sj.viaverio.com/pub/CPAN/
ftp://cpan.thepirtgroup.com/
ftp://cpan.uky.edu/pub/CPAN/
ftp://cpan.netnitco.net/pub/mirrors/CPAN/
ftp://cpan.mirror.redwire.net/pub/CPAN/
ftp://cpan.erlbaum.net/
ftp://cpan.digisle.net/pub/CPAN
wait_list
wait://ls6-www.informatik.uni-dortmund.de:1404
wget
cpan> get DBI
CPAN: Storable loaded ok
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://cpan.nas.nasa.gov/pub/perl/CPAN/authors/01mailrc.txt.gz
LWP failed with code[400] message[FTP return code 000]
Fetching with Net::FTP:
ftp://cpan.nas.nasa.gov/pub/perl/CPAN/authors/01mailrc.txt.gz
Caught SIGINT
Got another SIGINT
cpan> quit
Lockfile removed.
[root@basex log]# perl -v
This is perl, v5.8.0 built for i386-linux-thread-multi
Copyright 1987-2002, Larry Wall
Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source
kit.
Complete documentation for Perl, including FAQ lists, should be found
on
this system using `man perl' or `perldoc perl'. If you have access to
the
Internet, point your browser at http://www.perl.com/, the Perl Home
Page.
[root@basex log]#
===========================End of session log=====================
Any help will be greatly appreciated. Thanks in advance for any help
you might provide.
-Lee
- Previous message: Randy Kobes: "Re: SOAP::Lite install problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|