Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#16 2007-11-29 09:52:23
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Offline
Re: spam
net-carver wrote:
Just wondering if there is scope for a referer-spam blocking TxP plugin (if there isn’t one already.)
I think that there was a request/wish like that before and I seem to remember that it was pulled back because of the complexity (or possibly its impossibility). Checking google with “block referrers with php” returns no results…
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#18 2007-11-29 10:15:13
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: spam
colak
Here is an example php referer trap. Scroll past the .htaccess rewrite rules to see it.
That code’s meant to go on a custom 403 page to tarpit the referer. Not tried this yet.
— Steve
Offline
Re: spam
From my experience, if you ignore it, it will go away.
I’ve found that the higher the Page Rank, the more attempts there are to leave comment spam. When they discover it’s not working, they swamp me with referrer spam. As long as I don’t click on any of those, it goes away in a few days. After that I get infrequent attempts at comment or referrer spam.
I have one PR5 site that I only upgraded to 4.0.5 last week and had a fresh set of attacks but it is declining back to normal levels now – ie under 10 a day.
Dozy P My attempt at music
Offline
#20 2007-11-29 13:14:19
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: spam
zero
Thanks for the feedback. I’ve put some blocks on certain referers now anyway.
— Steve
Offline
Re: spam
net-carver wrote:
Here is an example php referer trap. Scroll past the .htaccess rewrite rules to see it.
That code’s meant to go on a custom 403 page to tarpit the referer. Not tried this yet.
What the example seems to be doing is that it just slows down the redirection page (403.php). Basically the php is just there for annoyance rather than blocking. Further google search revealed at least one possible php solution.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#22 2007-11-29 18:16:21
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: spam
All
I’ve got a first-cut TXP referer checking plugin working on my local setup, just for those folks who don’t like messing with their .htaccess settings. Needs some more work but it’s late here now.
colak wrote:
What the example seems to be doing is that it just slows down the redirection page (403.php)
Yes, that’s right. It’s a “tarpit” — meant to slow the spam referer down (if they bother waiting for the response at all.)
Further google search revealed at least one possible php solution.
Thanks, that looks interesting.
— Steve
Offline
Re: spam
net-carver wrote:
I’ve got a first-cut TXP referer checking plugin working on my local setup, just for those folks who don’t like messing with their .htaccess settings.
yummy!!!!
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: spam
I stumbled across another htaccess list. Probably outdated but …
I would love seing that plugin too!
Plugins: ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1
“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu
Offline
Re: spam
Any more progress on this btw, Steve? I made some tentative PHP stabbings at an smd_honeybot plugin about six months ago which was supposed to attract bots to bogus URLs and keep them occupied, lowering the impact on the server and keeping them off real pages.
Trouble is — as with 90% of my code — it never got past, well, what comes before Alpha? :-p Think I’ll leave something that big to the professionals like yourself!
Last edited by Bloke (2008-01-02 12:01:28)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: spam
Before alpha comes the big void :D.
Plugins: ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1
“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu
Offline
#27 2008-01-02 12:33:50
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: spam
obeewan
get in contact via my website and I’ll send you what I have.
Bloke
I’ll email you shortly.
— Steve
Offline