Re: [Nagios-devel] nsca libwrap support

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] nsca libwrap support

Post 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]
Locked