summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Guus Sliepen [Mon, 12 Jul 2021 19:54:22 +0000 (21:54 +0200)]
Use a loopback UDP socket instead of a pipe.
The ESP32 doesn't provide pipe(), to ensure we can wake up select() we have
to use a socket bound to localhost so we can send a dummy packet to ourself.
Guus Sliepen [Mon, 12 Jul 2021 19:52:08 +0000 (21:52 +0200)]
Reduce the stack size of the background thread.
Guus Sliepen [Mon, 12 Jul 2021 19:51:55 +0000 (21:51 +0200)]
Reduce memory usage of meshlink_join().
Reduce the size of the buffers, and allocate the join state on the heap.
Guus Sliepen [Mon, 12 Jul 2021 19:47:07 +0000 (21:47 +0200)]
Convert addresses to text using inet_ntop().
The ESP32 SDK doesn't support getnameinfo().
Guus Sliepen [Mon, 12 Jul 2021 19:38:05 +0000 (21:38 +0200)]
Work around STATUS already being defined in the ESP32 header files.
Guus Sliepen [Mon, 12 Jul 2021 19:37:40 +0000 (21:37 +0200)]
Use esp_fill_random() to generate random bytes.
Guus Sliepen [Thu, 29 Jul 2021 23:32:03 +0000 (01:32 +0200)]
Update the test suite for Meshlink-tiny.
It depends on the full Meshlink library being available as well, which must
be installed or its location should be added to LD_LIBRARY_PATH in order to
be able to run the tests. It is being loaded using dlopen() with the
RTLD_LOCAL and RTLD_DEEPBIND flags to ensure the symbols from the tiny and
full version don't collide.
Guus Sliepen [Thu, 29 Jul 2021 22:01:57 +0000 (00:01 +0200)]
Remove the declaration of meshlink_get_node_reachability().
Guus Sliepen [Thu, 29 Jul 2021 22:00:34 +0000 (00:00 +0200)]
Remove the blackbox test suite.
Guus Sliepen [Mon, 12 Jul 2021 19:34:35 +0000 (21:34 +0200)]
Fix a possible crash when opening an ephemeral instance.
Guus Sliepen [Mon, 12 Jul 2021 19:26:24 +0000 (21:26 +0200)]
Check for the availability of flock().
Guus Sliepen [Mon, 21 Jun 2021 21:13:50 +0000 (23:13 +0200)]
Remove all support for channels.
Also, only allow communication with the peer we have a connection to.
Instead of using an inner SPTPS session, just send raw packets directly
over the meta-connection.
Guus Sliepen [Sun, 20 Jun 2021 21:17:24 +0000 (23:17 +0200)]
Remove logging when compiled with -DNDEBUG.
Also fix compiler warnings generated when logger() is #defined to do nothing.
Guus Sliepen [Sun, 20 Jun 2021 20:51:41 +0000 (22:51 +0200)]
Remove the UTCP send and receive buffers.
Guus Sliepen [Sun, 20 Jun 2021 20:14:18 +0000 (22:14 +0200)]
Remove support for TCP channels and AIO.
Guus Sliepen [Sat, 19 Jun 2021 21:42:58 +0000 (23:42 +0200)]
Remove unused invitation related function declarations.
Guus Sliepen [Sat, 19 Jun 2021 21:38:49 +0000 (23:38 +0200)]
Ensure we exchange a session key for application data exchange.
We need to create an edge and send it to the peer, so it will be able to
run its graph algorithms and consider us reachable, otherwise it will not
respond to REQ_KEY requests.
Guus Sliepen [Sat, 19 Jun 2021 21:31:16 +0000 (23:31 +0200)]
Remove MTU and traffic statistics.
Guus Sliepen [Sat, 19 Jun 2021 21:04:05 +0000 (23:04 +0200)]
Remove some unused variables.
Guus Sliepen [Sat, 19 Jun 2021 20:50:13 +0000 (22:50 +0200)]
Remove support for request forwarding.
Guus Sliepen [Sat, 19 Jun 2021 20:43:17 +0000 (22:43 +0200)]
Remove support for multiple connections.
Guus Sliepen [Sat, 19 Jun 2021 16:13:25 +0000 (18:13 +0200)]
Remove support for submeshes.
Guus Sliepen [Sat, 19 Jun 2021 15:47:18 +0000 (17:47 +0200)]
Remove support for automatically detecting external addresses.
Guus Sliepen [Sat, 19 Jun 2021 15:36:25 +0000 (17:36 +0200)]
Remove listening sockets.
Guus Sliepen [Sat, 19 Jun 2021 13:59:24 +0000 (15:59 +0200)]
Remove asynchronous DNS support.
Guus Sliepen [Sun, 13 Jun 2021 21:58:54 +0000 (23:58 +0200)]
Remove graph, edges and communication via UDP.
Guus Sliepen [Sat, 12 Jun 2021 21:23:16 +0000 (23:23 +0200)]
Fix building the example programs.
Guus Sliepen [Sat, 12 Jun 2021 21:07:27 +0000 (23:07 +0200)]
Rename the library and public header to meshlink-tiny.
This allows the library to coexist with the full MeshLink library in the
same installation directory, and avoids accidental linking to the wrong
version of the library.
The function names have not changed, so it is not possible to
simultaneously link both versions of the library into a single program.
Guus Sliepen [Sat, 12 Jun 2021 15:58:58 +0000 (17:58 +0200)]
Drop support for meshlink_blacklist()/whitelist().
Keep the internal tracking of the blacklist status of each node for now.
Guus Sliepen [Sat, 12 Jun 2021 15:47:58 +0000 (17:47 +0200)]
Remove support for meshlink_invite().
Guus Sliepen [Sat, 12 Jun 2021 13:44:52 +0000 (15:44 +0200)]
Start of the MeshLink-tiny library.
Guus Sliepen [Sat, 12 Jun 2021 13:50:29 +0000 (15:50 +0200)]
Get the full history from the main meshlink repository.