.weblog engine
FAQ :: Search ::  Memberlist ::  Register :: Profile ::  Usergroups ::  Log in
Log in to check your private messages ::  Download Pivot :: Support Pivot | Info
Support Pivot. Details can be found here or through links at the bottom of this page!
Bad Behavior - Discussion

 
Post new topic   Reply to topic   printer-friendly view    Pivot Support Forum Index -> Extension Discussion & Development
View previous topic :: View next topic  
Author Message
morpurgo.nl
Platinum Sponsor
<b>Platinum Sponsor</b>


Joined: 26 Jan 2005
Posts: 401
Location: Amsterdam, The Netherlands

PostPosted: Thu Jan 04, 2007 6:18 pm    Post subject: Re: Bad Behavior - Discussion Reply with quote

Hans great start, what do I do wrong here?

Quote:
A: Use a bad User-Agent.
*done!


_________________
Using Pivot 1.40.4: 'Dreadwind'
Back to top
View user's profile Send private message MSN Messenger
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Thu Jan 04, 2007 6:44 pm    Post subject: Re: Bad Behavior - Discussion Reply with quote

The location is completely wrong - don't you want to protect the actual entry page against spambots? You have given the URL to the entry page template as location...
_________________
My Pivot bookmarks, snippets and scripts| Pivot Documentation Project: Template tags
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
morpurgo.nl
Platinum Sponsor
<b>Platinum Sponsor</b>


Joined: 26 Jan 2005
Posts: 401
Location: Amsterdam, The Netherlands

PostPosted: Thu Jan 04, 2007 6:51 pm    Post subject: Re: Bad Behavior - Discussion Reply with quote

hansfn wrote:
The location is completely wrong - don't you want to protect the actual entry page against spambots? You have given the URL to the entry page template as location...


Ok I know that I do something wrong but I thought you wrote:
Quote:
I recommend putting it in the HTML head in the template.


If I understand wrong please please let me know where I have to put this code Sad

_________________
Using Pivot 1.40.4: 'Dreadwind'
Back to top
View user's profile Send private message MSN Messenger
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Thu Jan 04, 2007 7:09 pm    Post subject: Re: Bad Behavior - Discussion Reply with quote

Come on morpurgo. The entry page template is used by the, eh, entry pages - which is what you want to protect against spambots. So in http://www.wannabrowser.com/ the location should be for example http://www.morpurgo.nl/pivot/entry.php?id=1525 However, I tried that and it didn't get blocked - strange. I have no idea why - what version of Bad Behavior did you install?
_________________
My Pivot bookmarks, snippets and scripts| Pivot Documentation Project: Template tags
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
morpurgo.nl
Platinum Sponsor
<b>Platinum Sponsor</b>


Joined: 26 Jan 2005
Posts: 401
Location: Amsterdam, The Netherlands

PostPosted: Thu Jan 04, 2007 7:19 pm    Post subject: Re: Bad Behavior - Discussion Reply with quote

hansfn wrote:
Come on morpurgo. The entry page template is used by the, eh, entry pages - which is what you want to protect against spambots. So in http://www.wannabrowser.com/ the location should be for example http://www.morpurgo.nl/pivot/entry.php?id=1525 However, I tried that and it didn't get blocked - strange. I have no idea why - what version of Bad Behavior did you install?


Ah ok that's what I found out too so let me see the version is...2.0.8?

Code:
BB2_VERSION', "2.0.8"



_________________
Using Pivot 1.40.4: 'Dreadwind'
Back to top
View user's profile Send private message MSN Messenger
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Thu Jan 04, 2007 7:53 pm    Post subject: Re: Bad Behavior - Discussion Reply with quote

I'm also using BB version 2.0.8 and BB works as it should on my test site. (No need to list the files by the way - the snippet kills your page if BB isn't found.)

I'm starting to think that you have some kind of .htaccess rules that are interfering...

_________________
My Pivot bookmarks, snippets and scripts| Pivot Documentation Project: Template tags
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
morpurgo.nl
Platinum Sponsor
<b>Platinum Sponsor</b>


Joined: 26 Jan 2005
Posts: 401
Location: Amsterdam, The Netherlands

PostPosted: Thu Jan 04, 2007 8:04 pm    Post subject: Re: Bad Behavior - Discussion Reply with quote

hansfn wrote:
I'm also using BB version 2.0.8 and BB works as it should on my test site. (No need to list the files by the way - the snippet kills your page if BB isn't found.)

I'm starting to think that you have some kind of .htaccess rules that are interfering...


so the one blocker has problems with the other one Sad i did send you a PM with my file

_________________
Using Pivot 1.40.4: 'Dreadwind'
Back to top
View user's profile Send private message MSN Messenger
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Thu Jan 04, 2007 8:28 pm    Post subject: Re: Bad Behavior - Discussion Reply with quote

No, the .htaccess you sent me was harmless. The problem has nothing to do with Pivot because using http://www.morpurgo.nl/extensions/Bad-Behavior/bad-behavior-generic.php as location on wannabrowser.com should be blocked (with a 403 error) - it does if I try with my install of BB. I think you'll have to contact the BB developer...

You could try to remove the IP addresses from whitelist.inc.php (just in case all requests get an internal IP).

Oh, I just hate this, when trivial stuff just doesn't work.

_________________
My Pivot bookmarks, snippets and scripts| Pivot Documentation Project: Template tags
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
morpurgo.nl
Platinum Sponsor
<b>Platinum Sponsor</b>


Joined: 26 Jan 2005
Posts: 401
Location: Amsterdam, The Netherlands

PostPosted: Thu Jan 04, 2007 8:58 pm    Post subject: Re: Bad Behavior - Discussion Reply with quote

Removerd the IP numbers between the " and got the following witch I think is the right responce?!:

http://www.morpurgo.nl/pivot/entry.php?id=1530

Code:
HTTP/1.1 403 Bad Behavior
Date: Fri, 05 Jan 2007 00:52:33 GMT
Server: Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
X-Powered-By: PHP/4.4.4
Transfer-Encoding: chunked
Content-Type: text/html

<DOCTYPE>
<html>
<head>
<title>HTTP Error 403</title>
</head>
<body>
<h1>Error 403</h1>
<p>We're sorry, but we could not fulfill your request for
/pivot/entry.php?id=1530 on this server.</p>
<p>You do not have permission to access this server.</p>
<p>Your technical support key is: <strong>406f-7a14-17f4-e8c8</strong></p>
<p>You can use this key to <a>fix this problem yourself</a>.</p>
<p>If you are unable to fix the problem yourself, please contact <a>badbots at ioerror.us</a> and be sure to provide the technical support key shown above.</p>


http://www.morpurgo.nl/archives/archive_2005-m01.php

Code:
HTTP/1.1 200 OK
Date: Fri, 05 Jan 2007 00:55:59 GMT
Server: Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
X-Powered-By: PHP/4.4.4
Transfer-Encoding: chunked
Content-Type: text/html

<DOCTYPE>

<html>

<head>

<Includes>
<script></script>
<script></script>
<link>

<DOCTYPE>
<html>
<head>
<title>HTTP Error 403</title>
</head>
<body>
<h1>Error 403</h1>
<p>We're sorry, but we could not fulfill your request for
/archives/archive_2005-m01.php on this server.</p>
<p>You do not have permission to access this server.</p>
<p>Your technical support key is: <strong>406f-7a14-17f4-e8c8</strong></p>
<p>You can use this key to <a>fix this problem yourself</a>.</p>
<p>If you are unable to fix the problem yourself, please contact <a>badbots at ioerror.us</a> and be sure to provide the technical support key shown above.</p>

_________________
Using Pivot 1.40.4: 'Dreadwind'
Back to top
View user's profile Send private message MSN Messenger
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Fri Jan 05, 2007 4:08 am    Post subject: Re: Bad Behavior - Discussion Reply with quote

Yes, now it's working as it should - excellent! So I guessed right again Wink

I'll add this info to the Q&A post (and maybe remove our long-winded discussion).

_________________
My Pivot bookmarks, snippets and scripts| Pivot Documentation Project: Template tags
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
morpurgo.nl
Platinum Sponsor
<b>Platinum Sponsor</b>


Joined: 26 Jan 2005
Posts: 401
Location: Amsterdam, The Netherlands

PostPosted: Fri Jan 05, 2007 6:10 am    Post subject: Re: Bad Behavior - Discussion Reply with quote

hansfn wrote:
Yes, now it's working as it should - excellent! So I guessed right again Wink

I'll add this info to the Q&A post (and maybe remove our long-winded discussion).


Yes thanks Hans great job and please remove what you like Wink

_________________
Using Pivot 1.40.4: 'Dreadwind'
Back to top
View user's profile Send private message MSN Messenger
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Fri Jan 05, 2007 6:43 am    Post subject: Re: Bad Behavior - Discussion Reply with quote

I decided to create a separate discussion thread (here) to keep the announcement thread clean. I just split off our discussion...

PS! Check my info about logging in the announcement thread - the Q&A post.

_________________
My Pivot bookmarks, snippets and scripts| Pivot Documentation Project: Template tags
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
morpurgo.nl
Platinum Sponsor
<b>Platinum Sponsor</b>


Joined: 26 Jan 2005
Posts: 401
Location: Amsterdam, The Netherlands

PostPosted: Fri Jan 05, 2007 8:24 am    Post subject: Re: Bad Behavior - Discussion Reply with quote

hansfn wrote:
I decided to create a separate discussion thread (here) to keep the announcement thread clean. I just split off our discussion...

PS! Check my info about logging in the announcement thread - the Q&A post.


Great option and works too Very Happy

_________________
Using Pivot 1.40.4: 'Dreadwind'
Back to top
View user's profile Send private message MSN Messenger
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    Pivot Support Forum Index -> Extension Discussion & Development All times are GMT - 4 Hours
Page 1 of 1
|
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Your generosity is appreciated!
Gambling News was the last to make a donation
:: go here for sponsorship information ::
Special thanks to our platinum sponsors: Gambling News  
DreamHost

powered by phpBB | RSS Feed