Author

Topic: bitcoind json rpc client question (Read 997 times)

legendary
Activity: 1498
Merit: 1000
November 10, 2012, 08:21:18 PM
#12
Ok straight up the reasons you have a two different physical servers
  • One nmap script kiddes will never see your bitcoind running
  • If the full front box is compomised you should be able to have red flags sent to your email giving you enough time to take the bitcoind offline
  • Filter out certain request using the firewall and iptables
legendary
Activity: 1498
Merit: 1000
November 10, 2012, 07:52:43 PM
#10
you mean "time limited" so that only some many send commands can be sent in a limited about of time?

Time sensitive which means a signed command can only execute in a certain time frame. What you just describe is a rate limit which I don't impose, cause signing a command is kinda a rate limit in itself.

Do you also limit the amounts that can be send via rpc.

Kinda what the proxy does it takes command puts it into a database which is then pulled, command is check then executed. Again this is a rate limit.

Your logic about the bitcoind box only being accessible from the web app box is not really a security feature as the attacker who compromised the web box, can still access the bitcoind box.

No one is telling you have to do security, but I have a track record of no coins stolen and there have been attempts where the attacker has had full control of the frontend box, but has never gotten the coins. So that speaks for itself.
BCB
vip
Activity: 1078
Merit: 1002
BCJ
November 10, 2012, 07:59:23 PM
#8
I'm not questioning your ability. I'm trying to have a discussion about bitcoin security which is not a bad conversation to be having.  I just don't see the security benefit of separating front end web service and back end bitcoind on two boxes and though you might have some insight.

I do think dedicated, physical servers, locked cages, hardware security device for private keys and cold storage, with multiple encrypted back up  for 90% of any coin over a certain level is the best practice for significant amounts of coin regardless of the number of boxes you are running. 

Thanks.



BCB
vip
Activity: 1078
Merit: 1002
BCJ
November 10, 2012, 07:37:22 PM
#7
you mean "time limited" so that only some many send commands can be sent in a limited about of time?

Do you also limit the amounts that can be send via rpc.

Your logic about the bitcoind box only being accessible from the web app box is not really a security feature as the attacker who compromised the web box, can still access the bitcoind box.
BCB
vip
Activity: 1078
Merit: 1002
BCJ
November 10, 2012, 06:50:19 PM
#6
gweedo,

Could you explain how web app on one box and bitcoind on another box increases security.

If the web app box is compromised, attacker still has full access to the bitcoind through  rpc?
newbie
Activity: 10
Merit: 0
November 10, 2012, 06:44:32 AM
#5
are you using rpc on the same box or a remote box?
it's running on the same machine.

are you setting the time to lock on walletpassphrase long enough?

the wallet isn't encrypted.

thanks for your reply.
BCB
vip
Activity: 1078
Merit: 1002
BCJ
November 09, 2012, 09:57:14 PM
#4
thanks for your reply. strange i get "failed to open http request" when i do this. strange thing is when i execute the send from after some moments it works. and get balance shows the amount properly.

are you using rpc on the same box or a remote box?

are you setting the time to lock on walletpassphrase long enough?
newbie
Activity: 10
Merit: 0
November 09, 2012, 09:48:49 PM
#3
thanks for your reply. strange i get "failed to open http request" when i do this. strange thing is when i execute the send from after some moments it works. and get balance shows the amount properly.
BCB
vip
Activity: 1078
Merit: 1002
BCJ
November 09, 2012, 09:45:03 PM
#2
what does getbalance say?

EDIT: Move within the same bitcoind should be instant.
newbie
Activity: 10
Merit: 0
November 09, 2012, 09:42:45 PM
#1
hi, i'm new at bitcoins and i have a question about json rpc and bitcoind. how long does it take to move coins from one account to another? e.g. if i have the accounts a with a balance of 10 btc and b with a balance of 0 btc and i first execute the command move(a,b,10) and then sendfrom (b,xxx,10) i get an insufficient funds error. how long does it take until the coins are available for sending in account b?

thanks for your answers
crow
Jump to: