hesco has asked for the wisdom of the Perl Monks concerning the following question:
I'm working at installing a simple script on a server where I have sufficient sudo root privileges to invoke cpan and such, only to find it had not previously been configured.
The initial cpan configuration gets stuck at fetching:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
iptables -L includes:
DROP all -- 127.0.0.0/8 anywhere
which I'd guess would maybe drop all the lynx, wget, ftp requests perhaps. My local sandbox succeeds with a wget ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY, but this client's server chokes on it, whether from inside cpan or on its own on a cli.
This is a development machine on its way to being deployed. The clients are pretty happy to have a sewn up installation. Can anyone advise me what the minimum hole in the firewall is required to run cpan and what the risks associated with opening that hole are?
If such risks are found by the client to not be warranted in a production environment, what are my alterantives to copying, building and upgrading everything from source by hand?
-- Hugh
UPDATE
Thanks Hue-Bond and Corion. That iptables command doesn't seem to move me down the road. I'm stumped by this and guess I just track dependencies for a while. Sneakernet is not really an option. There's a continent between me and this server. If I were to build a local MiniCPAN here, and then scp it onto the server, how much room would that take?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cpan and iptables
by Corion (Patriarch) on Jun 25, 2006 at 20:02 UTC | |
|
Re: cpan and iptables
by Hue-Bond (Priest) on Jun 25, 2006 at 20:01 UTC | |
|
Re: OT(?): cpan and iptables
by shmem (Chancellor) on Jun 26, 2006 at 06:25 UTC | |
|
Re: OT(?): cpan and iptables
by kabeldag (Hermit) on Jun 26, 2006 at 01:57 UTC |