Commit graph

24 commits

Author SHA1 Message Date
John Jones
f2e5af4058 Major changes for implementation of yamux protocol
This commit changes the Stream interface, so as to allow the yamux
protocol to have channels. It is necessary, but touches many areas. The
codebase is better for it.
2017-11-08 10:51:43 -05:00
John Jones
5e1cdac4cf Moved buffered secio to context struct 2017-11-02 13:43:52 -05:00
John Jones
08a02f7956 More changes to the stream negotiation 2017-10-25 12:28:53 -05:00
jmjatlanta
9dd1dab8e4 More implementation of dialer 2017-10-23 18:03:38 -05:00
jmjatlanta
1dcac6ecb5 Implementing the new way of swarm connection 2017-10-23 15:21:50 -05:00
jmjatlanta
a810f94757 implementation of dht_send_message_nearest_x 2017-09-18 06:32:37 -05:00
John Jones
53f754af43 Adding more compatibility fixes for standard ipfs 2017-08-31 16:40:35 -05:00
John Jones
f84ec579f2 Making it easier to create secio connections 2017-08-09 10:57:17 -05:00
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
3137d9efa6 Now a successful secio connection adds the peer to the peerstore 2017-07-31 16:36:08 -05:00
John Jones
69cbff9cd6 Refactor - SecureSession to SessionContext 2017-03-19 07:42:52 -05:00
John Jones
d0512d9084 Made the stream methods more generic 2017-03-09 10:00:45 -05: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
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
e1a29128b6 secio handshake compiles, now testing 2017-02-08 11:08:05 -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