<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, Apr 8, 2016 at 3:27 PM Phil Crooker <<a href="mailto:Phil.Crooker@orix.com.au" target="_blank">Phil.Crooker@orix.com.au</a>> wrote:<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif"><div><div name="divtagdefaultwrapper" style="font-family:Calibri;font-size:12pt"><span lang="en-AU"><div dir="ltr"><span style="color:rgb(33,33,33);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">I found if I remove the "options banner" from the protocols.cfg entry, the TCPtest error goes away. The entries now just have the port number:</span><br></div></span></div></div></div><div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif"><div style="color:rgb(33,33,33)"><div dir="ltr"><div class="gmail_quote">
<p><span style="font-size:12pt"> [squid]</span><br></p><p>
   port 3128</p></div></div></div></div></blockquote></div><div dir="ltr"><div class="gmail_quote"><div>Phil, so you were asking for a banner, but not sending anything?  This may be your problem.  Both HTTP proxy and CVS protocols return nothing until you send something.  Eventually it will time out and close the connection, which may be why you received an error code "1" even though the socket connected OK.  Perhaps try something like so (untested):</div><div><br></div><div>[squid]</div><div>   send "HEAD / HTTP/1.0\r\n\r\n"<br></div><div>   expect "HTTP/1.1"</div><div>   options banner<br></div><div><div>   port 3128</div></div><div><br></div><div>[cvs]</div><div>   send "BEGIN VERIFICATION REQUEST\n\nxymon\n\nEND VERIFICATION REQUEST\n"<br></div><div>   expect "I .... YOU"</div><div>   options banner</div><div><div>   port 2401</div></div><div><br></div><div>These "send" strings not only cause a normal squid/cvs server to close a connection promptly, they also cause the server to send something that can be displayed in the banner.</div><div><br></div><div>Cheers</div><div>Jeremy</div><div><br></div></div></div></div>