Patch info for syslog_fac_olc
Patch info for syslog_fac_olc
Creator | Ole Craig |
---|
Patch to Version | 3.8p4 |
---|
Type | new feature |
---|
Patch | syslog_fac_olc.patch |
---|
Status | Depreciated, use the newer patch which 'upgrades' the the -D flag instead. |
---|
Description (Full Text) | Allow you to specify a syslog facility instead of relying on DAEMON
|
---|
Author Comments
I needed stunnel to log to the MAIL facility in order to get
stunnel-wrapped imap to work correctly with my homegrown
imap-before-SMTP antirelay solution for sendmail 8. For a few
iterations, I just rebuilt stunnel with a modified log.c for each
install, but it has occurred to me that for similar reasons others
might want to change the syslog facility to which stunnel writes.
Inspired vaguely by sshd's SyslogFacility configuration parameter,
I've hacked in some code to allow runtime specification of log
facilities.
Attached is a diff against stunnel-3.8p4 which adds a new
commandline option ("-F") which accepts a syslog facility (e.g.
"mail", "DAEMON") as a parameter. I've tested this under linux 2.2.16
and OSF1 (aka Digital Unix/Compaq Tru64/whateverthehellitisthisweek)
V4.0 878. Insofar as those two are concerned it seems to work.
This website makes patches available for use by the
Internet community. However it does not endorse any of the patches
contained herein. They could be work perfectly, or totally foul up
everything. We don't know. Contact the authors if you have any
questions. Use at your own risk.
The Stunnel software package does not contain any
cryptography itself, however please remember that import and/or export of
cryptographic software, code providing hooks to cryptographic
algorithms, and discussion about cryptography is illegal in some countries.
It is imperative for you to know your local laws governing cryptography.
We're not liable for anything you do that violates your local laws.
|