diff -urNp stunnel-4.34-orig/doc/stunnel.8 stunnel-4.34/doc/stunnel.8 --- stunnel-4.34-orig/doc/stunnel.8 2010-10-04 11:28:17.197406956 -0400 +++ stunnel-4.34/doc/stunnel.8 2010-10-04 11:29:54.500398560 -0400 @@ -165,7 +165,7 @@ info (6), or debug (7). All logs for th all levels numerically less than it will be shown. Use \fBdebug = debug\fR or \&\fBdebug = 7\fR for greatest debugging output. The default is notice (5). .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. diff -urNp stunnel-4.34-orig/doc/stunnel.pod stunnel-4.34/doc/stunnel.pod --- stunnel-4.34-orig/doc/stunnel.pod 2010-10-04 11:28:17.197406956 -0400 +++ stunnel-4.34/doc/stunnel.pod 2010-10-04 11:31:02.659398482 -0400 @@ -132,7 +132,7 @@ info (6), or debug (7). All logs for th all levels numerically less than it will be shown. Use B or B for greatest debugging output. The default is notice (5). -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. diff -urNp stunnel-4.34-orig/src/options.c stunnel-4.34/src/options.c --- stunnel-4.34-orig/src/options.c 2010-10-04 11:28:17.192398749 -0400 +++ stunnel-4.34/src/options.c 2010-10-04 11:35:34.047161189 -0400 @@ -140,8 +140,12 @@ static char *parse_global_option(CMD cmd case CMD_INIT: new_global_options.debug_level=LOG_NOTICE; #if !defined (USE_WIN32) && !defined (__vms) +#if defined(LOG_AUTHPRIV) + new_global_options.facility=LOG_AUTHPRIV; +#else new_global_options.facility=LOG_DAEMON; #endif +#endif break; case CMD_EXEC: if(strcasecmp(opt, "debug")) *** ./doc/stunnel.html.ORIG Thu May 5 13:25:32 2011 --- ./doc/stunnel.html Thu May 5 13:25:46 2011 *************** *** 190,196 **** info (6), or debug (7). All logs for the specified level and all levels numerically less than it will be shown. Use debug = debug or debug = 7 for greatest debugging output. The default is notice (5).

!

The syslog facility 'daemon' will be used unless a facility name is supplied. (Facilities are not supported on Win32.)

Case is ignored for both facilities and levels.

--- 190,196 ---- info (6), or debug (7). All logs for the specified level and all levels numerically less than it will be shown. Use debug = debug or debug = 7 for greatest debugging output. The default is notice (5).

!

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.