Bitcoin Institute

Who's the Spanish jerk draining the Faucet?

Gavin Andresen August 4, 2010 20:40 UTC Link to this message

I just shut down freebitcoins.appspot.com; it looks like somebody in Spain is being a jerk and getting a new IP address, bitcoin address, and solving the captcha. Over and over and over again:

79.154.133.217 - - [04/Aug/2010:12:46:55 -0700]
"POST / HTTP/1.1" 200 1294 "https://freebitcoins.appspot.com/"
"Opera/9.80 (Windows NT 6.0; U; es-LA) Presto/2.6.30 Version/10.60,gzip(gfe)"

79.146.112.13 - - [04/Aug/2010:12:45:20 -0700]
"POST / HTTP/1.1" 200 1294 "https://freebitcoins.appspot.com/"
"Opera/9.80 (Windows NT 6.0; U; es-LA) Presto/2.6.30 Version/10.60,gzip(gfe)"

81.44.159.81 - - [04/Aug/2010:12:42:20 -0700]
"POST / HTTP/1.1" 200 1294 "https://freebitcoins.appspot.com/"
"Opera/9.80 (Windows NT 6.0; U; es-LA) Presto/2.6.30 Version/10.60,gzip(gfe)"

Those IP addresses all map to Telefonica de Espana. If it was you: give them back, please: 15VjRaDX9zpbA8LVnbrCAFzrVzN7ixHNsC

Now that 5 bitcoins is worth a fair bit, I’m thinking I need more cheating countermeasures. I can think of four things to try:

  1. Rate limit based on the first byte of the IP address (79. or 81. in this case).
  2. Rate limit based on the USER-AGENT string (“Opera/9.8…” in this case).
  3. Rate limit based on last two domains of reverse DNS lookup of the IP address (rima-tde.net in this case).
  4. Make the standard amount given away 0.5 Bitcoins (Bitcoins have gone up 10 times in value since I started the Faucet).

If you get rate limited, you’ll get a message that asks you to try again tomorrow.

BitcoinFX: thanks again for the donation to the faucet; I’m going to drain the Faucet below 500 coins temporarily, and will refill it with your donation after the new cheating countermeasures are in place.

kiba August 5, 2010 03:08 UTC Link to this message
Quote from: Gavin Andresen on August 05, 2010, 2:11:34 AM UTC

This is a nice exercise in what happens when you give free stuff away. Hint: People try to get the free stuff. I do think it’s a nice idea, I’m not saying you shouldn’t do it.

Yeah, I shoulda anticipated problems when Bitcoins went from 0.005 USD each to 0.06 each.  If it takes somebody two minutes to go through the “get a new IP, get a new BC address, solve the captcha” process then they’d make 5*30=150 bitcoins an hour, which is $9 USD an hour, which, if you’re unemployed, bored, and/or 13 years old is easy money.

Hmm, now that I think about it…13 years old would find bitcoins to be a money making opportunities, especially since they generally can’t be employed by business and such. They can however, offer services and goods of some kind to bitcoiners in exchange for some money. When he/she saved up a bit, she/he can buy hosting services and bootstrap their way to bigger business operations.

Ground Loop August 5, 2010 04:30 UTC Link to this message

Sadly, I don’t think there’s a viable anti-abuse system when you have an automated system dispensing coins for free.  (anonymous, irrevocable coins)

The only countermeasure that makes sense is to slow down the value and pace of the whole faucet to where someone has a chance to manually keep an eye on flow.

But coming back to the roots of why it’s neat, and what people reasonably get from it, the specific value is not really important.  I see it as more a “system test”, where someone can watch coins come in, transfer them to another computer, and so on.  It’s not supposed to be “what can I buy with these”, but test coins.  Having 0.02 coins is much more fun than having zero.

To that end, a system that dispenses BTC 0.02 and has a significant delay (30 mins?) is less likely to be attractive to even automated abuse plots.

I’ve tried it last week and got 0.05BC, which is fine for its purpose (testing how it works and if it works). I also send the same amount back. I think it works just fine like this. I wouldn’t have tried it when I had to get a google account, or something similar (getting such thing for only 0.05BC is just to much effort for testing it).

gebler August 5, 2010 11:30 UTC Link to this message

Perhaps it would help to be more clear about the Faucet operating on an honor principle, and that no one is really allowed more than 5.05 bitcoins (or 0.55 bitcoins if you change it to that). When I revisit the site today it says “Right now the rule is 0.05 bitcoins given per unique IP address.” Such language could be interpreted as if it was actually OK to get more payouts from the Faucet using several unique IP addresses, since it would not be “against the rules”. Improving the technical system to prevent cheating is probably a good idea anyway, since there are probably cheaters who don’t care about being cheaters. But some may actually think they are just being clever, maximizing their benefit without breaking any rules.

Just an idea… you could remove the message that tells the user he already got coins and always pretend to have sent coins when in reality you didn’t. Maybe with a nice “If it doesn’t work contact me at …” message. Hopefully they’ll just assume it’s broken and don’t bother trying to get coins from it anymore.

Silently failing would look bad.

Quote from: Gavin Andresen on August 04, 2010, 8:40:55 PM UTC
  1. Rate limit based on the first byte of the IP address (79. or 81. in this case).

Definitely needed.  What rate are you thinking of?  Ultimately, it’s better to rate limit it than to let it all drain out.

Gavin Andresen
  1. Rate limit based on last two domains of reverse DNS lookup of the IP address (rima-tde.net in this case).

That might work surprisingly well.  If it works, it keeps them from hitting the rate limit, but the rate limit is there as the last line of defence.

Gavin Andresen
  1. Make the standard amount given away 0.5 Bitcoins (Bitcoins have gone up 10 times in value since I started the Faucet).

Definitely time to lower it.

Bitquux August 5, 2010 19:58 UTC Link to this message

Switch to sending payment to IP addresses. They don’t have to be static for this purpose. If you happen to miss it, too bad. Any unrelated person who happens to be at the requesting IP address probably sees tons of other random connection attempts from the Internet at large anyway.

Quote from: Bitquux on August 05, 2010, 7:58:25 PM UTC

Switch to sending payment to IP addresses. They don’t have to be static for this purpose. If you happen to miss it, too bad. Any unrelated person who happens to be at the requesting IP address probably sees tons of other random connection attempts from the Internet at large anyway.

Can’t do that with the current state of the software 😞

hugolp August 6, 2010 10:40 UTC Link to this message

If he/she lives near me I can pay him a visit… just saying. 🙄