« Test | Main | I love your design »

MTDisguiseTrackbackURL v0.5 Beta

You may have been recently hit by several waves of Trackback spam, including a major assault over the last 24 hours. These attacks are clearly automated, sending many pings in a short period of time. Even if MT-Blacklist is effecting repelling these attacks, it can still cause problems for some. In the past few weeks, MT-Blacklist was working so hard to block all the spam that it contributed to a heavy CPU load on the server, resulting in several crashes (I have since moved to a dedicated server). So I have been looking for ways to ease the burden of MT-Blacklist. For trackback spam, one of the first things I tried was to rename my Trackback script from the default 'mt-tb.cgi', thinking maybe that's how these spammers were finding and attaching my sites. It didn't work. Within minutes, they were hitting the newly renamed script. Based on this, it seems that there must be Spam Spiders at play here, crawling the web and sending trackback spam as soon as they find trackback URLs. And since they seem to have adapted to the new name, perhaps these spiders are looking for some other pattern, perhaps the text " The Trackback URL for this entry is". I have tried changed that text on all of my blogs, but I think it might help. Instead, I decided to disguise the Trackback URL so that it would be difficult for spiders to parse and attach my sites.

MTDisguiseTrackbackURL is a mini-plugin that replaces the MT function for the <MTEntryTrackbackURL> tag that is displayed in the Trackback Listing template. MTDisguiseTrackbackURL outputs the URL using a few javascript commands, breaking up the full URL in the underlying HTML code. But as long as your visitors are using a JavaScript-enabled browser, the URL will appear the exact same way that it does now, and they can easily copy and paste the URL manually.

If you want to seem an example, view the Trackbacks page for this entry, and view source to see the JavaScript code.

Installation:

Installation is very easy:

1. Download Now:

Membership required, please sign-in or register:

2. Extract the DisguiseTrackURL.pl and upload it to the 'plugins' directory within your 'mt' directory.

3. That's all. Since Trackback listing pages are dynamically displayed, you don't need to rebuild anything.

As always, feedback is appreciated.


By the way, if you haven't heard yet, a critical bug has been found in the latest version of MT-Blacklist. Don't delete any blogs! Click here for more information.

Rate this entry:

  • Currently 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 0/5 (0 votes cast). Powered by the Ajax Rating plugin.

TrackBack

TrackBack URL for this entry:

Listed below are links to weblogs that reference MTDisguiseTrackbackURL v0.5 Beta:

» DisguiseTrackbackURL from Movable Type Plugin Directory
... [Read More]

» MTDisguiseTrackbackURL v0.5 Beta from Movalog Sideblog
MTDisguiseTrackbackURL v0.5 Beta... [Read More]

» Trackback Spam from DaveN
Well over the christmas period I have seen an increase in Ping Spam (trackback) this ones quite nice its automated so when you create a new post it pings you straight away [Read More]

» Trackback Spam対策 from krbys.net
MT-SCodeを導入して以来、コメントスパムは全く来なくなったが、ここ数日でトラックバックスパムが猛烈に届くようになった。トラックバックスパムに対しては何の対策もしていないので... [Read More]

» Fucking Spammers from Cabal of Doom
I've been deleting trackback spam from some asshole all night but I have finally found an easy to install fix for MT.... [Read More]

» TrackBack-Spam from asonny

Heute lief meine Inbox mit Hinweisen auf Trackbacks voll - leider alles Spam.

[Read More]

» Trackback Spam from bLogicus
Captain Ed and Michelle Malkin have both experienced significant trackback spam leading them to question its value. Coincidentally, earlier today I received over 100 spammer pings that made it past MT-Blacklist and forced me to waste time and effort cl... [Read More]

» Trackback Spam from bLogicus
Captain Ed and Michelle Malkin have both experienced significant trackback spam leading them to question its value. Coincidentally, earlier today I received over 100 spammer pings that made it past MT-Blacklist and forced me to waste time and effort cl... [Read More]

» My name's Chubby and I wanna be your friend ... from Monkeymagic
Have set up a "fat feed" - which should give entries, comments, and trackbacks - if anyone's interested. To stop it being a spam-bucket, I've switched all comments to moderated, but basically that means that bank loans, poker sites and... [Read More]

» Not Even Justice from 饪
åѡWIKIΥѥб˴ؤޥȥäȼ夲 [Read More]

» China currency. from China currency.
Us to china currency conversion. Currency conversion china us. Advantages on china currency. Ancient imperial china currency and trade. Currency rate in china verses u.s.. China currency. The currency use of china. Imperial china currency. [Read More]

» AT&T Introduces U-verse in Columbus from cybershot h5 sony
4-6 weeks after receipt of properly completed and timely submitted redemption; 1 check per service address; See additional details on [Read More]

» How to sell your soul from bostrom truck seat
No one will notice that the concentration of the herb may have been so highly diluted (for cost-saving measures) that [Read More]

» colon cleanse from colon cleanse
[Read More]

» An Amazing Assortment of This Blog Is Full of from Blog Format
An Amazing Assortment of This Blog Is Full of An Amazing Assortment of This Blog Is Full ofThis is a list of dozens of fun and useful addons for Google Blogger blogsHow Much Do You Know About Blog Hosting? This is where you would install the blog scrip... [Read More]

» paste,how long will sugar paste last on a rich fruit cake,free halloween cut and paste activities,history of tooth paste,fiberglass gel paste, from paste,how long will sugar paste last on a rich fruit cake,free halloween cut and paste activities,history of tooth paste,fiberglass gel paste,
[Read More]

» petite and sweet from
petite and sweet [Read More]

» penthouse magazine from
penthouse magazine [Read More]

» zone from
zone [Read More]

» tokyo mew mew from
tokyo mew mew [Read More]

» lorraine bracco from
lorraine bracco [Read More]

» gay group from
gay group [Read More]

» Golden Dolly from
Golden Dolly [Read More]

» Private Free Masurbation from
Private Free Masurbation [Read More]

Comments (15)

Nice little script, thanks :)

A PHP version would be awesome so we could use it with the dynamic system

Seem to be having trouble using this under 3.121.
Keep getting the error: Subroutine _hdlr_entry_tb_link redefined at lib/MT/Template/Context.pm line 961.

Mark--


Thanks for the plugin. I'm sure the MT community will thank you. Two
items of feedback:


1. The following quote is inaccurate: "Since Trackback listing pages are
dynamically displayed, you don't need to rebuild anything." If you're
displaying <MTTrackBackLink> without using a popup, as I do, it's
generated once upon rebuild. In this case, a full rebuild of all
Individual Archive pages is necessary to implement your plugin.


(As an aside, I think it's silly to put trackbacks in a popup, and I don't
know why so many blogs use that behavior. TrackBacks are at least as
important as comments, and probably more so—why aren't they
displayed inline by default with entries?)


2. Your plugin does not output valid HTML code by default. The outputted
<script> tag is:


<script language='Javascript'<


The W3C validator complains about this and wants a "type" attribute as
well.


For others using MTDisguiseTrackbackURL v0.5, you can make the code valid
by using this regex (using MTRegex):


<MTRegexDefine name="scriptType">s|<script
language='Javascript'>|<script language="javascript"
type="text/javascript">|gi</MTRegexDefine>


And call it this way:


<$MTEntryTrackbackLink regex="scriptType"$>


Hope that helps somebody. Thanks again, Mark.

It's very important to note that this plugin has no effect on the output of <$MTEntryTrackbackData$> and your blog will still be vulnerable to spam, since that tag (included by default in the Individual Entry Archive template) outputs the TB URL in plaintext in the source of the HTML.

This RDF data is vital for the auto-discoverability feature of Trackbacks.

You have a couple of options:

1) Delete the above tag from your templates and lose the auto-discoverability of TB.

2) Use one of the many techniques outlined at Elise Bauer's page.

3) Try out my tb-random-rename.pl script :) It will let you automagically rename your TB script to include a random number, making you a much harder target for spammers.

Anyone know of a bulk utility to remove these pings? I was hit with over 200 of them before I took steps. Thanks.

Peter,

I believe it's much easier to mass-delete trackback spam in MT 3.x. Are you using 2.x?

Bobby Magee:

I am getting an error on rebuild of my whole site. when I have the plugin installed.
Subroutine _hdlr_entry_tb_link redefined at lib/MT/Template/Context.pm line 961

Bobby,

That's not an error, it's just a warning. And it is nothing to worry about. The plugin is designed to exactly what the warning says, it redefines the _hdlr_entry_tb_link subroutine in order to disguise the link.

I installed this on my friends site. He doesn't have the pro version of MT just the free one. On his it give that error. On my site it doesn't give that error. Wonder if it is something related to the free MT vx Pro MT.
Either way thanks. Will install this back on my friends site.
:P

The Pro version and the free version are the same.

The difference probably lies in the version or Perl or something. This "warning" is occuring in both cases, just not showing on one of them. But it "just works". ;)

joey:

I installed this plugin and it worked like a charm.

For 3 days. Now the spammers are back.

I tried this w/ MR 3.15 and got a 500 server errorT:

he web server encountered an error or misconfiguration and was unable to complete your request. If this error persists, please contact the webmaster, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

I installed it and I am still getting hammered with spam. The plugin is doing nothing for me. I bet some spammers are running javascript to get the link.

Unfortunately this appears to be doing nothing with MT3.2b2

Post a comment

Gift idea: Buy Seinfeld DVD box set, complete 9 seasons!