summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-06-05 01:48:31 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-06-05 01:48:31 +1000
commit01e0a569e056e0dcf0d94e4c55c0ce67fbce8156 (patch)
tree41764108b1c8ed043bf9cbbbf0050db03b93ae2a /inc/config.php
parentf3cc7ead43a796aa2f32d14b5077b9c48dcd68ec (diff)
skip DNSBL check for certain IP addresses
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index ddd7ca87..b3891690 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -31,6 +31,7 @@
'custom_capcode' => Array(),
'custom_tripcode' => Array(),
'dnsbl' => Array(),
+ 'dnsbl_exceptions' => Array()
'remote' => Array()
);
// Database stuff
@@ -213,6 +214,9 @@
// server-port.reverse-server-ip.ip-port.exitlist.torproject.org
//$config['dnsbl'][] = $_SERVER['PORT'] . '.' . '4.3.2.1' . '.ip-port.exitlist.torproject.org';
+ // Skip checking certain IP addresses against blacklists (for troubleshooting or whatever)
+ $config['dnsbl_exceptions'][] = '127.0.0.1';
+
// Typically spambots try to post a lot of links. Refuse a post with X standalone links?
$config['max_links'] = 20;
// Maximum number of cites per post (protects against abuse)