On Thu, 17 Jan 2008 10:55:38 -0500 "mike.ashton" <[EMAIL PROTECTED]> wrote:
> What dnswl flags in plugins are you setting to get it to skip early talker? > Of course dnswl is called first, is that all that is required? I'm running this in an... let's say... unsupported environment (with hook_skip) ;-) You can easily wrap the earlytalker plugin like shown below. Don't know if it works, written just here. For apache use apr_(connect|data)_handler as sub names (and in the SUPER:: calls). # dnswl_earlytalker, load instead of check_earlytalker with same args sub init { my ($self,$qp,@args) = @_; $self->isa_plugin("check_earlytalker"); } sub connect_handler { my ($self, $transaction) = @_; my $score = $self->qp->connection->notes("dnswl") || -1; return (DECLINED) unless $score < 0; # not found in DB (or set to invalid value) $self->SUPER::connect_handler($transaction); } sub data_handler { my ($self, $transaction) = @_; my $score = $self->qp->connection->notes("dnswl") || -1; return (DECLINED) unless $score < 0; $self->SUPER::data_handler($transaction); } # END