Shadow aok
19/06/2006, 23h24
Si vous en avez marre d'avoir des posts de spam en anglais sur votre forum/blog/site, simplifiez vous la vie avec un htaccess.
Il suffit de bloquer ces plages d'ip :
* 58.224.0.0 - 58.239.255.255 (Hanaro Telecom, Inc - Korea)
* 202.129.0.0 - 202.129.31.255 (CAT Telecom Public Company Ltd - Thailand)
* 221.144.0.0 - 221.168.255.255 (KOREA TELECOM - Korea)
* 211.200.0.0 - 211.200.255.255 (Hanaro Telecom, Inc - Korea)
* 211.216.0.0 - 211.225.255.255 (KOREA TELECOM - Korea)
En y mettant ces lignes :
Order Deny,Allow
Deny from 202.129.0.0/16
Deny from 211.216.0.0/10
Deny from 58.224.0.0/12
Deny from 211.200.0.0/16
Deny from 221.144.0.0/10
Allow from all
Et hop, tranquille ...
Il suffit de bloquer ces plages d'ip :
* 58.224.0.0 - 58.239.255.255 (Hanaro Telecom, Inc - Korea)
* 202.129.0.0 - 202.129.31.255 (CAT Telecom Public Company Ltd - Thailand)
* 221.144.0.0 - 221.168.255.255 (KOREA TELECOM - Korea)
* 211.200.0.0 - 211.200.255.255 (Hanaro Telecom, Inc - Korea)
* 211.216.0.0 - 211.225.255.255 (KOREA TELECOM - Korea)
En y mettant ces lignes :
Order Deny,Allow
Deny from 202.129.0.0/16
Deny from 211.216.0.0/10
Deny from 58.224.0.0/12
Deny from 211.200.0.0/16
Deny from 221.144.0.0/10
Allow from all
Et hop, tranquille ...