]> git.meshlink.io Git - meshlink-tiny/log
meshlink-tiny
2 years agoAdd a metering test. main
Guus Sliepen [Sun, 26 Sep 2021 22:25:01 +0000 (00:25 +0200)]
Add a metering test.

Currently it only measures traffic between tiny and full nodes during
the initial connection and while idle.

2 years agoAdd support for devtool_reset_node_counters to the full MeshLink shim.
Guus Sliepen [Sun, 26 Sep 2021 22:22:25 +0000 (00:22 +0200)]
Add support for devtool_reset_node_counters to the full MeshLink shim.

Also assert that all symbols have been resolved.

2 years agoMake the precomputed Ed25519 data const.
Guus Sliepen [Thu, 19 Aug 2021 19:01:54 +0000 (21:01 +0200)]
Make the precomputed Ed25519 data const.

2 years agoFix a compiler warning.
Guus Sliepen [Mon, 12 Jul 2021 19:55:38 +0000 (21:55 +0200)]
Fix a compiler warning.

2 years agoReduce memory usage of meshlink_join().
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.

2 years agoConvert addresses to text using inet_ntop().
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().

2 years agoWork around STATUS already being defined in the ESP32 header files.
Guus Sliepen [Mon, 12 Jul 2021 19:38:05 +0000 (21:38 +0200)]
Work around STATUS already being defined in the ESP32 header files.

2 years agoUpdate the test suite for Meshlink-tiny.
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.

2 years agoRemove the declaration of meshlink_get_node_reachability().
Guus Sliepen [Thu, 29 Jul 2021 22:01:57 +0000 (00:01 +0200)]
Remove the declaration of meshlink_get_node_reachability().

2 years agoRemove the blackbox test suite.
Guus Sliepen [Thu, 29 Jul 2021 22:00:34 +0000 (00:00 +0200)]
Remove the blackbox test suite.

2 years agoFix a possible crash when opening an ephemeral instance.
Guus Sliepen [Mon, 12 Jul 2021 19:34:35 +0000 (21:34 +0200)]
Fix a possible crash when opening an ephemeral instance.

2 years agoCheck for the availability of flock().
Guus Sliepen [Mon, 12 Jul 2021 19:26:24 +0000 (21:26 +0200)]
Check for the availability of flock().

2 years agoRemove all support for channels.
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.

2 years agoRemove logging when compiled with -DNDEBUG.
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.

2 years agoRemove the UTCP send and receive buffers.
Guus Sliepen [Sun, 20 Jun 2021 20:51:41 +0000 (22:51 +0200)]
Remove the UTCP send and receive buffers.

2 years agoRemove support for TCP channels and AIO.
Guus Sliepen [Sun, 20 Jun 2021 20:14:18 +0000 (22:14 +0200)]
Remove support for TCP channels and AIO.

2 years agoRemove unused invitation related function declarations.
Guus Sliepen [Sat, 19 Jun 2021 21:42:58 +0000 (23:42 +0200)]
Remove unused invitation related function declarations.

2 years agoEnsure we exchange a session key for application data exchange.
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.

2 years agoRemove MTU and traffic statistics.
Guus Sliepen [Sat, 19 Jun 2021 21:31:16 +0000 (23:31 +0200)]
Remove MTU and traffic statistics.

2 years agoRemove some unused variables.
Guus Sliepen [Sat, 19 Jun 2021 21:04:05 +0000 (23:04 +0200)]
Remove some unused variables.

2 years agoRemove support for request forwarding.
Guus Sliepen [Sat, 19 Jun 2021 20:50:13 +0000 (22:50 +0200)]
Remove support for request forwarding.

2 years agoRemove support for multiple connections.
Guus Sliepen [Sat, 19 Jun 2021 20:43:17 +0000 (22:43 +0200)]
Remove support for multiple connections.

2 years agoRemove support for submeshes.
Guus Sliepen [Sat, 19 Jun 2021 16:13:25 +0000 (18:13 +0200)]
Remove support for submeshes.

2 years agoRemove support for automatically detecting external addresses.
Guus Sliepen [Sat, 19 Jun 2021 15:47:18 +0000 (17:47 +0200)]
Remove support for automatically detecting external addresses.

2 years agoRemove listening sockets.
Guus Sliepen [Sat, 19 Jun 2021 15:36:25 +0000 (17:36 +0200)]
Remove listening sockets.

2 years agoRemove asynchronous DNS support.
Guus Sliepen [Sat, 19 Jun 2021 13:59:24 +0000 (15:59 +0200)]
Remove asynchronous DNS support.

2 years agoRemove graph, edges and communication via UDP.
Guus Sliepen [Sun, 13 Jun 2021 21:58:54 +0000 (23:58 +0200)]
Remove graph, edges and communication via UDP.

2 years agoFix building the example programs.
Guus Sliepen [Sat, 12 Jun 2021 21:23:16 +0000 (23:23 +0200)]
Fix building the example programs.

2 years agoRename the library and public header to meshlink-tiny.
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.

2 years agoDrop support for meshlink_blacklist()/whitelist().
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.

2 years agoRemove support for meshlink_invite().
Guus Sliepen [Sat, 12 Jun 2021 15:47:58 +0000 (17:47 +0200)]
Remove support for meshlink_invite().

2 years agoStart of the MeshLink-tiny library.
Guus Sliepen [Sat, 12 Jun 2021 13:44:52 +0000 (15:44 +0200)]
Start of the MeshLink-tiny library.

2 years agoGet the full history from the main meshlink repository.
Guus Sliepen [Sat, 12 Jun 2021 13:50:29 +0000 (15:50 +0200)]
Get the full history from the main meshlink repository.