develooper Front page | perl.perl5.porters | Postings from April 2003

Re: CPAI^hN and proxies

Thread Previous | Thread Next
From:
Scott R. Godin
Date:
April 6, 2003 03:23
Subject:
Re: CPAI^hN and proxies
Message ID:
1217611.i6RE9uKHrC@pcp02404936pcs.univde01.de.comcast.net
Linda W. wrote:

> I had this work on an external machine, but it could very well
> have been trying to go direct.
> 
> I have a couple http/ftp servers in my urllist in cpan.  Trouble
> is that when I try to access the cpan network, it tries to use
> ftp and gets hung up waiting for a host timeout....after about
> three ftp tries, it finally "falls back" to lynx.  So what's
> the point in defining ftp/http proxies.  When it came up for
> where's my ftp program, I tried entering both "", and '' (null
> strings). Apparently it didn't "listen" to either attempt.
> 
> Shouldn't it skip ftp/http direct if proxies are defined?
> 
> Thanks,
> -linda

I ran into this problem myself and it took me a bit to track down the fact 
that I needed to set up my iptables firewall to allow the FTP involved 
here. For some reason it isn't using the right KIND of ftp by default. 

If I set up 

        insmod ip_conntrack_ftp

then it works fine, and is acceptable to my stateful iptables firewall, and 
FTP transfers work normally. 

Could this be what you're seeing? 

I really have to wonder why CPAN doesn't default to passive FTP in these 
instances. 

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About