|
Posted by Cosmic Cruizer on April 20, 2008, 8:21 pm
Please log in for more thread options
> _
> Cosmic Cruizer (XXjbhuntxx@white-star.com) wrote on VCCCXLIV September
> MCMXCIII in
> // > _
> // > Cosmic Cruizer (XXjbhuntxx@white-star.com) wrote on VCCCXLIV
> September // > MCMXCIII in
> I'm // > using IO::Socket to test a port on a remote server on the
> Internet // > from -- our intranet. I need to make sure I go through
> the same proxy // > server each -- time. I believe I can direct my
> port probe to use the // > proxy server as the -- default gateway,
> which would solve my problem. // > From what I can tell, --
> IO::Socket does not allow me to do that. // >
> // >
> // > Sure it does. If you are using a proxy on server
> proxy.example.com, // > you're making a socket connection to
> proxy.example.com - not to // > whatever server you are trying to
> reach through the proxy. // >
> // >
> // > -- Is there a module that will let me enter a value for a
> default // > gateway so I -- can dictate which proxy server I want to
> pass // > through?
> // >
> // >
> // > Maybe.
> // >
> // > You aren't telling us what the protocol is you are using. If
> you're // > trying to connect an HTTP server, there are several
> modules available // > that can work through a proxy server.
> // >
> // > But if it's some other protocol, you may be out of luck. Then you
> have // > to talk that protocol yourself - but you would have to do
> that with // > IO::Socket anyway.
> // >
> // >
> // > Abigail
> //
> // So for this example, let's say I have the folowing:
> //
> // Internet destination is www.internet.com port 80
> // My server is 10.10.10.5
> // The proxy servers are 10.10.10.50 and 10.10.20.50.
> //
> // I want to go from my server, through the proxy at 10.10.20.50 to
> port 80 // on www.internet.com.
>
>
> I'd use LWP::Simple.
>
>
> // Port 25 is another port I might want to touch
> on the // Internet server.
>
>
> What's an "Internet server"?
>
>
>
> Abigail
Looks like you got me pointed in the right direction. From what I'm
reading, LWP::UserAgent is what I need/want.
Thank you very much Abigail!
|