Bitcoin Forum
June 14, 2024, 01:52:55 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 [134] 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 »
2661  Economy / Marketplace / Re: SUCCESS: german privacy foundation accepting Bitcoin donations ;) on: April 07, 2011, 01:57:18 AM
Ha, they finally did it (just received email from them): https://www.privacyfoundation.de/verein/spenden/

As I promised, I just sent 3 BTC to you (GPF not a shop, but I like them). Looking forward their shop accepting bitcoins, I'll send next 3 BTC...
2662  Bitcoin / Pools / Re: Cooperative mining (160Ghash/s) on: April 07, 2011, 01:54:16 AM
Why do you track users for google? 

Because I'm curious how many people is going to the site?
2663  Bitcoin / Mining / Re: BitcoinPool.com open thread on: April 07, 2011, 12:52:04 AM
Unless you've audited our site

I saw part of pool sources, as I wrote many weeks ago to the forum thread...

Quote
through attempted attacks

...but I didn't hacked your pool. Those sources were just printed on the homepage for some time (following block is reformated, but code untouched):

Code:
// GHash/s
$numshares = mysql_num_rows(mysql_query("SELECT username FROM shares"));
$sampletime = 300;
$deltaframe = time() - $sampletime;
$sharesbeforedelta=mysql_num_rows(mysql_query("SELECT username FROM shares WHERE datetime < '".$deltaframe."'"));
$sharesdelta = (($numshares - $sharesbeforedelta) * pow(2, 32)) / $sampletime;
while(strlen($sharesdelta) > 4){
if(strlen($sharesdelta) >= 10 ? $sharesdelta = ($sharesdelta / 1000) : $sharesdelta = $sharesdelta);
if(strlen(round($sharesdelta)) >= 7 ? $sharesdelta = ($sharesdelta / 1000) : $sharesdelta = $sharesdelta);
if(strlen(round($sharesdelta)) >= 4 ? $sharesdelta = ($sharesdelta / 1000) : $sharesdelta = $sharesdelta);
$sharesdelta = round($sharesdelta, 2);
if($sampletime > 60 ? $avgstr = ($sampletime/60)."m avg" : $avgstr = ($sampletime)."s avg");
$theReturn = "Estimated Pool Speed (".$avgstr."): ".$sharesdelta." Ghash/s";
}

From this code I see that you were using mysql and inserting parameters directly into sql statements. So no black magic from my side, no speculations. And if you read carefully my previous post, I'm not attacking you, just thinking about possible problems.

Quote
, or looked at our code directly through successful attacks, you don't know how our site, or pool is coded, and should not comment on it.

As you see, I can read your code even without attacking your site Smiley.

Edit: I'm just chatting with others about technical stuff, security and so on, it isn't targeted against you anyhow (I'm pretty tired that you take everything personally). And as I don't expect your reaction, I'm not writing it to official bitcoinpool thread.

Edit2: I published the code because I expect it is no longer in production. Looks like you followed my advice and removed the mysql_num_rows(mysql_query()) stuff, because pool homepage is little faster even on long rounds...
2664  Bitcoin / Mining software (miners) / Re: Flexible mining proxy on: April 06, 2011, 10:53:18 PM
You did first metapool. It was just matter of the time, but still - congratz  Grin

Edit: Does this solve long polling somehow?
2665  Bitcoin / Mining / Re: BitcoinPool.com open thread on: April 06, 2011, 09:56:08 PM
Once the pools opened and people started using clients it's hard to change that.

That's why I introduced separate credentials for account and for workers. Sending plaintext credentials for full account access with getwork request is simply crazy (I mean this globally, I even don't know if bitcoinpool.com use the same password for account and for workers).

With separate credentials for getwork calls, things are quite safe. I don't know any significant type of attack which can be done by stolen getwork password.

Quote
In their case it was a SQL. No matter which SQL server you are using, it's most likely that you wrote little, if any, code that is running on it. SQL query and security issues are constantly being found and addressed for every SQL vendor.

Well, I don't have enough info, but most likely the attack was targeted to wrong escaping or handling of sql statements in application itself than exploiting some bug directly in sql server (probably mysql). Bitcoinpool is using native mysql binding for php (mysql_*) and escaping sql manually; it's pretty easy to make a mistake here.

Of course I didn't read complete software stack which I'm using, but you can avoid pretty much common mistakes with using well tested high-level libraries (like ORM, libraries for sanitizing input data, ...) than writing it by self. I read megabytes of source codes (mostly in PHP) from programmers who like to 'do everything under their control' (=don't use high level frameworks) and it's sometimes crazy how easily people are making huge holes to their systems Smiley.
2666  Bitcoin / Mining / Re: BitcoinPool.com open thread on: April 06, 2011, 09:02:37 PM
It's not really fair to hold DDOS attacks against them.

Every significant pool faced massive DoS attack already. I think operators should be happy that their pool is significant enough that somebody is trying to shut it down Smiley.

Quote
Even the best admins can't stop someone if they really want to get into a system.

How so? I think that it's pretty easy to _hurt_ some system (for example by DoS), but full system hack it is pretty complicated when you keep some basic rules while programming.
2667  Bitcoin / Mining / Re: BitcoinPool.com open thread on: April 06, 2011, 08:45:02 PM
How in the world was one user not paid for one of the blocks?

Have to say that I had hard times with pool payouts, too, so I understand bitcoinpool troubles. Fortunately I'm excessive logging everything, so when bitcoind crashed during payouts (but json results for 'send' commands  were True), I had everything needed to reconstruct all accounts to consistent state.

Depends just on programmer's experience if he covered also very unlikely states of application and if he can recover crash without losing someone's money...
2668  Economy / Speculation / Re: Bitcoin Technical Analysis on: April 06, 2011, 08:04:39 PM
Elliott Wave theory ... don't have much faith left in so called technical analysis at all.

isn't the only one TA tool on the planet. I personally think that EW is pretty complicated nonsense. I talked few guys trading EW and they didn't agree on many non-obvious patterns. I mean - it's such complicated that everybody see the waves which he want to see.

Quote
I m a fundamentalist now.

Me too. That's the reason why I'm trading simple price action patterns Smiley. Usually the _real_ fundaments are traded by somebody before we get the information for ourselves (except we're the insiders). So I believe that price chart already contains everything needed to trade...
2669  Bitcoin / Pools / Re: Cooperative mining (160Ghash/s) on: April 06, 2011, 07:42:07 PM
In connection to recent security issues of other bitcoin site I want to clarify, that pool application does not store account passwords in paintext, but as hashes with random salt to avoid possible dictionary attacks. Also pool sources are built on technologies which does not allow SQL injection in any form. Finally, the profile page is using techniques against Cross site request forqery attack. It makes impossible to modify (for example) wallet address from malicious javascript. I care about overall pool security a lot.
2670  Bitcoin / Mining / Re: BitcoinPool.com open thread on: April 06, 2011, 07:30:12 PM
it is quite a coincidence though  Tongue

I don't want to evolve any kind of conspiration theory, but saying "attacker was from Czech Republic or Russia" has similar weight as "attacker was from USA or Chile, because I know two guys from those countries who may be interested in hurting my little baby". IP ranges, provider companies, language or whatever is completely different in CZ and Russia. Czech Rep was former Soviet union, but it is more than 20 years ago. I'm quite interested in evidence that attacker was from CZ _or_ Russia.

But not too much to register on bitcoinpool forum and ask there (pardon - troll there).
2671  Bitcoin / Mining / Re: High Hash Rigs - Solo or Pool? on: April 06, 2011, 07:21:59 PM
The best I ever got was 0.30, http://blockexplorer.com/b/114470

Good to know who is receiving my fees (the block is full of pool payouts, it was before I started to use sendmany Smiley.
2672  Bitcoin / Mining / Re: BitcoinPool.com open thread on: April 06, 2011, 07:18:09 PM
We've also tracked the attacker to the russian federation/czech republic.

LOOOOOOOOOOOL

No, I'm not the attacker (I'm from CZ) and believe that Tycho (Russia) isn't, too.
2673  Bitcoin / Mining / Re: BitcoinPool.com open thread on: April 06, 2011, 04:40:11 PM
hacker was changing users' payment addresses.

Any detailed info about what happen? SQL injection, XSS, social engineering or what?
2674  Bitcoin / Pools / Re: Cooperative mining (160Ghash/s) on: April 06, 2011, 04:37:01 PM
With your pool is it ok to "log in" or use the same worker login on the same machine? Or do you require that I create different workers for each GPU? I have a Radeon 5970 and naturally it has two GPUs so that's why I'm asking. At the moment I have two separate workers - 1 for each GPU.

You're doing it right - separate workers for every instance, as is mentioned on homepage Wink.

Quote
As a suggestion maybe you can add a FAQ section on your website so stupid questions such as mine can be answered? :p

Yes, I have few points to faq written already, have to finish that and publish Smiley.
2675  Bitcoin / Development & Technical Discussion / Re: Transactions too small for the network, what happens to them? on: April 06, 2011, 01:36:16 PM
OK that's pretty much what I was talking about then. So my stupidly small transaction at the moment won't be accepted by most miners, which means it wont get recorded in the block chain which means it wont happen, right?

Exactly.
2676  Bitcoin / Development & Technical Discussion / Re: Transactions too small for the network, what happens to them? on: April 06, 2011, 12:21:16 PM
Oh sorry, I read it badly, you're talking about transactions, not about transaction fees.
2677  Economy / Marketplace / Re: Buying $10,000 in BTC on: April 06, 2011, 12:16:04 PM
High chance this person is a scammer, first posts of person are about making a large buy, preferably using paypal. Who wants to buy 10kUSD of bitcoin with little or no interaction with us previously.

I don't think so. He didn't mentioned paypal. And - why should anyone have long talks on this forum before big buy? There are busy people who don't want to spend hours on forum at all. This forum != all bitcoin users. People here around are calling investors. And when they arrive, people call them scammers? Wink
2678  Bitcoin / Development & Technical Discussion / Re: Transactions too small for the network, what happens to them? on: April 06, 2011, 11:43:30 AM
I understand that the network has set a limit on transaction size, the smallest being 0.01(right?), I know that smaller than this has been sent, but not recieved, where has it gone?

Afaik the fee under 0.01 is still received by miner, but such small fee does not improve transaction priority.
2679  Bitcoin / Mining / Re: Slush vs Deepbit on: April 06, 2011, 10:00:10 AM
Last 1000 blocks up to block 2872 on Slush's pool had 13 invalids or 1.3%.

It's 12 invalids, the #116884 was temporarily marked as invalid because I had to check its generation by self. Now it is valid and reward is distributed between workers.

Quote
The largest determining factor in this discrepancy is that invalid blocks

I improved server infrastructure to process block distribution faster. Looks like it helped, last 150 blocks (where I made changes) are without single invalid block. Of course I didn't solved it 100%, some invalid blocks are normal, but the ratio should be much better.
2680  Bitcoin / Pools / Re: Cooperative mining (160Ghash/s) on: April 06, 2011, 09:51:21 AM
What's the situation with blocks such as #2861 in the "Block History" section of the BPM stats page where it shows "Block #" as 0 with an invalid blockexplorer.com link and lists the validity as "Confirmed" immediately?

Is that a real block, or a bug, or something else?  Is the reward for such blocks valid?

Looks like bug, but I never see it before. Now I'm not at home so I marked the block as invalid manually. From blockexplorer it looks like the block is ours, but I have to search logs and see what exactly happen. If block is really ours, I'll mark it as valid and distribute the reward for it, of course.

For some strange reason, the sql command which saves blocknum and block hash to database failed. But block 116884 was succesfully confirmed and is ours, so I fixed block record in database manually and marked it as valid. Reward will be distributed at 10:00 UTC.
Pages: « 1 ... 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 [134] 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!