Naughty #24

wants to merge 16 commits into


None yet
1 participant

msimerson commented Jun 4, 2012

naughty - dispose of naughty connections

Rather than immediately terminating naughty connections, plugins often mark
the connections and dispose of them later. Examples are B, B,
B, B<resolvable_fromhost> and B.

Disconnecting later is inefficient because other plugins continue to do their
work, oblivious to the fact that the connection is destined for the bit bucket.

Naughty provides plugins with an efficient way to offer late disconnects. It
does this by allowing other plugins to detect that a connection is naughty.
For efficiency, other plugins should skip processing naughty connections.
Plugins like SpamAssassin and DSPAM can benefit from using naughty connections
to train their filters.

Instead of each plugin handling cleanup, B does it. Set I to
the hook you prefer to reject in and B will reject the naughty
connections, regardless of who identified them, exactly when you choose.

@msimerson msimerson closed this Aug 5, 2013

@msimerson msimerson deleted the msimerson:naughty branch Sep 10, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment