[OLAF - Fri Dec 9 12:58:54 2005]:
Show quoted text> [guest - Fri Dec 9 10:58:22 2005]:
>
> > File Base.pm, Line 626
> >
> > $self->{'sockets'}[AF_UNSPEC]{$sock_key} = $sock;
> >
> > must be:
> >
> > $self->{'sockets'}[AF_UNSPEC]{$sock_key} = $sock if $self-
> >persistent_tcp;
> >
> >
>
> Thanks...
>
> How did you notice this bug? I ask because I would like to assess how
> painful this bug
> actually is and if I should quickly release a new version with a fix.
By reviewing before using :-/ I expect especially on servers that do
like 80.000 DNS Verifications a day and like (guessed) 5%-10% of them
truncated packets, that this will lead to SOMAXCONN issues.
I've had already an issue with that part of code with version 0.53
(see
http://thread.gmane.org/gmane.mail.postfix.policyd-weight/112) and
wanted to recheck it now, the issue I had seems to be fixed, but I
encountered that TCP Sockets are stored, regardless of persistent_*
settings - which will affect truncated UDP packets, too.
I'm not sure myself, how to priorize it. As there is no setting to avoid
it. And currently, until it is fully evaluated, I rather keep persistent
off as default.
--
rob