Forum Moderators: phranque
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 :(
<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]
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?
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