jmjatlanta
8ff5020088
Reverting back to specific network reads and writes
2017-08-09 10:23:24 -05:00
jmjatlanta
4f52a20314
Handling secio negotiation differently to comply with protocol
2017-08-09 09:12:16 -05:00
John Jones
6f77a64adb
IPFS protocols now implement an interface to make marshalling easier
2017-08-09 08:03:40 -05:00
jmjatlanta
61a576eb93
Handling details of bitswap and connection pool
2017-08-03 11:15:40 -05:00
John Jones
a750c0edf1
No need to keep track of socket fd
2017-08-02 09:03:35 -05:00
jmjatlanta
5a91c5bbe8
keeping track of max socket fd
2017-08-02 08:52:55 -05:00
jmjatlanta
3137d9efa6
Now a successful secio connection adds the peer to the peerstore
2017-07-31 16:36:08 -05:00
jmjatlanta
a137c2c43e
Code Cleanup plus making providerstore smarter
2017-07-31 12:49:41 -05:00
John Jones
30250a1af0
Making a Libp2pPeer more useful
2017-07-31 06:42:42 -05:00
John Jones
343748bc0f
added comments
2017-07-27 15:13:35 -05:00
John Jones
1e49d8f7ab
Fixed small memory leak
2017-07-27 14:32:42 -05:00
John Jones
1971e60438
Cleanup of needless Stream attached to things it shouldn't have
2017-07-27 12:06:27 -05:00
John Jones
93bb78169a
Can now compare 2 sessions for equality
2017-07-26 07:37:28 -05:00
John Jones
c660a6eb32
added todo comment
2017-07-24 18:00:22 -05:00
John Jones
dac251bf4c
Added important comment to vector
2017-07-24 10:32:21 -05:00
jmjatlanta
2f8057e4b8
added include to squelch warning
2017-07-20 15:03:11 -05:00
John Jones
73fcecfdcf
A bit of code cleanup and commenting
2017-07-17 13:04:43 -05:00
John Jones
a10c7ef5e9
handle reading the requested number of bytes, and secio fix
...
Some transmissions are sent by multiple sends. Loop through until you
get them all. NOTE: We'll have to come back to this to handle a timeout.
Also, fixed the random handshake issue with the GO version.
2017-07-13 18:30:18 -05:00
John Jones
6c19984368
Now doing multistream over secio
2017-07-13 09:01:50 -05:00
John Jones
cff0e4d6aa
Incremental commit for secio fixes and connecting to swarms
2017-07-13 07:27:10 -05:00
e32837031f
Implemented timeout to avoid hang due to connection error.
2017-07-06 22:31:16 -03:00
John Jones
ff4be03782
Better handling of locally stored files
2017-05-11 07:04:28 -05:00
John Jones
22a782d9f1
Major changes to retrieving files
...
Working on transfer of big files
2017-04-20 17:55:18 -05:00
John Jones
c1e7131c7c
passing network timeouts to read methods
2017-04-17 14:03:27 -05:00
John Jones
caf02463c6
Memory cleanup
2017-04-17 11:57:37 -05:00
John Jones
f3de55999f
Implemented find providers from remote peers
2017-04-16 23:46:52 -05:00
John Jones
e886fe3288
Handling finding of peer via swarm
2017-04-13 09:30:28 -05:00
John Jones
e237b239a1
Added get_value to dht
2017-04-06 09:55:01 -05:00
John Jones
1fa1e92016
Moved datastore interface from ipfs to libp2p
2017-04-06 09:32:54 -05:00
John Jones
12f15c4231
Cleaned code around peerstore, providerstore, and networking
2017-04-03 20:54:41 -05:00
John Jones
0a6b4b621c
Adding providers to providerstore on kademlia call
2017-04-03 18:13:42 -05:00
John Jones
f1c8ceedbd
Handling add provider
2017-04-03 17:26:08 -05:00
John Jones
aa92d72541
Added fancier logging mechanism
2017-04-03 13:20:12 -05:00
John Jones
464f9b5c5c
minor change to peer calls and added debugging info to secio
2017-04-03 11:55:03 -05:00
John Jones
79a2a894dd
Adding network calls for kademlia
2017-03-30 13:58:53 -05:00
John Jones
db0f62cee4
Dynamic bootstrap of kademlia peers
...
Will be using config file instead of hard coded bootstrap addresses
2017-03-24 16:50:02 -05:00
John Jones
158012858a
debugging daemon
2017-03-24 14:11:54 -05:00
John Jones
41ef0e5492
Locked in dht version
2017-03-23 15:03:13 -05:00
John Jones
9776ff15a0
c99 and endian changes for centos
2017-03-21 15:08:01 +00:00
John Jones
0d0c9bde53
Finishing NodeIO
2017-03-19 14:39:48 -05:00
John Jones
b6a94c7c11
Implemeting NodeIO
2017-03-19 08:04:54 -05:00
John Jones
69cbff9cd6
Refactor - SecureSession to SessionContext
2017-03-19 07:42:52 -05:00
17dfadb6fd
Kademlia search returns multiaddress.
2017-03-16 05:45:44 -03:00
John Jones
dc1b8b6b3d
Minor mod to Libp2pLinkedList
2017-03-13 08:53:20 -05:00
John Jones
72dfe2d786
Multiaddress changes
2017-03-09 18:48:28 -05:00
John Jones
d0512d9084
Made the stream methods more generic
2017-03-09 10:00:45 -05:00
018923ad09
Implemented kademlia announce and search.
2017-03-09 09:43:24 -03:00
John Jones
3d53c470a5
Correctly generating shared and stretched keys
2017-03-09 00:12:04 -05:00
John Jones
05cc6e9bd3
key exchange complete, nearing encrypted streams, mac invalid
2017-03-08 12:18:29 -05:00
John Jones
e092a0e974
Switched to ephemeral DH
2017-03-08 07:23:32 -05:00
John Jones
0e0b6b1546
Many bug fixes for secio
2017-03-06 19:03:04 -05:00
John Jones
6d9473069b
Many fixes around secio
2017-03-02 16:14:52 -05:00
John Jones
c5fa775534
Starting to handle get_value request
2017-02-27 12:27:14 -05:00
John Jones
f1aaae0f17
Implementing a Stream interface in front of Multistream
2017-02-23 15:16:04 -05:00
John Jones
8139dc9d48
Added ping functionality to multistream
2017-02-23 11:15:48 -05:00
John Jones
ddb1274596
Buildout of structures for node communication
2017-02-22 10:55:39 -05:00
John Jones
9f0ee0cdb9
Added peerstore and additional tests
2017-02-20 18:53:20 -05:00
John Jones
7f00ce69fe
Added test for record peer and fixes
2017-02-20 08:19:22 -05:00
John Jones
0a8f4767de
Implementation of protobuf for records, peers, and messages
2017-02-17 00:30:41 -05:00
John Jones
029e3d800f
Implementation of peer protobuf
2017-02-16 23:13:16 -05:00
John Jones
d985919f41
Fixed small bug in return value of record protobuf
2017-02-16 20:59:59 -05:00
John Jones
897d257b3b
Record Protobuf
2017-02-16 20:42:10 -05:00
John Jones
c29c5744b8
Beginnings of the Record protobuf and more changes to dialer
2017-02-16 18:49:17 -05:00
John Jones
ccc7ca3e8b
More dialer changes, starting to implement default dialer
2017-02-15 12:04:10 -05:00
John Jones
5c08094548
More dialer code
2017-02-13 17:41:31 -05:00
John Jones
81263fc1a2
Beginnings of dialers and connections
2017-02-13 13:26:41 -05:00
John Jones
7b218a620a
Removal of old implementation of multihash
2017-02-13 08:49:02 -05:00
John Jones
466bfe3fa4
Beginnings of the dialer
2017-02-13 08:47:55 -05:00
John Jones
910c07e951
More changes to encryption negotiation
2017-02-09 12:50:28 -05:00
John Jones
e55f81490d
More cleanup
2017-02-09 04:55:16 -05:00
John Jones
c1620d1d8b
More progress on secio
2017-02-09 03:34:12 -05:00
John Jones
773c980f1f
intermediate commit for handshake
...
Working on negotiations between GO and C version of IPFS
2017-02-08 22:51:35 -05:00
John Jones
be9f278ebf
Beginning of testing of handshake
2017-02-08 12:32:41 -05:00
John Jones
e1a29128b6
secio handshake compiles, now testing
2017-02-08 11:08:05 -05:00
John Jones
030b2b197d
Another intermediate save for ephemeral
2017-02-06 19:04:01 -05:00
John Jones
f9ba2f6c0f
More adjustments for ephemeral encryption
2017-02-06 17:28:11 -05:00
John Jones
783855fe26
in the middle of ephemeral encryption implementation
2017-02-06 17:11:22 -05:00
John Jones
d091a29b19
Added multistream protocol to communicate with GO version
2017-02-02 14:10:12 -05:00
John Jones
513b778561
Addition of more handshake code for connecting to other nodes
2017-02-01 12:14:52 -05:00
John Jones
6d9a9e0e70
Beginning of the buildout of secio
2017-02-01 07:52:09 -05:00
0ca303bb1c
Added crypto/sha1 needed by routing/kademlia
2017-01-26 23:57:52 -03:00
f2031179a9
Changed record buffer size.
2017-01-26 23:55:46 -03:00
John Jones
8bdc9332d4
Merge branch 'master' of https://github.com/kenCode-de/c-libp2p
2017-01-23 11:31:43 -05:00
John Jones
d3cfece252
Added sha512 encoding
2017-01-23 11:31:24 -05:00
jmjatlanta
2aa3b88d63
Merge branch 'master' of https://github.com/kenCode-de/c-libp2p
2017-01-20 04:49:55 -05:00
jmjatlanta
9a7c494436
Added method to rsa sign a message, using pkcs 1.15
2017-01-20 04:49:38 -05:00
e3fc5f6409
Fixed record pointer, should be pointer of pointer so can return allocated memory.
2017-01-19 21:31:46 -03:00
3b301f823a
Initial implementation of record/record
2017-01-19 20:45:24 -03:00
jmjatlanta
7e7a4e0712
clarifying var names, testing base58 and multihash
2016-12-15 12:39:30 -05:00
jmjatlanta
2ec3886276
Minor touches to remove compiler warnings
2016-12-14 06:24:24 -05:00
jmjatlanta
749f4d693e
Removal of incorrect copyright notice
2016-12-05 07:13:27 -05:00
John Jones
a2daf88b26
Fixed base32 encoding
2016-11-28 16:12:11 -05:00
John Jones
927933a20f
Addition of base32 encoding
2016-11-28 12:58:51 -05:00
John Jones
2fcb7c1d8c
Code cleanup
...
Standardized function naming, and added more consistent methods to
prevent memory allocation errors.
2016-11-17 15:06:53 -05:00
John Jones
9b55d84d95
adjustment to use other sha256 code
2016-11-15 21:19:18 -05:00
John Jones
93dc4d558f
Adjustments for private key and peer id
2016-11-14 17:58:55 -05:00
xethyrion
4818ac8567
Peer Thing you wanted john
...
Sha256 here too!
2016-11-14 19:08:46 +02:00
John Jones
4222316a1a
Added base16 encoding/decoding, as well as a wrapper around SHA256
2016-11-13 20:55:11 -05:00
John Jones
fc6d9b9797
More cleanup
2016-11-10 12:04:48 -05:00
John Jones
68f2c436e3
Added debug setting to Makefiles, tweaks to get private key saved in
...
config file
2016-11-10 08:08:22 -05:00