Page 1 of 1

Re: [Nagios-devel] nsca libwrap support

Posted: Mon Oct 27, 2003 10:09 pm
by Guest
Thanks - I'll get this patched tonight.

On 24 Oct 2003 at 8:59, Mark Ferlatte wrote:

> Attached is a patch for nsca.c (as of CVS this morning), that fixed
> the recently added TCP wrappers support. Tested in both --single and
> --daemon modes.
>
> I moved the libwrap check up to just after the accept() and prior to
> the fork() in MULTI_PROCESS mode so that rejected attempts don't cause
> process creation (trivial DoS attack). I also fixed the reject logic;
> the reject() function calls exit(), which broke single mode.
>
> Let me know if the patch requires cleanup.
>
> M
>



Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]