brandondawson.org Drupal Website Developer and Consultant

19Jun/073

Defeat Caravan.Ru Comment Spammers

I'm seeing people coming here looking for help the same way I was trying a few weeks back.

I was operating under the mistaken impression that temporarily blocking Caravan.ru IP blocks would take care of the problem, but every time I lifted the block, they came right back, usually within seconds.

Here's what you do:

1.) Get APF. (Advanced Policy Firewall) It installs very easily.

2.) Edit /etc/apf/deny_hosts.rules using your text editor of choice. (vi, nano, etc.)

3.) Add the following netblocks to this file:

212.24.32.0/22
212.24.48.0/21
212.158.160.0/21
212.24.56.0/21
212.23.128.0/20
217.23.133.0/20
212.158.168.0/21
217.23.144.0/20
62.213.64.0/19
206.74.0.0/16
144.94.0.0/16
212.24.36.0/23
217.23.128.0/20
212.158.160.0/21
212.24.56.0/21
202.53.8.0/21

Restart apf by issuing this command: /sbin/service apf restart

That should do it!

11Jun/070

Safari Available for Windows

If you're like me, and have had to develop websites for an Apple-oriented client, and you use a mix of WinXP and Linux, you are probably stoked by the fact that Apple has released a version of Safari for Windows users.

I remember one project I did where the turnaround time in communicating by e-mail, phone, and IM about differences between Firefox and Safari's rendering took a considerable amount of time, and I've always wanted my designs accessible to Mac users, so I'm pretty happy about this.

Filed under: Apple, Technology No Comments