<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Verdana",sans-serif;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Most O/S will either prevent renaming a file that is in use (or deleting it).  Some will – but they will actually continue to write to the old file (and if that file was deleted then it writes to a file you can nexer see).  Since I generally use AIX it is the second feature I see.  We have systems with over 500 connections via stunnel – it never rests, and rolling the log file is not easy.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I can easily provide a code fix for stunnel that we use in out software.  It allows daily logs, sized logs, etc.  And it rolls properly.  The downside is we open the log, write to it, and close it – each time – which is not efficient.  Given modern computers I have come to not care.  So the open routine either opens (append) a daily file or it looks up the file and gets the size and decides to move it (or not).  The second is not perfect … if three other processes have it open at the moment they will finish writing to that log.  Who cares?  As long as the logging is always opening and closing the “bleed over” is minimized.  <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>If people want me to do this, I will – if they can tell me the log routines it would speed me some, preventing from having to search for them.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>We like and prefer the daily logs – it is clean as you get one per day.  As long as one day is never too huge it is great and we have daemons that remove logs over xx number of days (although I could add a simple parameter for that as well and simply kill those files).<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>This is an annoying problem – especially for multi-O/S software – but one I am good at.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Eric<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> stunnel-users [mailto:stunnel-users-bounces@stunnel.org] <b>On Behalf Of </b>Daniel Trickett<br><b>Sent:</b> Wednesday, September 12, 2018 11:16 AM<br><b>To:</b> Tom Hood <tom.w.hood@gmail.com><br><b>Cc:</b> stunnel-users@stunnel.org<br><b>Subject:</b> Re: [stunnel-users] stunnel log rolling<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'>Hi Tom,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'>Is what you refer to? I think the open and re-open only happen when the service is stopped and restarted. It hasn’t rolled over like Apache in my short experience.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:13.5pt;font-family:"Times New Roman",serif;color:black'>log</span></b><span style='font-size:13.5pt;font-family:"Times New Roman",serif;color:black'> = append | overwrite<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'><span style='font-size:13.5pt;font-family:"Times New Roman",serif;color:black'>log file handling<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'><span style='font-size:13.5pt;font-family:"Times New Roman",serif;color:black'>This option allows you to choose whether the log file (specified with the <i>output</i> option) is appended or overwritten when opened or re-opened.<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'><span style='font-size:13.5pt;font-family:"Times New Roman",serif;color:black'>default: append<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif;color:black'>Best regards,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana",sans-serif;color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif;color:black'>Dan<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana",sans-serif;color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif;color:black'>Daniel</span><span style='font-family:"Arial",sans-serif;color:black'> </span><span style='font-family:"Verdana",sans-serif;color:black'>Trickett</span><span style='font-family:"Arial",sans-serif;color:black'> </span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif;color:black'>Head of Database Services | MBS Business Technology<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif;color:#0068B0'>BX-TCS-O Oracle ERP</span><span style='font-family:"Verdana",sans-serif;color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-family:"Verdana",sans-serif;color:#1F497D'>Business Services of Merck KGaA, Darmstadt, Germany</span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><b><i><span style='font-family:"Verdana",sans-serif;color:red'><o:p> </o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-size:12.0pt;font-family:"Verdana",sans-serif;color:red'>Planned Absence –<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span style='font-family:"Verdana",sans-serif;color:red'><o:p> </o:p></span></i></b></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:black'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:14.0pt;font-family:"Verdana",sans-serif;color:#0F69AF'>MilliporeSigma</span></b><span style='font-size:12.0pt;color:black'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:9.0pt;font-family:"Verdana",sans-serif;color:#1F497D'>A business of Merck KGaA, Darmstadt, Germany</span><span style='font-size:12.0pt;color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:black'>  </span><span style='font-size:12.0pt;color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:black'>EMD Millipore Corporation | 80 Ashby Road | Bedford, MA 01730 | USA</span><span style='font-size:12.0pt;color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:black'>office 781-533-3017 |cell 978-761-3506 |email </span><u><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:blue'><a href="mailto:daniel.trickett@emdmillipore.com"><span style='color:#0563C1'>daniel.trickett@emdmillipore.com</span></a></span></u><span style='font-size:12.0pt;color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:black'> </span><span style='font-size:12.0pt;color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><b>From:</b> Tom Hood <<a href="mailto:tom.w.hood@gmail.com">tom.w.hood@gmail.com</a>> <br><b>Sent:</b> Wednesday, September 12, 2018 1:10 PM<br><b>To:</b> Daniel Trickett <<a href="mailto:daniel.trickett@emdmillipore.com">daniel.trickett@emdmillipore.com</a>><br><b>Cc:</b> <a href="mailto:stunnel-users@stunnel.org">stunnel-users@stunnel.org</a><br><b>Subject:</b> Re: [stunnel-users] stunnel log rolling<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Hi Daniel,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The trick is how to roll the logs without an interruption of service (i.e. without a stunnel restart).  I believe stunnel claims to support this, but I think the feature might be broken in 5.49<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks,<o:p></o:p></p></div><div><p class=MsoNormal>-- Tom<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Wed, Sep 12, 2018 at 5:43 AM Daniel Trickett <<a href="mailto:daniel.trickett@emdmillipore.com">daniel.trickett@emdmillipore.com</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Verdana",sans-serif'>Tom,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Verdana",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Verdana",sans-serif'>Kill the stunnel process. Then mv the log. This will allow stunnel to right to a new log file.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Verdana",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Verdana",sans-serif;color:black'>Best regards,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.0pt;font-family:"Verdana",sans-serif;color:black'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Verdana",sans-serif;color:black'>Dan</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.0pt;font-family:"Verdana",sans-serif;color:black'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Verdana",sans-serif;color:black'>Daniel</span><span style='font-family:"Arial",sans-serif;color:black'> </span><span style='font-family:"Verdana",sans-serif;color:black'>Trickett</span><span style='font-family:"Arial",sans-serif;color:black'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Verdana",sans-serif;color:black'>Head of Database Services | MBS Business Technology</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Verdana",sans-serif;color:#0068B0'>BX-TCS-O Oracle ERP</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB style='font-family:"Verdana",sans-serif;color:#1F497D'>Business Services of Merck KGaA, Darmstadt, Germany</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><i><span style='font-family:"Verdana",sans-serif;color:red'> </span></i></b><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><i><span style='font-size:12.0pt;font-family:"Verdana",sans-serif;color:red'>Planned Absence –</span></i></b><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><i><span style='font-family:"Verdana",sans-serif;color:red'> </span></i></b><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:black'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:14.0pt;font-family:"Verdana",sans-serif;color:#0F69AF'>MilliporeSigma</span></b><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB style='font-size:9.0pt;font-family:"Verdana",sans-serif;color:#1F497D'>A business of Merck KGaA, Darmstadt, Germany</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:black'>  </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:black'>EMD Millipore Corporation | 80 Ashby Road | Bedford, MA 01730 | USA</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:black'>office 781-533-3017 |cell 978-761-3506 |email </span><u><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:blue'><a href="mailto:daniel.trickett@emdmillipore.com" target="_blank"><span style='color:#0563C1'>daniel.trickett@emdmillipore.com</span></a></span></u><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:8.0pt;font-family:"Verdana",sans-serif;color:black'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Verdana",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>From:</b> stunnel-users <<a href="mailto:stunnel-users-bounces@stunnel.org" target="_blank">stunnel-users-bounces@stunnel.org</a>> <b>On Behalf Of </b>Tom Hood<br><b>Sent:</b> Tuesday, September 11, 2018 5:02 PM<br><b>To:</b> <a href="mailto:stunnel-users@stunnel.org" target="_blank">stunnel-users@stunnel.org</a><br><b>Subject:</b> [stunnel-users] stunnel log rolling<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hi,<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I'm new to stunnel and it isn't clear to me how the log rolling feature works.<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I built stunnel 5.49 with gcc 4.2.0 on Solaris 10.  I'm running it on Solaris 11.3 SPARC.  Using openssl 1.0.2p<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>The config file has disabled syslog and is logging to stunnel.log.<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Command line is:  stunnel stunnel.conf<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>where stunnel.conf contains the following:<o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>syslog = no</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>output = stunnel.log</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>debug = 7</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>[service-exterior]</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>client = no</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>options = NO_SSLv2</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>options = NO_SSLv3</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>options = NO_TLSv1</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>options = NO_TLSv1.1</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>options = -NO_TLSv1.2</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>cert = /path/to/stunnel.pem</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>curve = zzz</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>accept = testhost:32100</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>connect = <a href="http://127.0.0.1:32200" target="_blank">127.0.0.1:32200</a></span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>[service-interior]</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>client = yes</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>options = NO_SSLv2</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>options = NO_SSLv3</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>accept = <a href="http://127.0.0.1:32200" target="_blank">127.0.0.1:32200</a></span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>connect = <a href="http://127.0.0.1:32100" target="_blank">127.0.0.1:32100</a></span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>sslVersion = TLSv1</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>ciphers = zzz</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>TIMEOUTconnect = 60</span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>The log rollowing steps I tried that don't work are:<o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>mv stunnel.log stunnel.log.1</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>kill -USR1 <stunnelpid></span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>The log message "LOG7[main]: Processing SIGNAL_REOPEN_LOG" shows up in stunnel.log.1. However, new client connections to host:32100 do not trigger creation of a new stunnel.log file.  In fact, logging stops to stunnel.log.1 as soon as the USR1 is processed.  The new client connections work as before, but there isn't any logging.<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I restarted stunnel and tried the test again with these steps:<o:p></o:p></p></div><div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>mv stunnel.log stunnel.log.1</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>touch stunnel.log</span><o:p></o:p></p></div><div style='margin-left:30.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Courier New"'>kill -USR1 <stunnelpid></span><o:p></o:p></p></div></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>That also doesn't work.<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Please let me know the correct sequence of steps to roll the stunnel.log<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thank you,<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>-- Tom<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></div></div><p style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:0in;margin-left:27.0pt;margin-bottom:.0001pt'><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'> </span><o:p></o:p></p><p style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:0in;margin-left:27.0pt;margin-bottom:.0001pt'><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'>This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person. If you have received this transmission in error, please notify the sender immediately and delete the message and any attachment from your system. Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not accept liability for any omissions or errors in this message which may arise as a result of E-Mail-transmission or for damages resulting from any unauthorized changes of the content of this message and any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not guarantee that this message is free of viruses and does not accept liability for any damages caused by any virus transmitted therewith.</span><o:p></o:p></p><p style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:0in;margin-left:27.0pt;margin-bottom:.0001pt'><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'> </span><o:p></o:p></p><p style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:0in;margin-left:27.0pt;margin-bottom:.0001pt'><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'>Click </span><span style='font-size:8.0pt;font-family:"Arial",sans-serif'><a href="http://www.emdgroup.com/emd/imprint/mail_disclaimer.html" target="_blank">http://www.emdgroup.com/emd/imprint/mail_disclaimer.html</a><span style='color:gray'> to access the German, French, Spanish and Portuguese versions of this disclaimer.</span></span><o:p></o:p></p></div></blockquote></div><p style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:27.0pt;margin-bottom:.0001pt'><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'> <o:p></o:p></span></p><p style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:27.0pt;margin-bottom:.0001pt'><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'>This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person. If you have received this transmission in error, please notify the sender immediately and delete the message and any attachment from your system. Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not accept liability for any omissions or errors in this message which may arise as a result of E-Mail-transmission or for damages resulting from any unauthorized changes of the content of this message and any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not guarantee that this message is free of viruses and does not accept liability for any damages caused by any virus transmitted therewith.<o:p></o:p></span></p><p style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:27.0pt;margin-bottom:.0001pt'><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'> <o:p></o:p></span></p><p style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:27.0pt;margin-bottom:.0001pt'><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:gray'>Click </span><span style='font-size:8.0pt;font-family:"Arial",sans-serif'><a href="http://www.emdgroup.com/emd/imprint/mail_disclaimer.html">http://www.emdgroup.com/emd/imprint/mail_disclaimer.html</a><span style='color:gray'> to access the German, French, Spanish and Portuguese versions of this disclaimer.</span><o:p></o:p></span></p></div></body></html>