27 Commits (9da5931435024572c1a586b4d353a5c0511f743d)

Author SHA1 Message Date
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 32f15a2c89
Refactor connection function
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 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 99efe4d587
Add event emitting to server
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 15221b6f59
Add vented client implementation
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 d5d8875e79
Move event_tests to event submodule
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis ae39bc50bd
Change visibility of test struct
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