Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

How to block the three last octet of an IP address ?

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


frames at lct

Sep 6, 2008, 3:37 AM

Post #1 of 3 (328 views)
Permalink
How to block the three last octet of an IP address ?

Hello


I only found a way to block the last two octets of an IP address with
nnn.mmm.0.0/16.
Is there a possibility to block the three last octets like :
nnn.0.0.0/8 (which does not work).

(I have a Wiki in french "visited" every day by several chinese people
trying to use it for some political propaganda)

Thanks
François Colonna


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


michael.daly at kayakwiki

Sep 6, 2008, 10:51 AM

Post #2 of 3 (300 views)
Permalink
Re: How to block the three last octet of an IP address ? [In reply to]

Frames Project wrote:

> I only found a way to block the last two octets of an IP address with
> nnn.mmm.0.0/16.
> Is there a possibility to block the three last octets like :
> nnn.0.0.0/8 (which does not work).


In LocalSettings.php, put:

$wgCIDRlimit = 8;

This will have a performance impact on a very busy wiki, apparently.

You should consider installing SpamBlacklist and one of the Captcha
extensions. That got rid of the Chinese spammers on my wiki.




_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


frames at lct

Sep 18, 2008, 2:05 PM

Post #3 of 3 (237 views)
Permalink
Re: How to block the three last octet of an IP address ? [In reply to]

Le samedi 06 septembre 2008 à 13:51 -0400, Michael Daly a écrit :
> Frames Project wrote:
>
> > I only found a way to block the last two octets of an IP address with
> > nnn.mmm.0.0/16.
> > Is there a possibility to block the three last octets like :
> > nnn.0.0.0/8 (which does not work).
>
>
> In LocalSettings.php, put:
>
> $wgCIDRlimit = 8;
>

It did it without any effect.
> This will have a performance impact on a very busy wiki, apparently.
>
> You should consider installing SpamBlacklist and one of the Captcha
> extensions. That got rid of the Chinese spammers on my wiki.
>
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l[at]lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.