Re: xinetd bug or new DoS attack?

David Cook <[email protected]> Mon, 5 Jan 2004 11:27:37 -0500
Newsgroups gmane.network.xinetd
Message-ID <[email protected]>
> Hmmm. The man 2 accept page says:
> 
> EMFILE The per-process limit of open file descriptors has been
> reached.
> 
> ENFILE The system maximum for file descriptors has been reached.
> 
> I guess I overlooked one. It should be an 'OR' condition...I just
> fixed it in cvs. You can find the patch here:

I agree - though in my original report (and all the instances we've seen)
the only error actually being reported (generated) is EMFILE - but of course,
both ENFILE and EMFILE should be trapped in there.

I've updated both builtin.c and connection.c as per your changes and will
let you know if/when we see the new message appear.

Thanks for your speedy turnaround!!