I can't seem to get stunnel-4.10 to log properly to syslog. Stunnel logs the startup, but doesn't log any individual tunnel information. If I specify its own file and debug = 7, it logs everything as expected. I've tried a number of different configuration combinations without success. Any thoughts?
Here's my current config snippets
- stunnel.conf debug = local0.debug
-syslog.conf local0.debug /var/log/syslog
Stunnel startup from /var/log/syslog
May 13 15:31:31 server_name stunnel[4576]: [ID 702911 local0.notice] stunnel 4.10 on sparc-sun-solaris2.9 UCONTEXT+POLL+IPv4 with OpenSSL 0.9.7f 22 Mar 2005 May 13 15:31:31 server_name stunnel[4576]: [ID 702911 local0.notice] stunnel 4.10 on sparc-sun-solaris2.9 UCONTEXT+POLL+IPv4 with OpenSSL 0.9.7f 22 Mar 2005 May 13 15:31:31 server_name stunnel[4576]: [ID 702911 local0.debug] Snagged 64 random bytes from /home/geoff/.rnd May 13 15:31:31 server_name stunnel[4576]: [ID 702911 local0.debug] Wrote 1024 new random bytes to /home/geoff/.rnd May 13 15:31:31 server_name stunnel[4576]: [ID 702911 local0.debug] RAND_status claims sufficient entropy for the PRNG May 13 15:31:31 server_name stunnel[4576]: [ID 702911 local0.info] PRNG seeded successfully May 13 15:31:31 server_name stunnel[4576]: [ID 702911 local0.debug] Certificate: /opt/local/etc/stunnel/stunnel.pem May 13 15:31:31 server_name stunnel[4576]: [ID 702911 local0.debug] Key file: /opt/local/etc/stunnel/stunnel.pem May 13 15:31:31 server_name stunnel[4576]: [ID 702911 local0.info] file ulimit = 1024 (can be changed with 'ulimit -n') May 13 15:31:31 server_name stunnel[4576]: [ID 702911 local0.info] poll() used - no FD_SETSIZE limit for file descriptors May 13 15:31:31 server_name stunnel[4576]: [ID 702911 local0.notice] 500 clients allowed May 13 15:31:31 server_name stunnel[4576]: [ID 702911 local0.notice] 500 clients allowed May 13 15:31:31 server_name stunnel[4576]: [ID 702911 local0.debug] FD 5 in non-blocking mode May 13 15:31:31 server_name stunnel[4576]: [ID 702911 local0.debug] FD 6 in non-blocking mode May 13 15:31:31 server_name stunnel[4576]: [ID 702911 local0.debug] FD 7 in non-blocking mode May 13 15:31:31 server_name stunnel[4576]: [ID 702911 local0.debug] SO_REUSEADDR option set on accept socket May 13 15:31:31 server_name stunnel[4576]: [ID 702911 local0.debug] ldaps bound to 0.0.0.0:1212 May 13 15:31:31 server_name stunnel[4577]: [ID 702911 local0.debug] Created pid file /stunnel.pid May 13 15:31:31 server_name stunnel[4577]: [ID 702911 local0.debug] Waiting -1 second(s) for 2 file descriptor(s)
-- Geoff LeBoldus Systems Programmer Information Technology Services