Forum Moderators: phranque

Message Too Old, No Replies

.htacces user agent name help

Net Transport download manager

         

aking80

11:36 pm on Jul 16, 2006 (gmt 0)

10+ Year Member



Hello,

I've made a htaccess file and I can't figure out the name to use for Net Transport (also know as NetXfer). So far I've tried:

NetTransport
Net\ Transport
NetXfer
NT

None of these work and I'm still able to download from my site using it. Please help, people are destroying my bandwith with this program :(

jdMorgan

12:37 am on Jul 17, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Please post a few lines from your raw server access log showing this user-agent, and also post a few relevant lines of the code you intend to block this user-agent.

Without that, there's likely not much anyone can do to help.

Jim

aking80

1:23 am on Jul 17, 2006 (gmt 0)

10+ Year Member



Erm, my site is hosted by GoDaddy so I don't think I have access to server log files. Here's a pic from my stats page... all I can really give.

<snip>

MSIE, Mozilla, and Netscape (compatible) are the ones that are rising. All the others have halted since I inplemented the .htaccess. Here's an example of how I set them up.

SetEnvIfNoCase User-Agent "^Go!Zilla" bad_bot
SetEnvIfNoCase User-Agent "^LeechGet" bad_bot
SetEnvIfNoCase User-Agent "^DA" bad_bot
SetEnvIfNoCase User-Agent "^IDA" bad_bot
SetEnvIfNoCase User-Agent "^FDM" bad_bot
SetEnvIfNoCase User-Agent "^GetRight" bad_bot

These all work fine... but I can't get Net Transport to catch. Only reason I know they use this is cus they admit to it on my forums... I downloaded it and used it and here's what it says while downloading in it's log:

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)

Not sure what it means... but I added "Mozilla/4.0" to my list and it locked my browser out of my webpage lol. I'm not sure what all that in () mean but when I try to add it on it does nothing. Hope this is enough info... :(

[edited by: jdMorgan at 2:23 am (utc) on July 17, 2006]
[edit reason]
[1][edit reason] No URLs, please. See TOS. [/edit]
[/edit][/1]

aking80

2:14 am on Jul 17, 2006 (gmt 0)

10+ Year Member



Hi, sorry for the double post ^^:

I just entered

SetEnvIfNoCase User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) bad_bot

and it refuses Net Transport now, but it also blocks IE 7.0 beta 3 browser. I open up Firefox and the page loads up fine...

How can I use this User Agent code and still keep IE?

jdMorgan

2:22 am on Jul 17, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can't. It's cloaking as a legitimate browser.

You could likely stop them using key_master's bad-bot PERL script, or AlexK's PHP runaway bot script (see the PERL and PHP libraries on WebmasterWorld), but if your host won't even provide raw server logs, there's a good chance you won't be able to make the configuration changes needed to use these scripts.

Jim

aking80

3:01 am on Jul 17, 2006 (gmt 0)

10+ Year Member



Well I was reading about Key_Masters script and I have access to the a cgi directory(?) but his script bans IP.. not bots. I want the people to be able to come and download stuff, just not with download managers :/ Guess I'm SOL huh lol.

Well I appreciate the fast response, thanks Jim~