summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-06-05 01:44:19 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-06-05 01:44:19 +1000
commitf3cc7ead43a796aa2f32d14b5077b9c48dcd68ec (patch)
treeb52850d389f7878bcae4cae5e87fd2d2fb141fe1 /inc/config.php
parent03b71b509e519ef6c3775ebe79eca805524abbd0 (diff)
better Tor checking (TorDNSEL) in a comment
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index e727b774..ddd7ca87 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -209,6 +209,9 @@
// DNS blacklists (DNSBL) http://www.dnsbl.info/dnsbl-list.php
$config['dnsbl'][] = 'tor.dnsbl.sectoor.de'; // Tor exit nodes
//$config['dnsbl'][] = 'dnsbl.sorbs.net';
+ // A better way to check for Tor exit nodes (https://www.torproject.org/projects/tordnsel.html.en):
+ // server-port.reverse-server-ip.ip-port.exitlist.torproject.org
+ //$config['dnsbl'][] = $_SERVER['PORT'] . '.' . '4.3.2.1' . '.ip-port.exitlist.torproject.org';
// Typically spambots try to post a lot of links. Refuse a post with X standalone links?
$config['max_links'] = 20;