31 Commits (9a556309e4a705bf3fce531209d746a6a87bb69a)

Author SHA1 Message Date
trivernis 9a556309e4
Add check if node is known for redirect events
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 6a2f24945d
Change update to not add self to node list
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 833dd1a47b
Expose fields of node list item
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis a8900d5246
Expose node list event
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis eec5e698d3
Change event handling to return multiple events
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 0ee8d691c7
Add support for node list synchronization
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 68729d8dd2
Change nonce type to u128 for cross-platform compatibility
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 9da5931435
Fix memory leak for real
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis ac81f69209
Fix memory leak
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 12d17f09c9
Add event redirection via proxy nodes
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 2c05e2736f
Fix broken streams not being removed from pool
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 5e659509dd
Expose node_id and known nodes of server via function
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis ecc3fcb204
Add names to pool threads
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 394e2bb68e
Add secret updating after key exchange
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 34a1fd2cf0
Add version comparison on connect
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis e0ea66f7c1
Reexport WaitGroup
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 118633179f
Reexport PublicKey type
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis f34ad33322
Add crate metadata
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 6f6142982b
Change auth to two-sided encrypted authentication
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis da6cd1faaf
Update README
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis ce423d5c3d
Add key based authentication
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis bf72aeeeb8
Rewrite server to use custom encryption
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis bcc3024fc3
Add tls server implementation
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 46c2b6266d
Add response event generation to event handler
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis e6edb20b7e
Add tcp server implemenation and change event to store generic payloads
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis c550acc129
Add event handler
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 6eab07775f
Rename cargo package name and add README
Why did CLion do this to me?

Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 253a5958b0
Add tests for serialization and deserialization
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 3139745590
Rename Message to Event and add from_bytes implementation
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 7f6450be48
Add message serialization implementation
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis b821bf4590
Initial commit
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago