Main Menu
Quick Links
Other Options
Information
NukeForums
Top10 Links
Site Visitors
Membership:
Latest: Vanquistador
Today: 1
Yesterday: 1
Overall: 15103
Visitation:
Guests: 578
Members: 1
Total: 579
You are Anonymous user. You can register for free by clicking here
Sponsor Links
NukeResources :: View topic - IP blocked
IP blocked
Posted: Tue Mar 21, 2006 2:13 am
pjeff
Resource Newbie
Joined: Mar 13, 2006
Posts: 24
Urgent.
I've been trying to block some IP addresses from accessing my site, however some bold-headed included hackers manage to bypass the program by using the complete address.
Which means that they use:
www.sitename.com
Using my Deny IP program i block it.
Then they come back using:
http://www.sitename.com
or
http://sitename.com
Since using this form they know the program can not block their IP, so they continue with their arrassments. Some people just don't have nothing else to do...
How can i stop them from accessing the site?
If you can help, please do.
Anyone.
Thank you.
Posted: Tue Mar 21, 2006 10:55 am
Evaders99
Resource Master
Joined: May 25, 2004
Posts: 1785
Hmm not sure why that would happen? What security program are you using?
I suggest using a server solution - either .htaccess or possibly a server-level ban. You would need to talk to your host about it
Posted: Tue Mar 21, 2006 11:21 pm
pjeff
Resource Newbie
Joined: Mar 13, 2006
Posts: 24
The IPs that i wanted to block i found them after this block:
-------------
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^$ [NC]
RewriteCond %{HTTP_REFERER} !^/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^$ [NC]
RewriteCond %{HTTP_REFERER} !^/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^$ [NC]
RewriteCond %{HTTP_REFERER} !^/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www./.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.$ [NC]
RewriteCond %{HTTP_REFERER} !^https:///.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://$ [NC]
RewriteCond %{HTTP_REFERER} !^https:///.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www..com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
-------------------
... I removed them and place them to the top along with the other deny IPs. Now i have to wait to find out if it works.
Thanks again.
ps.: The missing info from the block is my site name.
Posted: Tue Mar 21, 2006 11:25 pm
pjeff
Resource Newbie
Joined: Mar 13, 2006
Posts: 24
I went and took a look at my .htaccess.
The IPs that i wanted to block i found them after this block:
-------------
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^$ [NC]
RewriteCond %{HTTP_REFERER} !^/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^$ [NC]
RewriteCond %{HTTP_REFERER} !^/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^$ [NC]
RewriteCond %{HTTP_REFERER} !^/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www./.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.$ [NC]
RewriteCond %{HTTP_REFERER} !^https:///.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://$ [NC]
RewriteCond %{HTTP_REFERER} !^https:///.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www..com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
-------------------
... I removed them and place them to the top along with the other deny IPs. Now i have to wait to find out if it works.
Thanks again.
ps.: The missing info from the block is my site name.
Posted: Sun Mar 26, 2006 6:59 pm
kenn209
Resource Seeker
Joined: Dec 03, 2005
Posts: 11
I have a question, where is the .htaccess and the .staccess files supposed to be?
Posted: Mon Mar 27, 2006 12:58 am
Evaders99
Resource Master
Joined: May 25, 2004
Posts: 1785
NukeResources Forum Index -> Random Thoughts
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
All times are GMT - 4 Hours
Page 1 of 1
Powered by phpBB © 2001-2005 phpBB Group. Theme created by Vjacheslav Trushkin . There have been 132 unique hit(s) in the past 24 hours.
:: Eos phpbb2 style by Cyberalien :: PHP-Nuke theme by www.nukemods.com ::