2015-01-28 19:17:07 +00:00
diff -urNp stunnel-5.10/doc/stunnel.8 stunnel-5.10-patch/doc/stunnel.8
--- stunnel-5.10/doc/stunnel.8 2015-01-22 12:00:02.000000000 -0500
+++ stunnel-5.10-patch/doc/stunnel.8 2015-01-28 13:45:17.090470207 -0500
2014-11-23 06:51:28 +00:00
@@ -202,7 +202,7 @@ info (6), or debug (7). All logs for th
2011-06-28 17:17:30 +00:00
all levels numerically less than it will be shown. Use \fIdebug = debug\fR or
\&\fIdebug = 7\fR for greatest debugging output. The default is notice (5).
2009-12-09 22:08:00 +00:00
.Sp
-The syslog facility 'daemon' will be used unless a facility name is supplied.
+The syslog facility 'authpriv' will be used unless a facility name is supplied.
(Facilities are not supported on Win32.)
.Sp
Case is ignored for both facilities and levels.
2015-01-28 19:17:07 +00:00
diff -urNp stunnel-5.10/doc/stunnel.html stunnel-5.10-patch/doc/stunnel.html
--- stunnel-5.10/doc/stunnel.html 2015-01-22 12:00:03.000000000 -0500
+++ stunnel-5.10-patch/doc/stunnel.html 2015-01-28 13:45:17.091470194 -0500
2014-11-23 06:51:28 +00:00
@@ -202,7 +202,7 @@
<p>Level is a one of the syslog level names or numbers emerg (0), alert (1), crit (2), err (3), warning (4), notice (5), info (6), or debug (7). All logs for the specified level and all levels numerically less than it will be shown. Use <i>debug = debug</i> or <i>debug = 7</i> for greatest debugging output. The default is notice (5).</p>
-<p>The syslog facility 'daemon' will be used unless a facility name is supplied. (Facilities are not supported on Win32.)</p>
+<p>The syslog facility 'authpriv' will be used unless a facility name is supplied. (Facilities are not supported on Win32.)</p>
2009-04-16 17:54:31 +00:00
<p>Case is ignored for both facilities and levels.</p>
2014-11-23 06:51:28 +00:00
2015-01-28 19:17:07 +00:00
diff -urNp stunnel-5.10/doc/stunnel.pod stunnel-5.10-patch/doc/stunnel.pod
--- stunnel-5.10/doc/stunnel.pod 2015-01-22 11:56:11.000000000 -0500
+++ stunnel-5.10-patch/doc/stunnel.pod 2015-01-28 13:45:17.091470194 -0500
2014-10-17 17:13:29 +00:00
@@ -188,7 +188,7 @@ info (6), or debug (7). All logs for th
2011-06-28 17:17:30 +00:00
all levels numerically less than it will be shown. Use I<debug = debug> or
I<debug = 7> for greatest debugging output. The default is notice (5).
2005-03-16 20:45:02 +00:00
-The syslog facility 'daemon' will be used unless a facility name is supplied.
+The syslog facility 'authpriv' will be used unless a facility name is supplied.
(Facilities are not supported on Win32.)
Case is ignored for both facilities and levels.
2015-01-28 19:17:07 +00:00
diff -urNp stunnel-5.10/src/options.c stunnel-5.10-patch/src/options.c
--- stunnel-5.10/src/options.c 2015-01-22 11:03:06.000000000 -0500
+++ stunnel-5.10-patch/src/options.c 2015-01-28 13:45:17.092470182 -0500
@@ -465,8 +465,12 @@ NOEXPORT char *parse_global_option(CMD c
2012-10-16 18:42:04 +00:00
case CMD_BEGIN:
2010-01-26 20:15:10 +00:00
new_global_options.debug_level=LOG_NOTICE;
2005-03-16 20:45:02 +00:00
#if !defined (USE_WIN32) && !defined (__vms)
+#if defined(LOG_AUTHPRIV)
2010-01-26 20:15:10 +00:00
+ new_global_options.facility=LOG_AUTHPRIV;
2005-03-16 20:45:02 +00:00
+#else
2010-01-26 20:15:10 +00:00
new_global_options.facility=LOG_DAEMON;
2005-03-16 20:45:02 +00:00
#endif
+#endif
break;
case CMD_EXEC:
if(strcasecmp(opt, "debug"))