Xymon Mailing List Archive search

Http test behind proxy

list Kevin Hanrahan
Fri, 28 Jan 2005 13:42:51 -0500
Message-Id: <user-6083485d52e8@xymon.invalid>

Henrik,
Thank you for that info. In doing this I noticed something that may not be
considered a bug but maybe an annoyance?...you decide.

The format stated is:

 If your proxy requires authentication, you can specify the username and
password inside the proxy-part of the URL, e.g. 

    http://fred:user-a44e509d68fd@xymon.invalid:3128/http://www.foo.com/ 
will authenticate to the proxy using a username of "fred" and a password of
"Wilma1", before requesting the proxy to fetch the www.foo.com homepage


But my password contains the "@" symbol (which appears to be the delimiter
between password and proxy server) and when I used it in this example:

http://kevin:p at user-763c6dc003fa@xymon.invalid:8080/http://www.foo.com/

I got a DNS error. I am guessing it thought my proxy was "ssword" or maybe
"user-763c6dc003fa@xymon.invalid which is incorrect and could no be resolved.
Is there a way around this? 

In my case, I just created another user with a password that didn't contain
the "@" but this might not be possible for others.


-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Thursday, January 27, 2005 2:17 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Http test behind proxy
Importance: Low

On Wed, Jan 26, 2005 at 11:52:54PM -0500, Kevin Hanrahan wrote:
My Hobbit server sits behind a proxy server that requires 
authentication before it will allow access to the internet. How do I 
test external hosts (for http for instance) from here? Is there a way 
to pass credentials to the proxy server to allow access?
See the bb-hosts man-page, in the section "HTTP Testing via proxy"


Henrik