You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jeff Trawick <tr...@attglobal.net> on 2004/03/05 12:36:39 UTC
Re: [PATCH] httpd 1.3 denial of service with multiple listening sockets
Joe Orton wrote:
> On Fri, Mar 05, 2004 at 12:58:04AM -0800, Justin Erenkrantz wrote:
>
>>--On Friday, March 5, 2004 12:53 AM -0800 Justin Erenkrantz
>><je...@apache.org> wrote:
>>
>>
>>>Doesn't that mean that ap_config.h needs to set NONBLOCK_WHEN_MULTI_LISTEN
>>>for the AIX 5.2 case? -- justin
>>
>>Realizing of course the following snippet in STATUS:
>>
>> "On AIX, this only affects
>> certain maintenance levels of 5.2 and the next kernel update will
>> revert the possibility of accept blocking, so the logic will not
>> be automatically enabled for AIX."
>>
>>I'm not sold that *not* doing this for AIX 5.2 is a good idea esp.
>>considering that's where you found this initially.
>
>
> Yeah, agreed.
fair enough ;)
> In general it might be prudent to have this feature on by
> default and hence secure by default, and whitelist it to "off" for the
> few platforms which have been tested to not have the
> select-pops-but-accept-blocks behaviour.
That was my first take, but then it became difficult to reproduce the problem
on most platforms I have access too. But there can be obscure race conditions
in a kernel that we can't hope to reproduce at will. Except when a kernel
savant can give a definitive ruling, it is best to eat the extra overhead.
>>So, I disagree. Is there some way to only enable this if you aren't
>>on the latest AIX maint. levels? (No clue what preprocessor macros
>>you have available.) -- justin