Re: HashDos protection
| From: | Niklas Keller | Date: | Fri, 27 Nov 2015 13:00:31 +0000 |
| Subject: | Re: HashDos protection | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-89463@lists.php.net to get a copy of this message | ||
Currently it's not catchable, that's my main concern. If it's catchable,
it's not that much of a problem.
Regards, Niklas
2015-11-27 10:05 GMT+01:00 Yasuo Ohgaki <yohgaki@ohgaki.net>:
> Hi Nikita,
>
> On Fri, Nov 27, 2015 at 2:24 AM, Nikita Popov <nikita.ppv@gmail.com>
> wrote:
> > What are your thoughts on this?
>
> Great! This is exactly what I was thinking.
> I prefer collision counting rather than slower hash function.
>
> Hardcoded collision max (1000) seems ok for me.
> Catchable fatal error, at least E_RECOVERABLE_ERROR, is preferred, IMHO.
>
> Regards,
>
> --
> Yasuo Ohgaki
> yohgaki@ohgaki.net
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>