[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with MaxSameIpSource





On Wed, 2 Jul 2003, Eugene Crosser wrote:

> On the other hand, it seems only appropriate if Zmailer's
> MaxSameIpSource feature would be per-IPrange-controllable.  I wonder if
> it could be possible to, e.g, combine MaxSameIpSource feature with
> policy's "rejectnet" key, so that the current "rejectnet +" is
> equivalent to newly introduced "maxconnect 0", while "[0.0.0.0]/0
> maxconnect 100" is equivalent to the current default.
>
> Given that sameipcount is actually checked inside the child, this sould
> not be too hard.  What do you think?  Or maybe some other good advice
> for me?

sameipcount is checked in parent: "if (sameipcount > 4 * MaxSameIpSource)"
then in child initialization: "if (sameipcount > MaxSameIpSource && sameipcount > 1)"

Later you can lower limit (and reject connection) but can't raise.

-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi