<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=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Lucida Console";
panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
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;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I’ve upgraded my stunnel from version 5.44 to 5.45.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">After reloading the configuration of stunnel (via pkill -sighup stunnel) several times, I’ve stumbled about missing syslogs.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Only the loading of the configuration file was still visible.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Then I’ve noticed, that greping the syslog for stunnel was my mistake.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Stunnel doesn’t log its process name after reloading the configuration file the second time (see logs below)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Can someone verify, or is it just me, or some configuration I’m missing?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">BTW: I’ve reproduced the “problem” also for the version 5.48 as you can see from the logs. With version 5.44 stunnel always logged its process name to syslog.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Syslog output for greping after “stunnel”:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 17 13:41:14 <user> stunnel: LOG5[ui]: stunnel 5.48 on armv7l-unknown-linux-gnueabihf platform<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 17 13:41:14 <user> stunnel: LOG5[ui]: Compiled/running with OpenSSL 1.0.2p 14 Aug 2018<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 17 13:41:14 <user> stunnel: LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 17 13:41:14 <user> stunnel: LOG5[ui]: Reading configuration from file /home/pi/stunnel.conf<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 17 13:41:14 <user> stunnel: LOG5[ui]: UTF-8 byte order mark not detected<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 17 13:41:14 <user> stunnel: LOG5[ui]: FIPS mode disabled<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 17 13:41:14 <user> stunnel: LOG4[ui]: Insecure file permissions on /home/pi/psk.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 17 13:41:14 <user> stunnel: LOG4[ui]: Insecure file permissions on /home/pi/psk.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 17 13:41:14 <user> stunnel: LOG5[ui]: Configuration successful<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">---------------- Reloading the configuration the first time -----------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 17 13:41:21 <user> stunnel: LOG5[main]: Reading configuration from file /home/pi/stunnel.conf<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 17 13:41:21 <user> stunnel: LOG5[main]: UTF-8 byte order mark not detected<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 17 13:41:21 <user> stunnel: LOG5[main]: FIPS mode disabled<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 17 13:41:21 <user> stunnel: LOG4[main]: Insecure file permissions on /home/pi/psk.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 17 13:41:21 <user> stunnel: LOG4[main]: Insecure file permissions on /home/pi/psk.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 17 13:41:21 <user> stunnel: LOG5[main]: Configuration successful<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">---------------- Reloading the configuration a second time ------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 17 13:41:26 <user> : LOG5[main]: Reading configuration from file /home/pi/stunnel.conf<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">My configuration file:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Lucida Console"">[PSK client]<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Lucida Console"">client = yes<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Lucida Console"">accept = <listen address><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Lucida Console"">connect = <remote address><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Lucida Console"">PSKsecrets = /home/pi/psk.txt<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Lucida Console""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Lucida Console"">[PSK server]<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Lucida Console"">accept = <listen address><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Lucida Console"">connect = <remote address><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:"Lucida Console"">PSKsecrets = /home/pi/psk.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE">Sven Reschke<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE">Embedded System SW Developer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE">G-TS/P<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE">Volkswagen Infotainment GmbH<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE">Universit�tsstr. 140<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE">44799 Bochum<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:DE">Mobile</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE">
<span style="color:black">+49 1525-887 2762<o:p></o:p></span></span></p>
<p class="MsoNormal"><u><span style="font-size:10.0pt;font-family:"Times New Roman","serif";color:blue;mso-fareast-language:DE"><a href="mailto:sven.reschke@volkswagen-infotainment.com">sven.reschke@volkswagen-infotainment.com</a></span></u><u><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;mso-fareast-language:DE">
</span></u><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE"><a href="http://www.volkswagen-infotainment.com/"><span style="font-family:"Times New Roman","serif";color:blue">http://www.volkswagen-infotainment.com</span></a>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE">Sitz der Gesellschaft: Wolfsburg<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE">Amtsgericht Braunschweig: HRB 204780<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE">Gesch�ftsf�hrung: Bernhard Krau�e (Sprecher), Tobias Nadjib<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>