<div dir="ltr">Hi all, <div><br></div><div>Don't want to be a nuisance and repost, but I'm really having an issue here.  </div><div><br></div><div>As a test, I've tried stud (<a href="https://github.com/bumptech/stud">https://github.com/bumptech/stud</a>), and apart from the fact with the default combination the ciphers and security are incorrect (BEAST/CRIME vulnerable), the issue doesn't seem to exhibit itself at all.  Yet without fail every time I test it with stunnel on, it hard crashes silently whilst going through the test.  I did this test as I wanted to check if it was an issue with my build of stunnel, or something further down the stack (openssl/libcrypto, etc), however this could be a misnomer as there may be a corrupt library/dependency that stunnel is using that stud doesn't.</div>
<div><br></div><div style>I've confirmed that the packages are the same on both servers, the first (former primary) crashes predictably, the second is perfectly fine.  Running stunnel with debug logging (7) on returns nothing of note, just shows the last connection.  And I also seem to not get anything useful tracing the crash with strace.</div>
<div style><br></div><div style>Finally, I've tried downgrading stunnel, as well as trying a new build (4.56), then finally rebooting the machine (hey, it should work... right?!), but I'm still seeing the same behaviour.</div>
<div style><br></div><div style>Short of wiping the machine completely and re-installing, can anyone think of anything else I can try?</div><div style><br></div><div style>Alf</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, May 9, 2013 at 6:32 PM, Alfred Kernaghan <span dir="ltr"><<a href="mailto:alfakern@gmail.com" target="_blank">alfakern@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi, <div><br></div><div>Long time lurker, new poster though!</div><div><br></div><div>I've got two servers running Stunnel v2.54 (yet to upgrade as I've been waiting for an x-forwardfor patch to become available).  I noticed recently that one Stunnel nodes had exited, requiring a restart.  I'm not sure if it's a co-incidence, but I've only just changed the cert on both installs last night.</div>

<div><br></div><div>This, of course, is very concerning as it's only just become a problem, but being the core SSL endpoint, it knocks our server offline until it's restarted.</div><div><br></div>
<div>Now comes the interesting bit, I've run the SSL Labs SSL Health check at <a href="https://www.ssllabs.com/ssltest/" target="_blank">https://www.ssllabs.com/ssltest/</a> just to see if anything comes out of it, and noticed that without fail every time it runs (and the first server is online) it'll know Stunnel offline as it goes through it's tests:<br>

<i>"Testing TLS v1.0...."<br>"Testing TLS v1.2...."</i></div><div><i>-- SERVER OFFLINE --</i></div><div><br></div><div>This was noticed by a fluke, but appears to happen every time I restart and then rerun the test.</div>

<div><br></div><div>I'm not getting any segfaults, or errors from stunnel, and it only affects the one (primary) server.  Can anyone shed any light as to what might be causing it, how I can get any more info out of stunnel, or better yet, fix it completely?</div>

<div><br></div><div>Thanks all</div><div><br></div><div>Alfie</div><div><br></div></div>
</blockquote></div><br></div>