[syslog-ng]patch for adding tcp wrappers to syslog-ng?

Balazs Scheidler bazsi@balabit.hu
Sat, 27 Oct 2001 11:37:17 +0200


On Fri, Oct 26, 2001 at 11:56:15PM -0400, Ed Ravin wrote:
> I just patched my copy of syslog-ng-1.5.10 to use tcp wrappers - I want
> to strictly control who is allowed to talk to my log server, and since
> we do everything else at my shop with TCP wrappers, it seemed sensible
> to add it in.  I am running NetBSD 1.5.2, which provides the tcp wrappers
> code as part of the base OS.  The only other change needed was to
> add "-lwrap" to the link flags.
> 
> Is there interest in this feature?  The patch below is only for incoming
> TCP connections - I don't see the point of putting it in for udp, as the
> packets are trivially spoofable.  I haven't had much time to review the
> syslog-ng code, so I suspect this is not the best way to apply the patch:
> on second thought, it seems it might belong in libol.

Thanks for your contribution. As there was feature requests for this
earlier, I added your patch to my CVS tree. (the location where you added it
is completely sensible)

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1