Bitcoin Forum
April 20, 2024, 03:47:33 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Added some DoS limits, removed safe mode (0.3.19)  (Read 25109 times)
satoshi (OP)
Founder
Sr. Member
*
qt
Offline Offline

Activity: 364
Merit: 6722


View Profile
December 12, 2010, 06:22:33 PM
Last edit: December 13, 2010, 04:45:48 PM by satoshi
Merited by EFS (100), fillippone (55), OgNasty (50), bumbacoin (50), cloverme (50), krogothmanhattan (47), sukamasoto (30), yahoo62278 (25), notaek (25), Welsh (20), mindrust (20), ABCbits (11), dragonvslinux (11), legendster (10), harrymmmm (10), aTriz (7), Betwrong (5), Mrpumperitis (5), Lauda (5), MicroGuy (5), TMAN (5), Steeley (5), minorman (5), FrueGreads (4), Danslip (3), finist4x (3), Ryu_Ar1 (3), Yaunfitda (2), Bthd (2), casperBGD (2), Anon136 (2), cinnamon_carter (2), edgycorner (2), Syke (1), LFC_Bitcoin (1), ralle14 (1), hatshepsut93 (1), Searing (1), HI-TEC99 (1), bitcoinPsycho (1), DdmrDdmr (1), goldkingcoiner (1), famososMuertos (1), crypto_trader#43xzEXrP (1), bill gator (1), denzkilim (1), DaCryptoRaccoon (1), lx001 (1), akirasendo17 (1), Bardman (1), Woshib (1), ImHash (1), Scorpion (1), Rooster101 (1), domoy77 (1), dark08 (1), lesom (1), ryap12 (1), CoolWave (1), mx12.levins (1), glerant (1), nikolaspaolo (1), 1Dq (1), TheArchaeologist (1), ritaconscience (1), murrayrothbard (1), akopjpuge (1), sigri44 (1), OWZ1337 (1), livecoins (1), zantezu (1), Tech1k (1), EKAloji (1)
 #1

There's more work to do on DoS, but I'm doing a quick build of what I have so far in case it's needed, before venturing into more complex ideas.  The build for this is version 0.3.19.

- Added some DoS controls
As Gavin and I have said clearly before, the software is not at all resistant to DoS attack.  This is one improvement, but there are still more ways to attack than I can count.  

I'm leaving the -limitfreerelay part as a switch for now and it's there if you need it.

- Removed "safe mode" alerts
"safe mode" alerts was a temporary measure after the 0.3.9 overflow bug.  We can say all we want that users can just run with "-disablesafemode", but it's better just not to have it for the sake of appearances.  It was never intended as a long term feature.  Safe mode can still be triggered by seeing a longer (greater total PoW) invalid block chain.

Builds:
http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.19/
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
December 12, 2010, 07:35:06 PM
Merited by finist4x (2)
 #2

Can,you provide some more details ?
Or a link to some documentation about these changes ?

ribuck
Donator
Hero Member
*
Offline Offline

Activity: 826
Merit: 1039


View Profile
December 12, 2010, 07:50:54 PM
Merited by finist4x (2)
 #3

I thought the idea of safe mode was to protect sites like MtGox from losing everyone's entire balances in the event of a catastrophic exploit. Safe mode shuts down their transaction processing until they can work out what's going on, and upgrade/patch if necessary.

For the sake of appearances, it's better not to have safe mode turned on by default (because "remote tampering" of one's software is not popular with many people). But why not have safe mode disabled by default, and provide an "-enablesafemode" switch for those who want it?

Previous discussion was here:
Development of alert system
and here:
Version 0.3.11 with upgrade alerts
davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
December 12, 2010, 08:42:29 PM
 #4


Thank you for the links!
After reading the discussion, I wanted to say I like the idea of an opt-in safe mode, or remote kill switch.

@satoshi : what do you call a longer invalid block chain ? like a longer one but representing a smaller PoW ?

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!