<div dir="ltr">Nicola<div><br></div><div>I think you're out of luck on this one. The proxy test is probably intended to test that the proxy is working, not that the end-point URL is working, and consequently is not a full implementation. I note that the docs/TODO file in v4.3.30 shows:</div><div><br></div><div>> <span style="color:rgb(0,0,0);white-space:pre-wrap">* https proxying (proxy CONNECT protocol)</span></div><br class="gmail-Apple-interchange-newline"><div>which suggests that CONNECT is not implemented.</div><div><br></div><div>Cheers</div><div>Jeremy</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 29 Jun 2020 at 19:31, Nicola <<a href="mailto:canne74@gmail.com">canne74@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi, I am trying to setup some squid proxy checks with Xymon 4.3.17 (or 4.3.28: I have 2 servers in manual failover).</div><div>* I added the `<span style="font-family:monospace">--bb-proxy-syntax</span>` flag to the [xymonnet] section of tasks.cfg</div><div>* I added a line with "<span style="font-family:monospace">1.1.1.1   proxy # testip <a href="http://1.1.1.1:3128/https://github.com/" target="_blank">http://1.1.1.1:3128/https://github.com/</a></span>" to hosts.cfg</div><div>* I spun up a tcpdump, and I see requests coming as "<span style="font-family:monospace">GET <a href="https://github.com/" target="_blank">https://github.com/</a> HTTP/1.1</span>" instead of the expected "<span style="font-family:monospace">CONNECT <a href="http://github.com:443" target="_blank">github.com:443</a></span>"</div><div><br></div><div>The error page states:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><pre><a href="https://www.github.com/" target="_blank">https://www.github.com/</a> - Not Implemented</pre></div></blockquote><div><br></div><div>If I use "https" as the protocol for the proxy part, I get</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><a href="https://github.com/" target="_blank">https://github.com/</a> - SSL error</div></blockquote><div><br></div><div></div><div>and</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Unspecified SSL error in SSL_connect to 30755/tcp on host <a href="http://1.1.1.1" target="_blank">1.1.1.1</a>: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol</div></blockquote><div>in the log<br> </div><div>(of course I cannot read the request through tcpdump)</div><div><br></div><div>Is there anything I am missing?</div><div><br></div><div>Thank you<br></div><div><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr">Nicola<br><br></div></div></div></div></div></div>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>