Ian Goldberg
|
30d58cd034
Unify the private and public routing code paths in epoch_process rather than duplicating code
|
11 mesi fa |
Ian Goldberg
|
db5a8e1bbe
A couple of places were using SGX_AESGCM_KEY_SIZE as the token size instead of TOKEN_SIZE
|
11 mesi fa |
Ian Goldberg
|
ce01061057
Allocate space for the priority field in public routing
|
11 mesi fa |
Ian Goldberg
|
c178ad1c60
Touch up Client/clients.cpp
|
11 mesi fa |
Ian Goldberg
|
fcd39fd3a5
Add TRACE_SOCKIO tracing for client<->storage server connections
|
1 anno fa |
Sajin
|
409b6ceeb6
Minor tweak to close off clients silently
|
1 anno fa |
Sajin
|
305aa32662
Unmuting extra threads for clients
|
1 anno fa |
Sajin Sasy
|
3316adbb1a
Changes to support public routing protocol
|
1 anno fa |
Sajin
|
cdd53b1052
Minor tweaks to client simulator (IP address and port ranges). Client launch tweaked to store logs for experiment scripting. Client simulator is tailored for 8 threads for now.
|
1 anno fa |
Sajin Sasy
|
27e62db661
Fixed client IP and port selection. Now binds to chosen IP and port pair correctly.
|
1 anno fa |
Sajin Sasy
|
1df4dbf38f
Client ifdef options to pick unique IP and ports and randomize sleep delays
|
1 anno fa |
Sajin Sasy
|
1ed7f51b82
Fixed the bug with distibuting clients over their ingestion servers. Clients are now distributed over ingestion servers with the same modulo calculation like clients to storage server mapping
|
1 anno fa |
Sajin Sasy
|
5a46a77779
Fixing and seperating sizes on msgbundles (the messages clients send each epoch, which has tokens alongside the messages) and mailbox (the messages clients receive each epoch, which do NOT have tokens)
|
1 anno fa |
Sajin Sasy
|
c411e07295
Changes to client for server-driven epochs. Clients do all read and writes asynchronously using boost::async_read/write. Clients use tokens received by the storage server for sending message bundles
|
1 anno fa |
Sajin Sasy
|
85599806fd
Clients and Storage servers generate a shared secret key
|
1 anno fa |
Sajin Sasy
|
b6f94bc83a
Fixed a silent bug with client authentication failing since IV has to be SGX_AESGCM_IV_SIZE. Split client structures into Enclave/Client and moved client authentication there for use by storage module as well
|
1 anno fa |
Sajin Sasy
|
c762dc289c
Clients authenticate with epoch number as IV. Client messages (both authenticate and message_bundles) no longer use headers
|
1 anno fa |
Sajin Sasy
|
5c075a96a4
Synchronize client simulator and ingestion servers
|
1 anno fa |
Sajin Sasy
|
7b17303223
Adjusting client wait timers to account for time taken by each thread
|
1 anno fa |
Sajin Sasy
|
4e6f8ee07d
Ingestion processing uses the ingbuf in route_state now. Removed unnecessary memcpy's in ingestion processing. Clients maintain a SimID and a ClientID, and send messages to the correct ClientID format.
|
1 anno fa |
Sajin Sasy
|
2d5e752020
Minor touchups to client. Clients now send messages to themselves for ease of testing and integrating with private routing
|
1 anno fa |
Sajin Sasy
|
1aeb41385b
Ingestion servers handle client connections asynchronously correctly (using async_read now). Clients send CLIENTS_AUTHENTICATE message first, then several CLIENT_MESSAGE_BUNDLE messages
|
1 anno fa |
Sajin Sasy
|
5b359918c2
Multithreading the client simulator
|
1 anno fa |
Sajin Sasy
|
bda0918bd3
Ingestion processes msgbundle, and queues messages into a msgBuffer
|
1 anno fa |
Sajin Sasy
|
aa86ecf9c1
Client -> Ingestion send (unencrypted) message bundles. Ingestion servers queue them into a msgBuffer
|
1 anno fa |
Sajin Sasy
|
e7b2583ff6
Created Ingestion Class. Generate client encryption keys in the client simulator and on the ingestion side. (Currently just for server 0)
|
1 anno fa |
Sajin Sasy
|
7fe40246f7
Sync state to debug client->server async connection
|
1 anno fa |
Sajin Sasy
|
3545e021ec
Start clients module. Parse manifest to generate the list of ingestion and storage servers.
|
1 anno fa |