aboutsummaryrefslogtreecommitdiff
path: root/node/node.hpp
AgeCommit message (Collapse)Author
2016-12-01Added the client side code for the statsd in the nodes.Dennis Brentjes
2016-12-01Use the new protobuf arena allocator.Dennis Brentjes
Run script now takes a parameter tool to for instance "benchmark"
2016-11-28Cleans up and documents the whole cmix protocol.Dennis Brentjes
2016-11-27Implements message delivery.Dennis Brentjes
Adds a minimum number of messages per mix. Embeds the destination in the message. Clients now send messages to themselves.
2016-11-21Reworked server and client to do one mix and shutdown.Dennis Brentjes
This is done as cleanly as possible to track down any memory leaks. unfortunately there is still one async operation running on the nodes. when there should be none. So the nodes are still forced to stop with a. io_service.stop().
2016-11-12Fixes decryption share calculation, adds lots of debugging statements.Dennis Brentjes
2016-11-07prepares the api for sending and mixing messages in the realtime phase.Dennis Brentjes
2016-11-04Splits up the Node.cpp class in 3 parts.Dennis Brentjes
2016-11-04Consolidated all the crypto apis and implemented the Precomputation ↵Dennis Brentjes
Postprocessing step
2016-11-01Moves cmix calculation stuff outisde of the node class.Dennis Brentjes
Moves the computations and cryptography to the the libcmix library where we can group and memory manage the underlying crypto-library.
2016-10-30Added the Preprocessing step for the Precomputation of CMix.Dennis Brentjes
2016-10-21Adds SSL connections between nodes.Dennis Brentjes
2016-10-20Fixes the build and fixes a crash.Dennis Brentjes
2016-10-20Shared secret key is now distributed to the other nodes.Dennis Brentjes
2016-10-16made the code base more consistent and fixes some small TU issues.Dennis Brentjes
2016-10-14Refactored some code to be more consistent.Dennis Brentjes
2016-10-13Second big network rewrite.Dennis Brentjes
This time without the ugly SFINAE hack to restrict sending and receiving on Senders and Receivers respectively. Replaced this hack with private inheritance and using declerations. Also renamed receive to async_receive to better reflect the behaviour.
2016-10-13Connecting client now have to send an id to each node.Dennis Brentjes
2016-10-12Major network rewrite.Dennis Brentjes
One generic class has been introduced to handle all connection types. Typedefs provide Sender Receiver and SenderReceiver types, which limit the functionality of the types. As to not accidentally communicate with the wrong node about things.
2016-10-11Commit introducing Client keyexchange, triggering bugs.Dennis Brentjes
Clients now send their public key to each node and the node calculates the shared secret. The node does not yet respond with it's public key. To keep this commit smaller. Nodes now disconnect from each other in a better way. Getting the relevant crypto api is now done with a generic function. What crypto algorithm and implemenation is beign used can be selected in the cmake cache (use cmake-gui or ccmake) Clients now connect correctly to multiple nodes.
2016-10-10Added a Client so we can start finishing up the setup phase of cMix.Dennis Brentjes
2016-10-05Seperates Nodes and Clients for incoming connections.Dennis Brentjes
Created a PrevNode class to reflect the seperation. Made Client movable. Added 2 empty protobuf message that declare what each connecting client is, sent when connected to a node.
2016-10-01Created a container Message CMixMessage for all network communication.Dennis Brentjes
2016-09-28Finally made a initial doxygen documentation pass over all files.Dennis Brentjes
2016-09-28Made changes so we can have a 1 Node cmix network.Dennis Brentjes
2016-09-22Adds a NextNode class and prepares the Node to start network initialization.Dennis Brentjes
2016-08-31Split up the client and server parts in a separate network libraryDennis Brentjes