You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 60 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Google Tap CVS Rev 1.6 Bugs [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
VinDSL
Site Admin
Site Admin


Joined: Jul 08, 2003
Posts: 1193

Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs

PostPosted: Tue Jul 22, 2003 4:14 am Reply with quoteBack to top

I installed GT CVS Rev 1.6 last night. It seemed to be working fine.

Bug 1: Tonight, I was playing around with a sub-domain on my site, and I noticed my streaming Real Audio files had quit working. The Real Audio Player wouldn't recognize them as RA files and errored out everytime I tried to play one. Maybe .htaccess was redirecting the Real Audio Player to 'emailsforyou.php' instead of the .RAM file --- Hrm...

Bug 2: Later, I checked the error logs on my site, hoping to get a clue, and holy sh*t!!! MS-Analysis was freaking out. The log was FILLED with the following (repeating) pattern of errors...
Code:
[Tue Jul 22 06:25:02 2003] [error] PHP Warning:  Unknown modifier 'r' in /home/xxxxxxx/public_html/modules/MS_Analysis/include/class.client.php on line 191
[Tue Jul 22 06:25:02 2003] [error] PHP Warning:  Unknown modifier '1' in /home/xxxxxxx/public_html/modules/MS_Analysis/include/class.client.php on line 191
[Tue Jul 22 06:25:02 2003] [error] PHP Warning:  Unknown modifier '2' in /home/xxxxxxx/public_html/modules/MS_Analysis/include/class.client.php on line 191
[Tue Jul 22 06:25:02 2003] [error] PHP Warning:  Unknown modifier '3' in /home/xxxxxxx/public_html/modules/MS_Analysis/include/class.client.php on line 191
[Tue Jul 22 06:25:02 2003] [error] PHP Warning:  Unknown modifier '8' in /home/xxxxxxx/public_html/modules/MS_Analysis/include/class.client.php on line 191
[Tue Jul 22 06:25:02 2003] [error] PHP Warning:  Unknown modifier 'c' in /home/xxxxxxx/public_html/modules/MS_Analysis/include/class.client.php on line 191


This is line 191:

Code:
 if( preg_match("/" . $value . "/i", $this->get_user_agent() ) )


This is the entire function:

Code:

    /*****************************************************************/
    /*                                                               */
    /* function function chk_crawler()                               */
    /*                                                               */
    /*****************************************************************/
    /* Compare agent string with a list of known web crawlers/robots */
    /*****************************************************************/
    function chk_crawler()
    {
       foreach( $this->robots as $value )
          if( preg_match("/" . $value . "/i", $this->get_user_agent() ) )
             return true;
       return false;
    }
           

I edited .htaccess and, if you'll pardon the pun, nuked the whole 'mail bot' section. The MS-Analysis errors have now ceased and the Real Audio files started streaming again.

Anyway, no big deal. I'm not complaining, just reporting. I appreciate all the effort you have put into this project ZX, but I thought I should let you know about these bugs, albeit specific to MS-Analysis and Real Audio...
Find all posts by VinDSLView user's profileSend private messageVisit poster's websiteICQ Number
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Tue Jul 22, 2003 4:01 pm Reply with quoteBack to top

For your subdomain create another .htaccess and disable rewriteengine thereby protecting it. Remember, .htaccess is per directory.

Not sure what to say right now on the mail bot section. That's the first I heard problems about.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
VinDSL
Site Admin
Site Admin


Joined: Jul 08, 2003
Posts: 1193

Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs

PostPosted: Tue Jul 22, 2003 6:45 pm Reply with quoteBack to top

Zhen-Xjell wrote:
For your subdomain create another .htaccess and disable rewriteengine thereby protecting it. Remember, .htaccess is per directory...

Yeah, that's what I was going to do, but it was one of those 'one-last-click-before-I-pass-out' things. I was trying to beat it to bed before the sun came up. Ever done that before? Wink

I'll let you know what happens...
Find all posts by VinDSLView user's profileSend private messageVisit poster's websiteICQ Number
VinDSL
Site Admin
Site Admin


Joined: Jul 08, 2003
Posts: 1193

Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs

PostPosted: Wed Jul 23, 2003 3:30 am Reply with quoteBack to top

Zhen-Xjell wrote:
...Not sure what to say right now on the mail bot section. That's the first I heard problems about...

Problem[s] solved! I putzed around with CVS .htaccess 1.6 tonight, in between doing some other things.

The problem with MS-Analysis 1.0 turned out to be a seperate issue. Since it didn't have anything to do with .htaccess 1.6, like I originally thought, I'll spare you the details. Wink

However, the Real Audio errors WERE being caused by .htaccess 1.6. I tried adding another .htaccess file to the sub, but the problem with this is nested .htaccess files are mutually inclusive. That is, whatever applies in the parent directory also applies in each decendant (even if it isn't explicitly stated), unless you start turning things off, like you suggested doing.

Wanting to fix it right, I gave up on that idea and started removing the 'mail bot' directives from .htaccess 1.6, a few at a time and testing it. When I got past the R's the streaming Real Audio started working. This turned out to be the offending code:
Code:
RewriteCond %{HTTP_USER_AGENT} ^RMA [OR]

I reinstated all the code, minus that line, and now everything is working fine.


Last edited by VinDSL on Wed Jul 23, 2003 3:56 am; edited 2 times in total
Find all posts by VinDSLView user's profileSend private messageVisit poster's websiteICQ Number
VinDSL
Site Admin
Site Admin


Joined: Jul 08, 2003
Posts: 1193

Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs

PostPosted: Wed Jul 23, 2003 3:48 am Reply with quoteBack to top

Hrm... I just did a little research and 'RMA' is definitely the UA for RealPlayer. So, that solves the mystery, but begs a question; how the hell did that get in there??? Shocked
Find all posts by VinDSLView user's profileSend private messageVisit poster's websiteICQ Number
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Wed Jul 23, 2003 5:03 am Reply with quoteBack to top

Nice catch!

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
VinDSL
Site Admin
Site Admin


Joined: Jul 08, 2003
Posts: 1193

Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs

PostPosted: Wed Jul 23, 2003 4:32 pm Reply with quoteBack to top

Guess we can mark this one [solved] huh?

_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: VinDSL's Lenon.com | The Disipal Site ::.
Find all posts by VinDSLView user's profileSend private messageVisit poster's websiteICQ Number
Asspalmer
Private
Private


Joined: Sep 25, 2003
Posts: 49


PostPosted: Mon Sep 29, 2003 12:45 am Reply with quoteBack to top

VinDSL wrote:


Bug 2: Later, I checked the error logs on my site, hoping to get a clue, and holy sh*t!!! MS-Analysis was freaking out. The log was FILLED with the following (repeating) pattern of errors...
Code:
[Tue Jul 22 06:25:02 2003] [error] PHP Warning:  Unknown modifier 'r' in /home/xxxxxxx/public_html/modules/MS_Analysis/include/class.client.php on line 191
[Tue Jul 22 06:25:02 2003] [error] PHP Warning:  Unknown modifier '1' in /home/xxxxxxx/public_html/modules/MS_Analysis/include/class.client.php on line 191
[Tue Jul 22 06:25:02 2003] [error] PHP Warning:  Unknown modifier '2' in /home/xxxxxxx/public_html/modules/MS_Analysis/include/class.client.php on line 191
[Tue Jul 22 06:25:02 2003] [error] PHP Warning:  Unknown modifier '3' in /home/xxxxxxx/public_html/modules/MS_Analysis/include/class.client.php on line 191
[Tue Jul 22 06:25:02 2003] [error] PHP Warning:  Unknown modifier '8' in /home/xxxxxxx/public_html/modules/MS_Analysis/include/class.client.php on line 191
[Tue Jul 22 06:25:02 2003] [error] PHP Warning:  Unknown modifier 'c' in /home/xxxxxxx/public_html/modules/MS_Analysis/include/class.client.php on line 191


This is line 191:

Code:
 if( preg_match("/" . $value . "/i", $this->get_user_agent() ) )


This is the entire function:

Code:

    /*****************************************************************/
    /*                                                               */
    /* function function chk_crawler()                               */
    /*                                                               */
    /*****************************************************************/
    /* Compare agent string with a list of known web crawlers/robots */
    /*****************************************************************/
    function chk_crawler()
    {
       foreach( $this->robots as $value )
          if( preg_match("/" . $value . "/i", $this->get_user_agent() ) )
             return true;
       return false;
    }
           





I have this problem can you tell us the solution? i am at a complete loss.

Thanks.
Find all posts by AsspalmerView user's profileSend private message
VinDSL
Site Admin
Site Admin


Joined: Jul 08, 2003
Posts: 1193

Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs

PostPosted: Mon Sep 29, 2003 12:52 am Reply with quoteBack to top

You need to edit the .htaccess file in your root directory and remove the following line:

Code:

RewriteCond %{HTTP_USER_AGENT} ^RMA [OR]


_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: VinDSL's Lenon.com | The Disipal Site ::.
Find all posts by VinDSLView user's profileSend private messageVisit poster's websiteICQ Number
Asspalmer
Private
Private


Joined: Sep 25, 2003
Posts: 49


PostPosted: Mon Sep 29, 2003 1:03 am Reply with quoteBack to top

VinDSL wrote:
You need to edit the .htaccess file in your root directory and remove the following line:

Code:

RewriteCond %{HTTP_USER_AGENT} ^RMA [OR]



That solves the Ms Analysis problem? I thought taht was the solution for streaming RealMedia? Im having the same MS Analysis problem you had.
Find all posts by AsspalmerView user's profileSend private message
VinDSL
Site Admin
Site Admin


Joined: Jul 08, 2003
Posts: 1193

Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs

PostPosted: Mon Sep 29, 2003 3:11 am Reply with quoteBack to top

Yeah, that solved both problems. 'RMA' is the User Agent that RealPlayer sends out when it tries to connect and listen to a RealAudio file. Due to the above mentioned line of code, Google Tap thinks RealPlayer is a crawler and blocks it. When that happens, it freaks out MS-Analysis and the errors come flooding in.

I dunno. Maybe there is a RealAudio crawler/harvester out there, trying to capture all your RealAudio files, sending out the RMA UA, but I've never heard of such a thing. RealPlayer probably sends that UA out when you use it for other things too. Personally, I don't think that code should be in Google Tap, no matter what, but it's not my call, you know?

Do you have any audio/video files on your site? If not, I don't know why ppl would be using RealPlayer on it...

_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: VinDSL's Lenon.com | The Disipal Site ::.
Find all posts by VinDSLView user's profileSend private messageVisit poster's websiteICQ Number
Asspalmer
Private
Private


Joined: Sep 25, 2003
Posts: 49


PostPosted: Mon Sep 29, 2003 4:03 am Reply with quoteBack to top

VinDSL wrote:
Yeah, that solved both problems. 'RMA' is the User Agent that RealPlayer sends out when it tries to connect and listen to a RealAudio file. Due to the above mentioned line of code, Google Tap thinks RealPlayer is a crawler and blocks it. When that happens, it freaks out MS-Analysis and the errors come flooding in.

I dunno. Maybe there is a RealAudio crawler/harvester out there, trying to capture all your RealAudio files, sending out the RMA UA, but I've never heard of such a thing. RealPlayer probably sends that UA out when you use it for other things too. Personally, I don't think that code should be in Google Tap, no matter what, but it's not my call, you know?

Do you have any audio/video files on your site? If not, I don't know why ppl would be using RealPlayer on it...


Well I just looked, and Im not blocking ANYTHING based on the http_user_agent , but I am using RewriteCond to prevent image hotlinking... would this ms analysis error appear if someone was trying to hotlink an image off my site, then?
Find all posts by AsspalmerView user's profileSend private message
VinDSL
Site Admin
Site Admin


Joined: Jul 08, 2003
Posts: 1193

Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs

PostPosted: Mon Sep 29, 2003 4:44 am Reply with quoteBack to top

Hrm... I dunno. Let's test the theory.

http://download.lenon.com/images/nuke_counter.jpg

This will redirect bandwidth thieves to my homepage. Be right back...

Nope! No errors.

Here are the directives I use:

Code:

RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*lenon.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*66.227.17.133/ [NC]
RewriteRule ^.*$ http://www.lenon.com/ [L,R]


Do yours look similar?

_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: VinDSL's Lenon.com | The Disipal Site ::.
Find all posts by VinDSLView user's profileSend private messageVisit poster's websiteICQ Number
Asspalmer
Private
Private


Joined: Sep 25, 2003
Posts: 49


PostPosted: Mon Sep 29, 2003 5:26 am Reply with quoteBack to top

VinDSL wrote:
Hrm... I dunno. Let's test the theory.

http://download.lenon.com/images/nuke_counter.jpg

This will redirect bandwidth thieves to my homepage. Be right back...

Nope! No errors.

Here are the directives I use:

Code:

RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*lenon.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*66.227.17.133/ [NC]
RewriteRule ^.*$ http://www.lenon.com/ [L,R]


Do yours look similar?


yep. must be something else then. oh well, thanks for the help i guess I'll just ignore it. Wink

nice looking site btw Smile
Find all posts by AsspalmerView user's profileSend private message
Asspalmer
Private
Private


Joined: Sep 25, 2003
Posts: 49


PostPosted: Mon Sep 29, 2003 1:49 pm Reply with quoteBack to top

woops wrong thread
Find all posts by AsspalmerView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.315 Seconds - 226 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::