New Server for Private Keys

45 views
Skip to first unread message

Veselin Penev

unread,
May 1, 2013, 3:44:53 PM5/1/13
to cspace...@googlegroups.com
It seems the project is not alive, but this is open source. 
So if we need it - we can build it.

Why not start another server to register private keys?
It should not be too dificult to write such thing in my thought...

Another small question: do you think it is legal?


Guenter

unread,
May 2, 2013, 10:01:03 AM5/2/13
to cspace...@googlegroups.com
CptnAhab's Versiopn needs all you need to create a DHT server:


Guenter

Veselin Penev

unread,
May 2, 2013, 12:49:46 PM5/2/13
to cspace...@googlegroups.com
Not sure I understand you correctly.
I did not found any code looking like a server code in the sources, so it seems this need to be done.
I think I will focus on this because I wish to use CSpace in my project : http://DataHaven.NET.

But first I would like to get rid of nitro code and switch to classical twisted framework.
I only one place in the code where we have troubles, need some workaround:
nitro.selectreactor.addExceptionCallback do not have analog in twisted.internet.selectreactor.

What do you think?

Veselin Penev

unread,
May 3, 2013, 7:43:30 AM5/3/13
to cspace...@googlegroups.com
OK.

I think I started the key registrations on my server, the users will count from 0.
The address is http://identity.datahaven.net/cspacekey to register a new key.
To watch your key go to http://identity.datahaven.net/cspacekeys/[key number]
So modify the cspace code and change "http://cspace.in/addkey" to "http://identity.datahaven.net/cspacekey"
and also "http://cspace.in/pubkey" to "http://identity.datahaven.net/cspacekeys" to be able to register a new keys.

Now I am trying to start the server.
I have a dedicated server with external IP so other cspace users should be able to connect without problems.
As I understand the users need at least one working node to enter into DHT network and this will be a "server" that we need. 

I was playing with CSpaceControl.py script but failed to get connected to my dedicated server from home machine.

On server side I did:
python CSpaceControl.py startnet
python CSpaceControl.py start
python CSpaceControl.py online

than on my home machine:
python CSpaceControl.py startnet
python CSpaceControl.py start -n 67.207.147.183 -p 10001  # to use my server as a seed node
python CSpaceControl.py online

But that wont work somehow.
Also I do changed the old IP in the cspace code (210.210.1.102) to my server IP.

I am prety sure that PORT on the server is opened, I did tested with "sudo netstat -anltp":
tcp        0      0 127.0.0.1:10001         0.0.0.0:*               LISTEN      2910/python 

Any ideas?



четверг, 2 мая 2013 г., 18:01:03 UTC+4 пользователь Guenter написал:

Guenter

unread,
May 3, 2013, 9:01:16 AM5/3/13
to cspace...@googlegroups.com
It's been years since I worked with that code, so I cannot help you very much. But I'll patch my version and register a new key, as soon as you got it to work ... and I'll also patch a few CSpace installations of friends.


Guenter

Am Mittwoch, 1. Mai 2013 21:44:53 UTC+2 schrieb Veselin Penev:
Reply all
Reply to author
Forward
0 new messages