Changes

Jump to navigation Jump to search
Created page with "<span id="_top">Qpsmtpd#Plugins</span> = NAME = noop_counter - disconnect after too many consecutive NOOPs, example plugin for the hook_noop() = #___top|DE..."
<span id="_top">[[Qpsmtpd#Plugins]]</span>
= [[#___top|NAME]] =

noop_counter - disconnect after too many consecutive NOOPs, example plugin for the hook_noop()

= [[#___top|DESCRIPTION]] =

The '''noop_counter''' counts the number of consecutive <tt>NOOP</tt> commands given by a client and disconnects after a given number.

Any other command than a <tt>NOOP</tt> resets the counter.

One argument may be given: the number of <tt>NOOP</tt>s after which the client will be disconnected.

= [[#___top|NOTE]] =

This plugin should be loaded early to be able to reset the counter on any other command.

<!-- Generated Sat Apr 13 15:26:52 EDT 2019 using
perldoc -T -ohtml $plugins/$1 \|pandoc -f html -t mediawiki \|sed '1 i\\n\n\n<span id="_top">[[Qpsmtpd#Plugins]]</span>' \|sed -e 's#</d.>##'
-->
----
[[Category:Qpsmtpd|noop_counter]]

Navigation menu