```json
{
    "title": "More Stupid Trackback and Comment Spammers",
    "url": "https://performancezen.com/2005/06/02/more-stupid-trackback-and-comment-spammers/",
    "datePublished": "2005-06-02",
    "dateModified": "2022-04-18",
    "language": "en-US",
    "description": "Ok, started to notice a dramtic and sudden increase in traffic to my site yesterday. Turns out that all of these folks were headed to the same place at this…",
    "author": "spierzchala",
    "publisher": "Performance Zen"
}
```

# More Stupid Trackback and Comment Spammers

Ok, started to notice a dramtic and sudden increase in traffic to my site yesterday. Turns out that all of these folks were headed to the same place at this host:

```
/index.php?disp=stats
```

So, when I checked this out, they were all indicating referrals from the usual illicit medication and adult sites.

<sigh> More trackback and comment spam.

Now, I know that this page exists in b2evolution, and it is a way for visitors to view my traffic stats. However, a link to this page does not exist in my main display page. The only link to my stats is to my [StatCounter](http://www.statcounter.com/) stats.

Enter [mod_rewite](http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html).

A simple rule disposes with these morons.

```
RewriteCond %{QUERY_STRING} disp=stats RewriteRule ^.*$ http://www.pierzchala.com:9080/ [R,L,NS]
```

Please do not attempt to load the redirected URL; you will get nothing. NADA! That port is set to be dropped by [iptables](http://www.netfilter.org/), effectively hanging the client end as it attempts to make a TCP connection.

```
/sbin/iptables -A INPUT -p tcp -i eth0 -s 0/0 --dport 9080 -j DROP
```

I use *iptables* to handle a lot of these morons. As the only people who view this page are infected with some virus or spyware, then I feel no shame in tying up their systems.
