Commit graph

12 commits

Author SHA1 Message Date
42fde9a2d0 Implement publickey whitelist (using libsodium)
Renamed "mutex" to "conMapMutex" since it is mainly used to lock access
to the connection map.

Removed UDPC_client_initiate_connection_pk() as publickey whitelisting
replaces its functionality.
2020-01-02 20:54:32 +09:00
26e8b95d94 Add verification of verification time server-side
Verification string is no longer a string but seconds since epoch.
2020-01-02 16:33:17 +09:00
1a39039065 Fix received packet storing unnecessary header
Added rtt (uint16_t) to UDPC_PacketInfo.
2019-12-27 13:35:28 +09:00
dbdade3b00 Impl disc. request (untested), del make_unique 2019-12-17 20:05:56 +09:00
7c444cb460 Impl auth-policy for handling with(out) auth 2019-12-09 21:27:58 +09:00
d94b44e4de More documentation, fix constants to be #define'd 2019-12-06 20:49:30 +09:00
240ed9821f Add set peer_pk, sk/pk, start/stop threaded update
Note, this code is UNTESTED.
2019-11-19 20:55:20 +09:00
4cfe35ecd1 libsodium support is now optional
Packet struture has been changed to support UDPC without libsodium
sending packets to UDPC with libsodium.
2019-11-18 17:37:03 +09:00
f2b4672318 Add way to specify sleep time for threaded update 2019-11-13 14:06:48 +09:00
7b5cf3b6f8 Add events, refactorings
Added event system to lessen the use of the main mutex and instead use
thread safe data structures (TSLQueue). Also can enable and check events
during execution (connect, disconnect, good mode, bad mode).

Fixes and refactorings.
2019-11-11 16:08:51 +09:00
d86b7e4e1d Fix use of addr/socket types 2019-11-11 13:37:51 +09:00
00c1be07dc Replace c_impl, remove rust_binding, with cpp_impl 2019-11-11 13:08:36 +09:00
Renamed from cpp_impl/src/UDPC_Defines.hpp (Browse further)