[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH RFC OSSTEST 02/19] Osstest/PDU: Add eth008.pm method to control the ARM rack PDU



Ian Campbell writes ("[PATCH RFC OSSTEST 02/19] Osstest/PDU: Add eth008.pm 
method to control the ARM rack PDU"):
> This controls the eth008 relay board: 
> http://www.robot-electronics.co.uk/htm/eth008tech.htm
> 
> Due to the use of the CGI interface this requires firmware version 4+.

In the future we are likely to want to have more community members
working with osstest and that probably means we want to have a less
juicy `inside' to our network.

That probably means nontrivial passwords, but it also probably means
we'll want to stop passing passwords on command lines.

> +    my $url = "http://$mo->{PDU}/io.cgi?$op$mo->{Port}=0";
> +    my $cmd = "curl --silent --user $mo->{User}:$mo->{Pass} $url";

Is there a way to do this where the password goes in a file or via an
fd ?

I'm tempted to suggest that you should use the non-CGI interface and
get the firewall fixed...

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.