Cami Sardinha escreveu:
> Geert Hendrickx wrote:
>   
>> I have a question about the auto-whitelisting algorithm; why is it
>> implemented in greylist.c and not in cleanup.c?  The way it is done now
>> (synchronously) means an extra query ('SELECT COUNT(*) FROM triplet
>> WHERE _host='%s' AND _count > 0') for each policyd request, whereas this
>> overhead could easily be avoided by performing the auto-whitelisting and
>> the associated triplet cleaning asynchronously in the cleanup process.
>>     
>
> I guess if there was a demand for it, it could be user-configurable.
> Patches will be accepted if there is a demand for it.
>
>   

    As all servers i'm running policyd are low-medium loaded ones, 
there's no problem at all this being running on each triplet check. If 
it was user-configurable, i would configure it for the actual way (on 
each connect) and never on cleanup.


-- 


        Atenciosamente / Sincerily,
        Leonardo Rodrigues
        Solutti Tecnologia
        http://www.solutti.com.br

        Minha armadilha de SPAM, NÃO mandem email
        [EMAIL PROTECTED]
        My SPAMTRAP, do not email it





-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
policyd-users mailing list
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to