Author

Topic: NXT :: descendant of Bitcoin - Updated Information - page 2024. (Read 2761645 times)

member
Activity: 98
Merit: 10
NEWS

On the 3rd of January the source code of basic features will be published for peer review. BCNext decided to make it more interesting to do a review, so the code will contain 3 security flaws - serious, critical and fatal ones. The 1st person who reports one of these flaws in a special thread will get a reward (1'000, 10'000 and 100'000 NXT accordingly). There will be SHA256 hashes of flaw descriptions published, the descriptions will be revealed after the flaws r reported. If some unreported ones left after 3 months, BCNext may decide to reveal them at any time.

PS: This has a nice side-effect, copycats have to wait for full disclosure or do their own research. Wink

Is this still the plan? I mean the flaws.
legendary
Activity: 2142
Merit: 1010
Newbie
There are more than 40 active peers listed, communication seems good.

Set "communicationLoggingMask" to "3", "pullThreshold" to "1" and "readTimeout"/"connectTimeout" to higher values. The log will show what is wrong.
full member
Activity: 193
Merit: 100
I'm still suffer from catching up problem,
I was stuck at some point this morning, so i restore the *.nxt files to height 23522, unfortunately i stuck 23522 for more than 5 hours;
I restart nxt several times, no help;    

Show us ur well-known peers list plz.

^M
                ^M
                        wellKnownPeers^M
                        162.243.214.68; 95.85.46.164; 162.243.216.55; 162.243.143.15; 95.85.46.249; 93.190.92.74; 37.209.120.192; 93.190.92.75; 85.25.134.59; 93.190.92.76; vps1.nxtcrypto.org;  vps2.nxtcrypto.org;  vps3.nxtc
rypto.org;  vps4.nxtcrypto.org;  vps5.nxtcrypto.org; nxtwallet.com; 31.220.50.208; nxt.ddos.me; 203.174.12.25; 88.198.142.92; 66.197.138.90; 64.120.180.106; 109.230.224.65; 80.86.92.50; node1.nextcoin.it; node2.nextcoin.it; node3.nextco
in.it; node4.nextcoin.it; node5.nextcoin.it; nxt.homer.ru; 31.204.130.123; 209.222.0.194; 209.222.16.10; node1.nxtbase.com; node11.nxtbase.com; node21.nxtbase.com; node27.nxtbase.com; node31.nxtbase.com; node41.nxtbase.com; node51.nxtba
se.com; node61.nxtbase.com; node71.nxtbase.com; node81.nxtbase.com; node84.nxtbase.com node91.nxtbase.com; node95.nxtbase.com; node98.nxtbase.com; 85.214.222.82; 78.46.95.28;
^M
               
^M

There are more than 40 active peers listed, communication seems good.
legendary
Activity: 2142
Merit: 1010
Newbie
Question from a new nxt/btc exchange (nxtchg.com) founder: "Guys, what's the best way to check a NXT address for incoming transactions without installing the client? Block explorer? Is there an API for this sort of thing? It's needed for automated NXT deposits.".

An exchange must host its own client. Any other way is insecure (at least now, when hallmark protection is not used for everything).
legendary
Activity: 1806
Merit: 1001
Question from a new nxt/btc exchange (nxtchg.com) founder: "Guys, what's the best way to check a NXT address for incoming transactions without installing the client? Block explorer? Is there an API for this sort of thing? It's needed for automated NXT deposits.".
legendary
Activity: 2142
Merit: 1010
Newbie
I'm still suffer from catching up problem,
I was stuck at some point this morning, so i restore the *.nxt files to height 23522, unfortunately i stuck 23522 for more than 5 hours;
I restart nxt several times, no help;    

Show us ur well-known peers list plz.
sr. member
Activity: 952
Merit: 253
Is it possible to get a list of active peers and other stats from the client via http://localhost:7874/nxt?

Interested to see if I can script something to check on the client externally, e.g. restart if certain conditions are met

thanks,

Ian

Check http://localhost:7874/nxt?requestType=getState and http://localhost:7874/nxt?requestType=getPeers.

Cool, tyvm will see what I can do with that..
full member
Activity: 193
Merit: 100
NXT Assets currently are issued with all of them created at once. Kind of in the spirit of NXT. However, for creating a 1:1 correspondence between the NXT AE Asset and something tangible, this issue all at once model is not quite right.

For example, in the gateway I have to exchange deposited DOGE with NXT AE DOGE. Since there are 100 billion DOGE and only 1 billion NXT AE DOGE possible, that would create a problem if more than 1% of all DOGE is deposited. For a NXTcoins that are mined at a rate of 100,000 per day it is quite important that the number of NXT assets in circulation match the number that was mined.

In order to make it easy for people to deal with these type of cases, I am creating a NXTcoins development kit where you will be able to specify (within reason) the properties of the coin, especially as it pertains to total authorized, total in circulation, creation criteria, etc.
legendary
Activity: 2142
Merit: 1010
Newbie
How are aliases verified?

Say I want to send to an account alias (presuming this is implemented in the future), if a rogue node tells me that nxt:name links to acct:000000001 (attacker account) instead of acct:3209075099254042753 then I could loose my money by sending it. How is this prevented?

U should trust only to hallmarked nodes that signed their response. If one of them sent u incorrect data u can prove that and stakeholders can vote on destroying all the stake of the rogue node. Also u can ask 2-3 nodes before sending big amounts.

Edit: BCNext said that pay-to-alias would be implemented later.
legendary
Activity: 2142
Merit: 1010
Newbie
Is it possible to get a list of active peers and other stats from the client via http://localhost:7874/nxt?

Interested to see if I can script something to check on the client externally, e.g. restart if certain conditions are met

thanks,

Ian

Check http://localhost:7874/nxt?requestType=getState and http://localhost:7874/nxt?requestType=getPeers.
sr. member
Activity: 308
Merit: 250
How are aliases verified?

Say I want to send to an account alias (presuming this is implemented in the future), if a rogue node tells me that nxt:name links to acct:000000001 (attacker account) instead of acct:3209075099254042753 then I could loose my money by sending it. How is this prevented?
sr. member
Activity: 952
Merit: 253
Is it possible to get a list of active peers and other stats from the client via http://localhost:7874/nxt?

Interested to see if I can script something to check on the client externally, e.g. restart if certain conditions are met

thanks,

Ian
member
Activity: 82
Merit: 10
new comer
5180760439149633299
waiting for the new giveaway
thanks
legendary
Activity: 2142
Merit: 1010
Newbie
Perhaps tie the quantity to the cost, instead of a static 1000 NXT fee.  Make an attack like this too costly.

No need. The attacker will just spend all his bitcoins money on Nxt fees.
full member
Activity: 238
Merit: 100

You might have overlooked this... but it still SOLVES the issue because a hacker would not get far if he/she found only the cmd window open because the passphrase is needed in order to send NXT this way... as opposed to finding the browser open with an unlocked account where they would freely send NXT without needing the passphrase (at least until a client comes out that will ask for the passphrase again).

Just explaining for the rest... I know you get it!   Wink

Then I did misunderstand your original question. Yes, with the cmd window open there appears to be no easy way to s(p)end NXT without knowing the passphrase. Certainly no supported API call.

However, if someone does get SSH access to your server and can login with the unix user that is running the Java process (or root, or a user that can sudo, etc), and you have used the web browser to unlock your account using your passphrase since Java was last restarted (i.e. your are actively trying to forge), then that person can get your passphrase. It's not trivial, but it's not difficult either. I've tested it on a remote instance just now, and it was relatively straightforward. It could probably be scripted to get the passphrase quickly and transparently, and bundled into your favourite trojan/virus/rat/etc.

(I was testing on Linux, but the same would likely apply with remote access to Windows).

So there are interesting questions about where you should forge, what precautions you should take, and with how much of your nxt stash. Don't assume that typing your passphrase over SSL to your VPS is necessarily enough. I don't believe this is purely a client-related topic, so long as the key required to forge is the same as the key required to send/spend nxt. I understand that transparent mining/forging and/or multi-sig (?) may fix this, but I don't know much about those concepts yet.





Thanks for spelling this out!! The fear of being hacked has stopped me forging now. I asked a question along these lines a couple of days ago on a related theme but haven't had a response yet (I know everyone on the dev side is super busy now) - My question is, is it possible to detect the location and status of unlocked accounts on other nodes? If it is, then forging with a large account is too risky IMO.

https://bitcointalksearch.org/topic/m.4182386


I have a large account balance, and the other day I noticed a few separate transactions in my history where unknown users to me had sent 1 NXT amounts to my account. I hadn't noticed them before, as the only difference between a forged NXT and a sent NXT is the small icon next to the transaction number.

I suspect someone was experimenting with trying to identify the location of accounts with large balances on the network. I don't have much experience with these things, but I suspect there could be ways of analysing transaction logs and other data sources to try and determine the IP address, or identity/location of an open account.

My account number is one of the accounts on the block explorer page of top accounts, so I think someone was searching for the location & account status of big accounts.

That said, I have done some thinking, and I would like to explore the possibility of using my account to forge NXT for community activities like faucets, promotion, and bounties. I would retain full ownership of the account, but I would be happy for all the forging revenue to go into funding community activities.

My intention would be to help create a consistent revenue stream to help fund worthwhile activities. I have enough NXT, but I don't have the time or skills to contribute much to all the good things going on at the moment. I am also not interested in choosing worthwhile people and projects myself. I have too many commitments (work & family), and I'm finding it too hard to keep up with all the reading required to be an active, and informed, participant. I can see that there are others in the NXT community with time, passion and skills. I want to help supply those people with a small, but consistent revenue stream.

I am prepared to investigate this, but I think the hacking threat of forging with a known account is too great at the moment. Once this risk is eliminated (if it can be) my account could forge 24/7. That would be 1-4% of the NXT supply, depending on how much more NXT I sell. If other big stake holders contributed we could create a semi-permanent funding source to help NXT in these formative years.

But the security situation has to be 100% water tight.



if you are not going to use your hallmarked balance then please get with me so I can use your hallmark on some high powered nodes public vps is that I am running
legendary
Activity: 2142
Merit: 1010
Newbie
I suspect someone was experimenting with trying to identify the location of accounts with large balances on the network. I don't have much experience with these things, but I suspect there could be ways of analysing transaction logs and other data sources to try and determine the IP address, or identity/location of an open account.

Sending transactions to accounts can't give the location.
legendary
Activity: 2142
Merit: 1010
Newbie
I noticed that if you need to differentiate between an account with zero balance, and an account that has never been funded, you can do this:

Code:
http://localhost:7874/nxt?requestType=listAccountAliases&account=[ACCOUNT_NUMBER]

An account that was never funded will return error code 5.  An account that was funded, but now has a zero balance will return an alias list (even an empty list if no aliases were registered in that account.)

This seems like a hack though, so I wouldn't assume it will always be this way in future versions of the server.

It's better to use http://localhost:7874/nxt?requestType=getAccountPublicKey&account=100000
If u get unknown account message, then there were no transactions to that account.
legendary
Activity: 2142
Merit: 1010
Newbie
I am having troubles sending NXT. I triple checked the acct number.
Sending dialog takes several seconds, then says money was sentç
After a while I see what I am pretty sure is my transaction in the unconfirmed transactions box
as soon as the next block is generated, it disappears

However, my acct is not being debited and the receiving account is not getting the money

I restarted java and localhost.

with blockchain site being upgraded, not sure how to track this down.
How can it say it was sent, appear in unconfirmed, then disappear from unconfirmed but not do anything?

Try to adjust ur computer clock by minus 1-2 hours. Quite often this problem arises due to incorrect time/timezone. Peers reject transactions with timestamp > current time plus 15 seconds.
legendary
Activity: 2142
Merit: 1010
Newbie
Huh - I thought that WAS the official NXT forum.  So...is THIS THREAD on Bitcointalk considered the OFFICIAL thread?  Are there others that are recognized by the paid dev team as official? 

I keep popping in and out here because this dang thread is so hard to keep up with continuously, but I always keep coming back because this is obviously where The Cool Gang hangs out.

Oh, and CfB too, of course....  Smiley 

We should NOT use word "official". Nxt is decentralized.
Jump to: