summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-10-12 15:03:51 -0400
committerAdam <Adam@anope.org>2014-10-12 15:03:51 -0400
commit67719e8db1c4c5afecee3b7646adc407c9677774 (patch)
treec7cda791d9afe36cce790af2cd0e4bd6645daea0 /data
parent48be41cf7b9e8e3390114236be0c099149060791 (diff)
Add exempts and optionally allow authenticated users past m_dnsbl
Diffstat (limited to 'data')
-rw-r--r--data/modules.example.conf50
1 files changed, 41 insertions, 9 deletions
diff --git a/data/modules.example.conf b/data/modules.example.conf
index a51ef7226..be4725816 100644
--- a/data/modules.example.conf
+++ b/data/modules.example.conf
@@ -124,26 +124,58 @@ module { name = "help" }
* %g is the realname of the user
* %h is the hostname of the user
* %i is the IP of the user
- * %r is the reason (configured below). Will be nothing if not configured.
+ * %r is the reply reason (configured below). Will be nothing if not configured.
* %N is the network name set in networkinfo:networkname
*/
reason = "You are listed in the efnet RBL, visit http://rbl.efnetrbl.org/?i=%i for info"
- /* Replies to ban and their reason. If this is totally omitted all replies get banned. */
- 1 = "Open Proxy"
- /* Don't ban for result 2 or 3 */
- #2 = "spamtrap666"
- #3 = "spamtrap50"
- 4 = "TOR"
- 5 = "Drones / Flooding"
+ /* Replies to ban and their reason. If no relies are configured, all replies get banned. */
+ reply
+ {
+ code = 1
+ reason = "Open Proxy"
+ }
+
+ #reply
+ {
+ code = 2
+ reason = "spamtrap666"
+ }
+
+ #reply
+ {
+ code = 3
+ reason = "spamtrap50"
+ }
+
+ reply
+ {
+ code = 4
+ reason = "TOR"
+
+ /*
+ * If set, users identified to services at the time the result comes back
+ * will not be banned.
+ */
+ #allow_account = yes
+ }
+
+ reply
+ {
+ code = 5
+ reason = "Drones / Flooding"
+ }
}
- blacklist
+ #blacklist
{
name = "dnsbl.dronebl.org"
time = 4h
reason = "You have a host listed in the DroneBL. For more information, visit http://dronebl.org/lookup_branded?ip=%i&network=%N"
}
+
+ /* Exempt localhost from DNSBL checks */
+ exempt { ip = "127.0.0.1" }
}
/*