<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 2013-07-08 16:34, Szajt, Pablo
      wrote:<br>
    </div>
    <blockquote
      cite="mid:F9D3C9263781C9498FE9B1DB0F7950E51D5C5B53@MAIL1S2.hydro.mb.ca"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (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:Papyrus;
        panose-1:3 7 5 2 6 5 2 3 2 5;}
/* 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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@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]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size:10.0pt;color:black">I
            have the task to install a secure syslog server using
            syslog-ng and stunnel. <br>
            The Syslog server is a Solaris 10 and Syslog clients are
            HP-UX 11.31. <br>
            <br>
            I've spent already so many hours and I cannot make it run
            properly. <br>
            I know syslog-ng works well without stunnel. <br>
            <br>
            I'm pretty sure someone is already using it. I'd like to
            have step by step installation process. I have no issue if I
            have to start from scratch.
          </span><br>
        </p>
      </div>
    </blockquote>
    There are several HOWTOs available, e.g.:<br>
    <a class="moz-txt-link-freetext" href="http://www.linuxhowtos.org/Security/stunnel.htm">http://www.linuxhowtos.org/Security/stunnel.htm</a><br>
    <a class="moz-txt-link-freetext" href="https://www.linux.com/community/blogs/133-general-linux/9486">https://www.linux.com/community/blogs/133-general-linux/9486</a><br>
    although their approach is *not* the best one.<br>
    <br>
    The right solution is to setup inetd-mode stunnel configuration
    files (without any [service sections]), e.g.:<br>
      client=yes<br>
      connect=www.server.com:12345<br>
      cafile=server.pem<br>
      verify=4<br>
    on the client, and:<br>
      accept=12345<br>
      cert=server.pem<br>
      key=server.key<br>
    on the server.<br>
    <br>
    Stunnel should then be invoked with the "program()" driver of
    syslog-ng:<br>
     
<a class="moz-txt-link-freetext" href="http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.3-guides/en/syslog-ng-ose-v3.3-guide-admin-en/html/configuring_destinations_program.html">http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.3-guides/en/syslog-ng-ose-v3.3-guide-admin-en/html/configuring_destinations_program.html</a><br>
    <br>
    Mike<br>
  </body>
</html>