| View previous topic :: View next topic |
| Author |
Message |
morpurgo.nl Platinum Sponsor


Joined: 26 Jan 2005 Posts: 401 Location: Amsterdam, The Netherlands
|
Posted: Thu Jan 04, 2007 6:18 pm Post subject: Re: Bad Behavior - Discussion |
|
|
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 |
|
 |
hansfn Pivot Team


Joined: 15 May 2004 Posts: 5289 Location: Molde, Norway
|
Posted: Thu Jan 04, 2007 6:44 pm Post subject: Re: Bad Behavior - Discussion |
|
|
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 |
|
 |
morpurgo.nl Platinum Sponsor


Joined: 26 Jan 2005 Posts: 401 Location: Amsterdam, The Netherlands
|
Posted: Thu Jan 04, 2007 6:51 pm Post subject: Re: Bad Behavior - Discussion |
|
|
| 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  _________________ Using Pivot 1.40.4: 'Dreadwind'
 |
|
| Back to top |
|
 |
hansfn Pivot Team


Joined: 15 May 2004 Posts: 5289 Location: Molde, Norway
|
|
| Back to top |
|
 |
morpurgo.nl Platinum Sponsor


Joined: 26 Jan 2005 Posts: 401 Location: Amsterdam, The Netherlands
|
Posted: Thu Jan 04, 2007 7:19 pm Post subject: Re: Bad Behavior - Discussion |
|
|
| 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 |
|
 |
hansfn Pivot Team


Joined: 15 May 2004 Posts: 5289 Location: Molde, Norway
|
Posted: Thu Jan 04, 2007 7:53 pm Post subject: Re: Bad Behavior - Discussion |
|
|
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 |
|
 |
morpurgo.nl Platinum Sponsor


Joined: 26 Jan 2005 Posts: 401 Location: Amsterdam, The Netherlands
|
Posted: Thu Jan 04, 2007 8:04 pm Post subject: Re: Bad Behavior - Discussion |
|
|
| 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 i did send you a PM with my file _________________ Using Pivot 1.40.4: 'Dreadwind'
 |
|
| Back to top |
|
 |
hansfn Pivot Team


Joined: 15 May 2004 Posts: 5289 Location: Molde, Norway
|
Posted: Thu Jan 04, 2007 8:28 pm Post subject: Re: Bad Behavior - Discussion |
|
|
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 |
|
 |
morpurgo.nl Platinum Sponsor


Joined: 26 Jan 2005 Posts: 401 Location: Amsterdam, The Netherlands
|
Posted: Thu Jan 04, 2007 8:58 pm Post subject: Re: Bad Behavior - Discussion |
|
|
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 |
|
 |
hansfn Pivot Team


Joined: 15 May 2004 Posts: 5289 Location: Molde, Norway
|
Posted: Fri Jan 05, 2007 4:08 am Post subject: Re: Bad Behavior - Discussion |
|
|
Yes, now it's working as it should - excellent! So I guessed right again
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 |
|
 |
morpurgo.nl Platinum Sponsor


Joined: 26 Jan 2005 Posts: 401 Location: Amsterdam, The Netherlands
|
Posted: Fri Jan 05, 2007 6:10 am Post subject: Re: Bad Behavior - Discussion |
|
|
| hansfn wrote: |
Yes, now it's working as it should - excellent! So I guessed right again
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  _________________ Using Pivot 1.40.4: 'Dreadwind'
 |
|
| Back to top |
|
 |
hansfn Pivot Team


Joined: 15 May 2004 Posts: 5289 Location: Molde, Norway
|
|
| Back to top |
|
 |
morpurgo.nl Platinum Sponsor


Joined: 26 Jan 2005 Posts: 401 Location: Amsterdam, The Netherlands
|
Posted: Fri Jan 05, 2007 8:24 am Post subject: Re: Bad Behavior - Discussion |
|
|
| 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  _________________ Using Pivot 1.40.4: 'Dreadwind'
 |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|