Re: white-listing in hosts_allow plugin
[email protected] ("Jared Johnson")
| Newsgroups | perl.qpsmtpd |
|---|---|
| Message-ID | <[email protected]> |
> return DENYSOFT_DISCONNECT, 'Too many connections from your class C'
> if ( grep {(ip_to_int($_)&0xffffff00) == $mask}
> @{$arg->{child_addrs}} )
Though this code is still untested in its
heavily-modified-from-our-version form, I feel like I should point out
that should be @{ $arg{child_addrs} }, not @{ $arg->{child_addrs} } :)
> > $c_limit;
> return NEXT;
> }
>
-Jared