DokuWiki

It's better when it's simple

User Tools

Site Tools


blacklist

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
blacklist [2016-09-19 07:20] – add "-sk" to deal with SSL certificate and get rid of download statistics. & egrep to get rid of both open and closing pre adamshandblacklist [2022-01-30 00:52] (current) – adding/deleting from wordblock.local.conf Klap-in
Line 9: Line 9:
  
 IP based blocking can be done using Apache's [[http://httpd.apache.org/docs/mod/mod_access.html#deny|deny from]] directives or the [[plugin:ipban]] plugin. IP based blocking can be done using Apache's [[http://httpd.apache.org/docs/mod/mod_access.html#deny|deny from]] directives or the [[plugin:ipban]] plugin.
 +
 +===== Adding/removing block words from list =====
 +
 +You can add your own block words by creating a ''conf/wordblock.local.conf'' file and placing your abbreviations.<code - conf/wordblock.local.conf>
 +(long|loud) shouting
 +</code>
 +
 +Disable default block words by prefixing with (''!''):<code - conf/wordblock.local.conf>
 +!woww gold
 +</code>
 +
 +
  
 ===== Blacklist Sources ===== ===== Blacklist Sources =====
Line 20: Line 32:
   $> curl -sk https://meta.wikimedia.org/wiki/Spam_blacklist?action=raw | egrep -v '<?pre>' > conf/wordblock.local.conf   $> curl -sk https://meta.wikimedia.org/wiki/Spam_blacklist?action=raw | egrep -v '<?pre>' > conf/wordblock.local.conf
  
-Don't forget to create conf/wordblock.local.conf file+Don't forget to create ''conf/wordblock.local.conf'' file.
 ===== Logging of blocked Attacks ===== ===== Logging of blocked Attacks =====
  
blacklist.1474262435.txt.gz · Last modified: 2016-09-19 07:20 by adamshand

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki