Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN NukeSentinel(tm) issues
Author Message
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Wed Oct 17, 2007 11:06 am Reply with quote

I didn´t know that there so many versions of java user agents exist.
I have already banned a lot of them like
Java/1.4.1_04
Java/1.5.0_06
etc.
I believe normal visitors don´t have such user agents. Most of the time these are spambots. Makes it sence to ban UA with Java general ?

Or would I ban legitim visitors /users from these countries also ?
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Wed Oct 17, 2007 4:50 pm Reply with quote

As far as I know, there's not a browser built on Java itself. I would go ahead and block all Java user-agents

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
Susann







PostPosted: Wed Oct 17, 2007 5:27 pm Reply with quote

It could be that some services use Java when I try to do some checks. But I ´ll simple add "Java" into the blocker.
Or do you know how to block all versions via .htaccess ?
 
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Wed Oct 17, 2007 5:54 pm Reply with quote

This might work:

Code:


RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^Java
RewriteRule ^.*$ http://127.0.0.1 [R,L] 


It will block any user agent that begins with Java

_________________
GCalendar - An Event Calendar for PHP-Nuke
Member_Map - A Google Maps Nuke Module 
View user's profile Send private message
Susann







PostPosted: Thu Oct 18, 2007 3:20 am Reply with quote

Of course thanks.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN NukeSentinel(tm) issues

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©