The server is configured to use TCP. <br>Argh, it didn't occur to me that the 'CONNECTED' is actually client speaking instead of from the VPN server.  That would explain why it fails all the time!  <br>Well, what about just to see if I can open tcp connection to that port (Again, the HMAC secret probably will get in the way of establishing a true SSL connection)?
<br><br><br><br><br><div><span class="gmail_quote">On 8/28/06, <b class="gmail_sendername">Henrik Stoerner</b> <<a href="mailto:henrik@hswn.dk">henrik@hswn.dk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, Aug 25, 2006 at 10:09:50AM -0400, Jerry Yu wrote:<br>> I need to monitor OpenVPN service on a remote server (OpenVPN is<br>> already monitored as a PROC locally on that server)<br>><br>> OpenVPN is SSL-based, so, I made up a service entry as below. The test
<br>> is failing, got 'unexpected service response'm w/o any data. Because a<br>> shared HMAC secret is used for this OpenVPN server, a connection<br>> attempt w/o the HMAC secret will not be able to get the certificate
<br>> (maybe this is why it fails?).<br><br>In the default configuration, OpenVPN is only UDP traffic - Hobbit has<br>no support for communicating with this type of service.<br><br>Assuming you did configure OpenVPN for TCP, then it is likely that the
<br>SSL protocol is either wrapped inside an OpenVPN header, or some OpenVPN<br>traffic needs to precede the actual SSL handshake.<br><br>> [openvpn]<br>> expect "CONNECTED(00000003)"<br>> option ssl<br>
> port 12345<br><br>That "expect" string will never match; the "CONNECTED" string is a<br>debugging output from the OpenSSL "s_client" utility.<br><br>Your best bet is probably to enable the OpenVPN management service, and
<br>check that with a normal "http" status check.<br><br><br>Regards,<br>Henrik<br><br><br>To unsubscribe from the hobbit list, send an e-mail to<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk
</a><br><br><br></blockquote></div><br>