Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-22-2012, 09:07 AM   #1
AllAboutCams
Femcams.com
 
AllAboutCams's Avatar
 
Industry Role:
Join Date: Jul 2011
Location: bjcam.com
Posts: 12,229
How to block dynamic ip address in wordpress

How to block dynamic ip address in wordpress im also using direct admin
AllAboutCams is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2012, 09:54 AM   #2
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
Block them on what basis? Ripping? Spamming? Stolen passes? If they are dynamic that by definition means they change, so listing them is pointless.

Block ALL dynamic IPs, 90% of the internet? It would be much more effective to just allow the few people who SHOULD have access.
__________________
For historical display only. This information is not current:
support@bettercgi.com ICQ 7208627
Strongbox - The next generation in site security
Throttlebox - The next generation in bandwidth control
Clonebox - Backup and disaster recovery on steroids
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2012, 12:56 PM   #3
Nookster
Confirmed IT Professional
 
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
Quote:
Originally Posted by raymor View Post
Block them on what basis? Ripping? Spamming? Stolen passes? If they are dynamic that by definition means they change, so listing them is pointless.

Block ALL dynamic IPs, 90% of the internet? It would be much more effective to just allow the few people who SHOULD have access.
Agree 100%. A whitelist is always better than a blacklist.
Nookster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2012, 01:04 PM   #4
signupdamnit
Confirmed User
 
signupdamnit's Avatar
 
Industry Role:
Join Date: Aug 2007
Posts: 6,697
If just an average surfer you need to block for being an ass then you might try a special cookie which flags them, check for the cookie on access and then deny them access if it is there. It will work no matter if they change their IP. Anyone with a clue will figure this out and will clear the cookie but the average person doesn't have a clue and it just might help.
signupdamnit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2012, 01:37 PM   #5
2MuchMark
Too lazy to set a custom title
 
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 50,034
What about blocking a range of IP addresses instead? For example, your user comes from


4.28.42.196 sometimes, and sometimes
4.28.42.186
4.28.42.156
4.28.42.197

Can you block the range? For example 4.28.42.150 to 4.28.42.199 ? I don't know wordpress so I don't know if this is possible.

Or, can you block block using something like this format:

4.28.42.* ?

Just a thought...
2MuchMark is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2012, 01:41 PM   #6
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,223
Quote:
Originally Posted by ********** View Post
What about blocking a range of IP addresses instead? For example, your user comes from


4.28.42.196 sometimes, and sometimes
4.28.42.186
4.28.42.156
4.28.42.197

Can you block the range? For example 4.28.42.150 to 4.28.42.199 ? I don't know wordpress so I don't know if this is possible.

Or, can you block block using something like this format:

4.28.42.* ?

Just a thought...
You can do that with .htaccess by just leaving out the last octet:
order allow,deny
deny from 127.0.0
allow from all

__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2012, 04:09 PM   #7
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
Quote:
Originally Posted by Colmike7 View Post
You can do that with .htaccess by just leaving out the last octet:
order allow,deny
deny from 127.0.0
allow from all

But don't copy and paste this and actually block 127.0.0. - that would block the server from itself.
__________________
For historical display only. This information is not current:
support@bettercgi.com ICQ 7208627
Strongbox - The next generation in site security
Throttlebox - The next generation in bandwidth control
Clonebox - Backup and disaster recovery on steroids
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2012, 04:23 PM   #8
mafia_man
Confirmed User
 
mafia_man's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: icq#: 639544261
Posts: 1,965
Except dynamic IP addresses can use more than the last octet so you could find the address you are trying to block change from 12.34.56.78 to 12.34.57.78.

You can't block 2 octets because that's 65,536 addresses.
__________________
I'm out.
mafia_man is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2012, 05:16 PM   #9
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
Quote:
Originally Posted by Colmike7 View Post
You can do that with .htaccess by just leaving out the last octet:
order allow,deny
deny from 127.0.0
allow from all

Great example
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2012, 06:21 PM   #10
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,223
Quote:
Originally Posted by raymor View Post
But don't copy and paste this and actually block 127.0.0. - that would block the server from itself.
lol, that would be funny, though..
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2012, 06:25 PM   #11
VenusBlogger
So Fucking Banned
 
Industry Role:
Join Date: Nov 2011
Posts: 1,540
block them from htaccess... best block you can do.
VenusBlogger is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.