PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Susann
Moderator


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

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

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
Moderator


Joined: Apr 30, 2004
Posts: 2853

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

As far as I know, there's not a browser built on Java itself. I would go ahead and block all Java user-agents
View user's profile Send private message Visit poster's website
Susann
Moderator


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

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

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 ?
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


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

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

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
View user's profile Send private message
Susann
Moderator


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

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

Of course thanks.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest Đ 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is Đ copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum