bitcoinerN
Newbie
Offline
Activity: 12
Merit: 0
|
|
July 31, 2015, 03:32:28 PM |
|
Hello everyone I got some troubles with adding Google adsense code to faucetbox script, placing banner between captcha and "get reward" button. I tried to paste it between code of captcha and button in index.php of default theme, its not showing, but got some empty place between them. Also tried associate adsense code with variable and echo it, but dont works too. What am I doing wrong, guys? You can try this way <div>Your ads code here</div>
|
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
July 31, 2015, 06:08:33 PM Last edit: July 31, 2015, 06:21:17 PM by Kazuldur |
|
A once and for all solution would be to set your fee rate dynamically using "estimatefee" command.
We do use the estimatefee. However we use confirm target of 20 blocks and it doesn't always work correctly with such a high target. I see that today's transactions are getting confirmed correctly though. I'm trying to protect somehow my faucets against bots .. unfortunately poorly it goes.
Changing captcha system every week can be good enough? Any other advice?
Do FaucetBox have plans to introduce some additional security?
There's nothing you could do that I'm aware of. Captcha + timer is pretty much the only way. Did not help, maybe there are other ways?
It could be something to do with the language set in your MySQL database. I'll wait for Kazuldur before suggesting anything else though, he probably has a better idea than I do. Thanks, I will wait for new ideas. I wrote to support, got no response, but I hope they will answer. Did you try reentering everything after doing what minifrij suggested?
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
valdepretium
Newbie
Offline
Activity: 40
Merit: 0
|
|
July 31, 2015, 09:29:04 PM |
|
A once and for all solution would be to set your fee rate dynamically using "estimatefee" command.
We do use the estimatefee. However we use confirm target of 20 blocks and it doesn't always work correctly with such a high target. I see that today's transactions are getting confirmed correctly though. Here's a payout transaction from FaucetBox that didn't get confirmed by Blockchain.info (error: Transaction rejected by our node. Reason: The Maximum number of outputs in a single transaction is 200) https://blockchain.info/tx/a89d0f423ca7ff513deff5f55aa19b33e2c1d4c36e45651eae67d36df18dc0a5
|
|
|
|
dart vader
|
|
July 31, 2015, 09:49:40 PM |
|
I still have hope for a bigger payments history list
|
|
|
|
Coef
|
|
August 01, 2015, 04:02:03 AM |
|
A once and for all solution would be to set your fee rate dynamically using "estimatefee" command.
We do use the estimatefee. However we use confirm target of 20 blocks and it doesn't always work correctly with such a high target. I see that today's transactions are getting confirmed correctly though. I didn't know you were using dynamic fee. Thanks for your clarification. I noticed that as well, which is quite weird tbh, as the fee rate of today's transactions is more or less the same as yesterday at 0.000044 btc per KB.
|
|
|
|
FaucetWorld
|
|
August 01, 2015, 04:33:15 AM |
|
I'm trying to protect somehow my faucets against bots .. unfortunately poorly it goes.
Changing captcha system every week can be good enough? Any other advice?
Do FaucetBox have plans to introduce some additional security?
There's nothing you could do that I'm aware of. Captcha + timer is pretty much the only way. Thanks for answer Kazuldur Just in your opinion - do you think that changing captcha system (every 1-2 weeks) can hinder bots activity?
|
|
|
|
Salmen
Legendary
Offline
Activity: 1059
Merit: 1020
|
|
August 01, 2015, 11:21:04 AM |
|
How's about a shield against TOR visitors?
Cheers Salmen
|
Young Developer amidst Europe. Specialized in Web Programming and Creating Telegram Bots. Looking for a developer? Feel free to drop a mail to me. Running JaguarBitcoin - Your Place For Scripts
|
|
|
Werko
|
|
August 01, 2015, 05:09:59 PM |
|
I have a cron job, that create me every 30 minutes a conf with all ip-addresses from Tor-servers you need in your viruelhost following entry <Directory /var/www/bigcoin> # Include tor ip Include /etc/apache2/tor-ip.conf </Directory> your conf will create by following sh-command wget -q https://www.dan.me.uk/torlist/ -O - | sed "s/^/Require not ip /g; 1i\<RequireAll\>\nRequire all granted" | sed '$a\<\/RequireAll\>' > /etc/apache2/tor-ip.conf; /usr/sbin/apachectl graceful All tor-user will rejected
|
|
|
|
ragi
|
|
August 02, 2015, 07:16:10 AM |
|
I have a cron job, that create me every 30 minutes a conf with all ip-addresses from Tor-servers you need in your viruelhost following entry <Directory /var/www/bigcoin> # Include tor ip Include /etc/apache2/tor-ip.conf </Directory> your conf will create by following sh-command wget -q https://www.dan.me.uk/torlist/ -O - | sed "s/^/Require not ip /g; 1i\<RequireAll\>\nRequire all granted" | sed '$a\<\/RequireAll\>' > /etc/apache2/tor-ip.conf; /usr/sbin/apachectl graceful All tor-user will rejected How do you do that on a shared hosting plan if you want to use it?
|
no.
|
|
|
minifrij
Legendary
Offline
Activity: 2324
Merit: 1267
In Memory of Zepher
|
|
August 02, 2015, 10:27:01 PM |
|
How do you do that on a shared hosting plan if you want to use it?
A rough way to do it with PHP would be this: $userIP = $_SERVER['REMOTE_ADDR']; $proxyIP = $_SERVER['HTTP_X_FORWARDED_FOR']; $torIP = file('https://www.dan.me.uk/torlist/');
if(in_array($userIP, $torIP) || in_array($proxyIP, $torIP)){ die('You appear to be accessing the site through TOR. Please go through the clearweb to access this site.'); }
The problem comes with getting the user's IP, as there are a few problems using REMOTE_ADDR ( detailed here (May be outdated by now)) and HTTP_X_FORWARDED_FOR is a HTTP header and can be changed by the user. Obviously the code should be fine-tuned before main use, but it should catch out a few TOR users at least.
|
|
|
|
ragi
|
|
August 03, 2015, 07:51:09 AM |
|
How do you do that on a shared hosting plan if you want to use it?
A rough way to do it with PHP would be this: $userIP = $_SERVER['REMOTE_ADDR']; $proxyIP = $_SERVER['HTTP_X_FORWARDED_FOR']; $torIP = file('https://www.dan.me.uk/torlist/');
if(in_array($userIP, $torIP) || in_array($proxyIP, $torIP)){ die('You appear to be accessing the site through TOR. Please go through the clearweb to access this site.'); }
The problem comes with getting the user's IP, as there are a few problems using REMOTE_ADDR ( detailed here (May be outdated by now)) and HTTP_X_FORWARDED_FOR is a HTTP header and can be changed by the user. Obviously the code should be fine-tuned before main use, but it should catch out a few TOR users at least. Thanks for this. It may come handy in some situations. Looks like I can make a personal list too.
|
no.
|
|
|
joele
Legendary
Offline
Activity: 1022
Merit: 1000
|
|
August 03, 2015, 12:58:27 PM |
|
website is offline
|
|
|
|
Buziss
|
|
August 03, 2015, 01:14:01 PM |
|
website is offline
Same here. I got the "Error 522 Ray ID: 210243f7a1c3022c • 2015-08-03 13:11:12 UTC Connection timed out" message.
|
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
August 03, 2015, 01:14:18 PM |
|
website is offline
Working on it already.
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
Crystyan
|
|
August 03, 2015, 01:19:30 PM |
|
website is offline
Working on it already. why is down?
|
|
|
|
LuckyYOU
|
|
August 03, 2015, 01:24:43 PM |
|
is it going to be a long maintenance or short one? thanks
|
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
August 03, 2015, 01:34:54 PM |
|
website is offline
Working on it already. why is down? Looks like routing problems at our datacenter. Too early to say for sure. is it going to be a long maintenance or short one? thanks
No idea.
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
August 03, 2015, 01:37:46 PM |
|
I've worked around the problem so it should work for now, but it can stop working again for a couple minutes later today.
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
winspiral
Legendary
Offline
Activity: 1778
Merit: 1026
Free WSPU2 Token or real dollars
|
|
August 03, 2015, 01:40:01 PM |
|
we have "unknow problem" message after faucet claim.
|
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
August 03, 2015, 01:46:53 PM |
|
we have "unknow problem" message after faucet claim.
Other faucets seem to work correctly. Can you upload this to your server and send me a link to it: http://pastebin.com/raw.php?i=JzMjX3AX ? It will tell something more I hope.
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
|