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 Mark Forums Read
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 02-16-2015, 03:33 AM   #1
The Hun
Confirmed User
 
The Hun's Avatar
 
Join Date: Jan 2001
Location: The Netherlands
Posts: 1,207
WHITELIST vs BLACKLIST (CloudFlare problem)

Cloudflare, a host used by a lot of people apparently, made it painfully obvious some people in the industry don't know the difference between a whitelist and a blacklist, and that there are two very specific problems you can solve with them. In fact, I see that modern day programmers are so blissfully unaware of some programming issues (performance, compatibility, that sort of thing) that I end up writing the same message to a lot of people... better share it here as well, maybe it helps

Anyway, let's say you have a bar. Members only. A selected few may enter your club/bar after going through screening, payment processing, health check to make sure there are no STD's, parental checks to make sure their dad's not a judge or something, you name it. Your club, your rules... but there will be a bouncer at the door that has a WHITELIST. You want to know exactly who's inside and nobody else... that's what a whitelist is for.

If you run a less classy bar, let's call it The Hun's Schmutzige Mutze, the bar basically just has to be full. You want a lot of people in there, partytime, long, short, fat, skinny, doesn't matter, as long as they're in! But... there's always a few troublemakers. You don't want to allow the people in that caused a big fight over who's turn it was to toss the midget over the bar or who it was that deliberately punctured your rubbers. Those troublemakers should not come in again. The bouncer at that bar will have a BLACKLIST, if you're not on the list you're presumed innocent and may proceed...

Now... why the fuck am I talking about bars. Well... the same goes for websites... if you have a paysite you only want to allow people that paid you. So you'll use a whitelist. If you build an ad to promote your paysite (in this case: a gallery), you want everybody to be able to see your ads, you don't want that behind a whitelist. Maybe you want to block some people that caused problems in the beginning, that's fine, but you need a blacklist for that...

CloudFlare is an example of using the wrong list at the wrong time, or I should say: some people using CloudFlare as their host... They offer this feature that blocks people with an unknown browser signature from their sites. So if Chrome comes with a new signature it will be blocked, if people have an obscure browser that's not in the list CloudFlare recognizes they will be blocked. You don't know who you're blocking if you use a whitelist. And if you have your stuff listed on thehun you don't know beforehand who will be visiting you. They should ALL get access though. I have to remove sites from The Hun if they have this feature switched on since some people get redirected, lowering the experience on my site...

So, and this goes for galleries on The Hun, but I'm 100% sure the same thing is true on many different settings as well, don't use a WHITELIST if you really mean to your a BLACKLIST... and not only for browser signatures, but also for referrals. Some galleries are set up to allow traffic from thehun.net only, but what if people use a proxy for instance...

Anyway, had to share this, if you don't submit to thehun, fine, learn from it anyway, I'm sure it can help others. I see a lot of things 'modern' programmers now do wrong in sooooo many ways... WorldPress galleries for instance... resources don't seem to matter anymore, optimization doesn't even exist anymore. I'm an old school programmer. And I kept up with modern technology with that old school approach. Which means I'll always go for using the least amount of resources. We were amongst the first to have a responsive site, working on both desktop and mobile devices, we had endless scrolling working before even Facebook figured out how to do that correctly... I'll be sharing more in the future
The Hun is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2015, 06:10 AM   #2
Oracle Porn
Affiliate
 
Oracle Porn's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,433
cloudflare is not a host though...
__________________


Oracle Porn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2015, 06:17 AM   #3
The Hun
Confirmed User
 
The Hun's Avatar
 
Join Date: Jan 2001
Location: The Netherlands
Posts: 1,207
they deliver content... effectively the same thing (in this case)...
The Hun is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2015, 06:22 AM   #4
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Punta Cana, DR
Posts: 29,586
another race thread











/jk
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2015, 06:41 AM   #5
ctggls
Confirmed User
 
Industry Role:
Join Date: Aug 2012
Posts: 898
@TheHun do you have some examples of Wordpress gallery optimization?
ctggls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2015, 06:54 AM   #6
The Hun
Confirmed User
 
The Hun's Avatar
 
Join Date: Jan 2001
Location: The Netherlands
Posts: 1,207
Quote:
Originally Posted by ctggls View Post
@TheHun do you have some examples of Wordpress gallery optimization?
I have plenty of examples of the oposite...

well, I had, declined a bunch of galleries for loading libraries over and over again. Optimisation and wordpress are a contradiction of terms... WordPress is great in the way it is one solution for a whole bunch of problems. Downside is that that flexibility tends to create a lot of overhead. Personally for instance: all those ways to make thumbs animate into larger pics... People come to a gallery to get entertained... although there is a large portion of the world's population that will get entertained by animating thumbs most people just want to see titts and ass... so the animations are sucking up resources and not giving the user what they came for. Usually (usually, not always!) less is more... especially with ads/galleries... you want them to load quick... to the point... all kinds of dynamic libraries and such will only slow things down...

For instance, did you ever try the Audit function in Chrome? Tells people a lot about their website. Google takes page speed in consideration these days. So the faster the page the higher up you'll be.
The Hun is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2015, 08:20 AM   #7
ctggls
Confirmed User
 
Industry Role:
Join Date: Aug 2012
Posts: 898
Quote:
Originally Posted by The Hun View Post
I have plenty of examples of the oposite...

well, I had, declined a bunch of galleries for loading libraries over and over again. Optimisation and wordpress are a contradiction of terms... WordPress is great in the way it is one solution for a whole bunch of problems. Downside is that that flexibility tends to create a lot of overhead. Personally for instance: all those ways to make thumbs animate into larger pics... People come to a gallery to get entertained... although there is a large portion of the world's population that will get entertained by animating thumbs most people just want to see titts and ass... so the animations are sucking up resources and not giving the user what they came for. Usually (usually, not always!) less is more... especially with ads/galleries... you want them to load quick... to the point... all kinds of dynamic libraries and such will only slow things down...

For instance, did you ever try the Audit function in Chrome? Tells people a lot about their website. Google takes page speed in consideration these days. So the faster the page the higher up you'll be.
Hmm , interesting point... Never tried Audit function but will try it...
ctggls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2015, 10:39 AM   #8
MasonSquelch
Registered User
 
MasonSquelch's Avatar
 
Industry Role:
Join Date: Jun 2014
Location: Germany
Posts: 51
Optimizing a website is one thing, knowing the basics (white- vs. blacklisting (some software even allows greylisting)) something different. I personally consider poorly designed systems a mere matter of evolution: either their design is not that important and they survive, or it's so bad and they dwindle. At least there's software that makes things a lot easier, and WordPress isn't the worst one. Stuffing bad / poor / needless plugins into WP is a common mistake. But all these mistakes are the raison d'être for a lot of consultants and SEOs, no?

By the way: the plugin 'Dust-Me-Selectors' does similar things for Firefix like Audit does for Chrome. The WordPress plugin P3 (Plugin Performance Profiler) is pretty good at finding resource hogs in your pugin collection.
__________________
Mental Sinema - Wanktrance Outfitter
MasonSquelch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2015, 10:50 AM   #9
srockhard
Retired
 
srockhard's Avatar
 
Industry Role:
Join Date: Jul 2011
Location: PDXXX
Posts: 1,976
Thank you for the article. What about just disabling the browser check in Cloudflare settings?
__________________
Piper Pines
srockhard is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2015, 11:19 AM   #10
The Porn Nerd
Living The Dream
 
The Porn Nerd's Avatar
 
Industry Role:
Join Date: Jun 2009
Location: Inside a Monitor
Posts: 19,524
Thank you Patrick SO much for your post! I too HATE it when a page takes forever to load and no one seems to give a shit about that these days.

My paysite tours are now very thumbnail-heavy but you would be amazed (maybe not) how similar paysites with thumbs who do not optimize their thumbs! A thumb can be like 800mb in some cases. Crazy!

This is also why I do not use animated GIFs (tho I think some of them are cool and maybe good for capturing a surfer's attention with movement) but for a gallery? No way man. LOL

(I hope our Galleries and banners are loading quick for TheHun. Please let me know if not.)
__________________
My Affiliate Programs:
Porn Nerd Cash | Porn Showcase | Aggressive Gold

Over 90 paysites to promote!
Now on Teams: peabodymedia
The Porn Nerd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2015, 11:47 AM   #11
robwod
Confirmed User
 
Industry Role:
Join Date: Nov 2005
Posts: 2,539
Patrick, the browser signature check in Cloudflare is the option that causes an issue with your bot (you and I spoke it via email awhile back if you recall). Because your bot is not tied to a specific IP (or IP's), it can't be whitelisted effectively.

The browser signature / browser integrity signature check causes your bot to fail via Cloudflare (I think your bot fails their integrity check), which in turn rejects your bot. And of course, when your bot is rejected (in this case redirected to a rejected page), it results in the submitted gallery to be placed in suspended mode.

I don't think Cloudflare's Browser Integrity Check option is available as part of the free subscription, but it is definitely part of the paid subscription. I can't recall if it's default ON or OFF. Anyone using Cloudflare and submitting to you, though, absolutely needs to check and make sure the Browser Integrity check is disabled, or their galleries will be disabled.

As for me, I have a love/hate relationship with Cloudflare. Certain things, and certain times, they've been quite an asset. Other times, a royal pain in the ass.
__________________
NSFW
robwod is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2015, 02:25 PM   #12
The Hun
Confirmed User
 
The Hun's Avatar
 
Join Date: Jan 2001
Location: The Netherlands
Posts: 1,207
Quote:
Originally Posted by robwod View Post
Patrick, the browser signature check in Cloudflare is the option that causes an issue with your bot (you and I spoke it via email awhile back if you recall). Because your bot is not tied to a specific IP (or IP's), it can't be whitelisted effectively
I know the blame for this could be put in the fact that my bot has no point nosing around on people's galleries, but it doesn't need to be added to the whitelist, there shouldn't be a whitelist on a free gallery to begin with, that is the whole point of my post... I understand a whitelist for a paysite or something that grants exclusive access to some, but you never know exactly who you block, so that makes it never a good idea for a free gallery/add/whatever-you-want-to-call-it...

Switching the option off indeed is smart: IF you're doing free galleries... if you're running a paid service it's different...

Sites can be optimized in so many ways. And it's important too now that google takes speed in consideration. I started loading banners asynchronously for instance, I'll dedicate another post to that some day. But at least thehun doesn't get punished anymore for loading times of banners I'm not hosting myself.
The Hun is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2015, 02:58 PM   #13
robwod
Confirmed User
 
Industry Role:
Join Date: Nov 2005
Posts: 2,539
Quote:
Originally Posted by The Hun View Post
I know the blame for this could be put in the fact that my bot has no point nosing around on people's galleries, but it doesn't need to be added to the whitelist, there shouldn't be a whitelist on a free gallery to begin with...
I know for myself, I block any bot that serves me no purpose -- at the firewall/router. For example, non-SE Spider bots, **anything** from China, several ranges from ColoCrossing. They are useless to me and/or problematic (spamming, malware attacks, etc).

In any case, one thing people can do with CloudFlare who have an issue with your bot is to do the following:

1. Disable Browser Integrity Check
2. If their galleries are in a subfolder or subdomain, they can add a specific rule to exclude that subfolder/subdomain in their WAF settings (Web Application Firewall).
__________________
NSFW
robwod is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2015, 04:07 PM   #14
Mickey_
 
Mickey_'s Avatar
 
Industry Role:
Join Date: Nov 2005
Location: Worldwide
Posts: 4,238
Racist thread.


(Bump for business) ;)
__________________


LifeSelector Affiliates - Make money today promoting the online porn of tomorrow.

mb [at] lifeselector.com
Mickey_ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-17-2015, 02:52 AM   #15
The Hun
Confirmed User
 
The Hun's Avatar
 
Join Date: Jan 2001
Location: The Netherlands
Posts: 1,207
Quote:
Originally Posted by Mickey_ View Post
Racist thread
Mickey... don't make me yellowlist your ass!
The Hun is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-17-2015, 11:48 AM   #16
NatalieK
Natalie K
 
NatalieK's Avatar
 
Industry Role:
Join Date: Apr 2010
Location: Spain
Posts: 19,190
My galleries never seem to have a problem, I must be on your whitelist. Care for a glass of wine
__________________
My official site Semi exclusive custom clips My affiliate programFirst time girls
Skype: gspotproductions - "Converting traffic into income since 2005"
NatalieK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-17-2015, 11:52 AM   #17
Mickey_
 
Mickey_'s Avatar
 
Industry Role:
Join Date: Nov 2005
Location: Worldwide
Posts: 4,238
Quote:
Originally Posted by The Hun View Post
Mickey... don't make me yellowlist your ass!
Sounds kinky.
__________________


LifeSelector Affiliates - Make money today promoting the online porn of tomorrow.

mb [at] lifeselector.com
Mickey_ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-17-2015, 12:27 PM   #18
freecartoonporn
Confirmed User
 
freecartoonporn's Avatar
 
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
i disabled mostly useless shit on cloudflare, only use cdn things to speed up site.

but idk why cloudflare slows down my wp blog, so i dont use cloudflare + wp ,
freecartoonporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2015, 04:35 AM   #19
The Hun
Confirmed User
 
The Hun's Avatar
 
Join Date: Jan 2001
Location: The Netherlands
Posts: 1,207
With the blacklist/browser signature check disabled there wouldn't be a problem indeed... I don't understand though why they block so many things to speed things up and why people have something like that enabled? I mean, sure, it will block a lot of robots, but the collateral damage must be huge...
The Hun 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

Tags
people, whitelist, cloudflare, blacklist, bar, lot, list, wrong, galleries, modern, browser, instance, resources, bouncer, school, anymore, troublemakers, signature, sites, blocked, feature, fine, thehun, paysite, matter
Thread Tools



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.