Mostly iran, I had them blocked in my control panel for a week and still i get all that traffic from them! And youtube is disabled
You need to go through the logs and see if any one is trying to put you out of business. Before i put in allot of anti abuse methods bots used to just leech the same big download files 100s of times per day.
Your only getting $1 for 45 Gigs in traffic so You probably have some bad traffic like Chinese or something. That traffic wont you make you anything with English advertisements.
He means 30megabyte per minute not megabit per second, it would come to around 1.3tb per month which is less than 5mbit/s so your a little off advising an unmetered 100mbit port --- edit: you changed your post
I suggest find the most recent GeoIP database file and use that to block/redirect your trouble traffic.
Ya I noticed that, I'm not sure exactly btw how bandwidth works but from my graph I'm probably going to need a dedicated port soon.
At a guess i would say you only used around 5tb in that graph? Less than 20mbit, go for quality else where rather than jump on the "i need unmetered bus at a budget dc in order to save money but really drive away my user base"
Its funny becuase My cpanel only report 480GB for the month, I'm pretty sure that is Bogus. I also do not china blocked on my server. I think I'm going to block it again and see if that does anything.
Cpanel (the last time i looked) only records what your httpd serves, it wont count what your php fetches from remote sites via sockets/curl. Much like people who report stats from awstats etc they need to learn how this tech works. if you notice your outgoing bandwidth is MUCH lower than your incoming it suggests abuse is going on like the bots i mentioned because its wasted bandwidth. a client has requested a file but and your proxy grabbed it from the remote server but the client never took it from your server. There will be some difference if you compress via gzip, dropped downloads etc but if its a massive difference you need to dig deeper to see what is going on.
I actually have one here. This is by http://www.maxmind.com Download this http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz - must be deflated with 7-Zip or similar program. http://geolite.maxmind.com/download/geoip/api/php/geoip.inc and use this PHP to interact with it. <?php // PUT THIS CODE AT THE TOP OF YOUR INDEX.PHP BEFORE ANYTHING ELSE include('geoip/geoip.inc'); //this file must exist in your directory // Uncomment if querying against GeoIP/Lite City. // include('geoip/geoip.inc'); $gi = geoip_open('geoip/geoip.dat',GEOIP_STANDARD); // get the ip of the visitor $addr = getenv('REMOTE_ADDR'); // translate his ip to a country code $country = geoip_country_name_by_addr($gi, $addr); // close the geo database geoip_close($gi); $okcountry = array('Example','Example','Example','Example'); // redirect them if they suck if(!in_array($country, $okcountry)) header('Location: http://www.example.com'); //enter a url or page on your site ?> PHP:
I also use the free geoip db mentioned, i only noticed freedomofads has a section to list traffic via country. Their records show that they served over 10k impressions to traffic in iran even though i have blocked the country through the free database. I hear the paid database is much better, can any one confirm?
The free database is a bit inaccurate, I put Sitemeter on the block page and some UK and US visitor ended up in the blocked page, so either sitemeter's IP database is inaccurate or it was maxminds free database.
Correct, while I was using the mod_geoip with the free GeoIP database, it was doing the same as well. It has some IP range blacklisted which are specifically from Europe or near to it.
Hi guys, I've just installed SSL certificate on my proxy. However now I realized that the adversal ads and banner ads below the form on inner page doesn't work on https. If I enter the site using http all ads and pop up are working. Does any one know how to activate ads especially adversal for https version of my proxy ? I'm using glype 1.0 for this proxy. I've searched for similar case in this thread but I can't find any solution for this problem.
I received some PM's from a few of you before but don't really have time to get to it so I'll just make my announcement here - the ProxyKey affiliate program is finally launched. Check out my signature for the link!
Maxminds free database is 99% accurate from memory, which is good enough for me. There is a payed version available that is 99.9 percent accurate as well. I use Glype and since Glype already uses sessions, I begin the session early and use this to store the country info from the user. Basically I just query the database once to see if the user is blocked or not, rather than having to do this with every page load.
I have just released a glype template called Circles & Black. If anyone is interested in obtaining the template they can do so here: http://www.prox-hub.com/?page_id=23