Commit Graph

379 Commits

Author SHA1 Message Date
Mark Qvist
df39cff520 Added recovery to local shared interfaces if master RNS instance is restarted 2021-12-10 18:32:24 +01:00
Mark Qvist
e1e31692d7 UDP socket contructor and doc update 2021-12-10 16:23:35 +01:00
Mark Qvist
293a834c35 Log output and cleanup 2021-12-10 14:48:30 +01:00
Mark Qvist
1bbdd9b3f5 Ignore interfaces on Darwin 2021-12-10 11:10:09 +01:00
Mark Qvist
d4b6b6ee59 Ignore interfaces on Darwin 2021-12-10 11:00:48 +01:00
Mark Qvist
fca03bbdce Ignore AWDL interfaces on Darwin 2021-12-10 10:58:28 +01:00
Mark Qvist
29aa4f9315 Updated AutoInterface IPv6 bind address 2021-12-10 10:35:25 +01:00
Mark Qvist
d5cac30a85 Log cleanup 2021-12-10 09:48:57 +01:00
Mark Qvist
006c70cd09 Updated documentation 2021-12-09 18:12:18 +01:00
Mark Qvist
02945f960d Updated timing 2021-12-09 17:44:19 +01:00
Mark Qvist
90174fcc28 Cleanup 2021-12-09 17:02:13 +01:00
Mark Qvist
c18ebed419 Added auto interface 2021-12-09 16:07:36 +01:00
Mark Qvist
4241990690 Implemented AutoInterface outbound traffic and multicast discovery listeners 2021-12-08 20:46:53 +01:00
Mark Qvist
3d49076602 Compatibility with IPv6 based interfaces 2021-12-08 20:45:41 +01:00
Mark Qvist
2e4fcc659c Added KISS framing option to TCP client interface 2021-12-06 13:07:12 +01:00
Mark Qvist
9e9606b8cf Systemd service support and documentation update 2021-12-05 16:05:43 +01:00
Mark Qvist
8be1acee0a Added auto reconnection for disconnected serial-based devices 2021-12-05 14:35:25 +01:00
Mark Qvist
ba39a69175 Timeout default structure updated 2021-12-05 11:45:13 +01:00
Mark Qvist
a692d29c90 Reconnect on serial port errors for KISS interface 2021-12-05 11:44:30 +01:00
Mark Qvist
1443f4c104 Updated umsgpack to 2.7.1 2021-12-01 19:20:24 +01:00
Mark Qvist
c44c6f9086 Conditional imports for serial-based interfaces 2021-12-01 13:57:40 +01:00
Mark Qvist
259c2aa397 Conditional imports for serial-based interfaces 2021-12-01 13:39:51 +01:00
Mark Qvist
10854bfdbc Added conditional import of netifaces 2021-12-01 11:46:19 +01:00
Mark Qvist
f5236878b0 Added Android platform detection 2021-12-01 11:40:44 +01:00
Mark Qvist
daf72f4237 Version updated 2021-12-01 11:40:31 +01:00
Mark Qvist
652b884d72 Added conditional import of netifaces 2021-12-01 11:39:40 +01:00
Mark Qvist
ea3716f48e Added Android platform detection 2021-12-01 11:39:06 +01:00
Mark Qvist
165e620043 Improved shutdown handling on interrupt. Updated gitignore. 2021-11-04 17:15:58 +01:00
Mark Qvist
58f43b163e Updated docs 2021-10-15 19:26:53 +02:00
Mark Qvist
448ea8ceb5 Added try statements for various callbacks 2021-10-15 14:36:50 +02:00
Mark Qvist
8d01586a5a Added RSSI and SNR to echo example 2021-10-12 18:04:55 +02:00
Mark Qvist
3e5f613f66 Fixed typo 2021-10-12 16:36:29 +02:00
Mark Qvist
1cf6570c2d Added RSSI and SNR reporting to packets on supported interfaces 2021-10-12 16:34:17 +02:00
Mark Qvist
fd13e20165 Updated version 2021-10-09 23:23:44 +02:00
Mark Qvist
66ce58f0f4 Implemented path updating for moving nodes 2021-10-09 22:13:27 +02:00
Mark Qvist
e8ee26f78d Emission timestamp in announce. 2021-10-09 21:36:01 +02:00
Mark Qvist
c0fb419fe1 Fixed Resource string representation. Added emission timestamp in announce. 2021-10-09 21:30:34 +02:00
Mark Qvist
4ef369cdd8 Added logfile rotation 2021-10-08 19:23:10 +02:00
Mark Qvist
b21e0bee20 Updated documentation 2021-10-08 18:30:17 +02:00
Mark Qvist
4ca00c6973 Added path expiry check to tunnel restoration 2021-10-08 17:09:31 +02:00
Mark Qvist
95f81cab7f Added path expiry check to tunnel restoration 2021-10-08 17:09:11 +02:00
Mark Qvist
60917f0eea Fixed interface detachment on TCP initiator interfaces 2021-10-08 17:06:00 +02:00
Mark Qvist
de800f0ea7 Updated log output 2021-10-08 11:57:23 +02:00
Mark Qvist
5dad76879c Improved known destination saving on shared instances 2021-10-08 08:52:50 +02:00
Mark Qvist
75c3180933 Improved shared instance and local client handling 2021-10-03 15:23:12 +02:00
Mark Qvist
cd6427cc9d Fixed rnstatus output 2021-09-25 23:56:56 +02:00
Mark Qvist
1749393732 Fixed rnstatus output 2021-09-25 23:44:59 +02:00
Mark Qvist
dcde5035b9 Updated docs 2021-09-25 23:22:33 +02:00
Mark Qvist
161eeca509 Updated logging 2021-09-25 15:39:42 +02:00
Mark Qvist
f25906d44e Improved path utility output 2021-09-25 11:27:43 +02:00
Mark Qvist
dd5133751e Updated utilities 2021-09-25 11:03:43 +02:00
Mark Qvist
7991db5c74 Added rnstatus utility 2021-09-24 20:10:04 +02:00
Mark Qvist
f5510f9777 Added verbosity options to rnsd 2021-09-24 20:05:24 +02:00
Mark Qvist
05e0b17fbf Improved rnprobe utility output. 2021-09-24 16:49:07 +02:00
Mark Qvist
7e9d608530 Improved shutdown handling for local shared instances 2021-09-24 16:42:31 +02:00
Mark Qvist
3d4ac0126b Added signal handler and interface detachment oon exit. 2021-09-24 16:09:07 +02:00
Mark Qvist
81cdb0b7e6 Updated version 2021-09-24 15:34:33 +02:00
Mark Qvist
c71660a9c3 Added verbosity level to utilities 2021-09-24 15:34:03 +02:00
Mark Qvist
9c1ac46989 Added loglevel override 2021-09-24 15:18:06 +02:00
Mark Qvist
c5b792f64a Added rnprobe utility 2021-09-24 14:20:12 +02:00
Mark Qvist
76d75e9a3e Updated rnpath utility 2021-09-24 14:16:25 +02:00
Mark Qvist
1bc2d4015e Fixed bug in reverse table culling 2021-09-24 14:14:34 +02:00
Mark Qvist
ab4f3ad8ae Updated logging and default config 2021-09-24 14:13:31 +02:00
Mark Qvist
16dae81844 Fixed regression in TCPInterface client spawner. 2021-09-24 14:11:04 +02:00
Mark Qvist
e9e2ffbe0d Improved log output from local interfaces 2021-09-24 14:10:18 +02:00
Mark Qvist
dc36644a1e Added rnpath utility 2021-09-24 12:42:24 +02:00
Mark Qvist
8436bc5ba3 Update rnsd utility description 2021-09-24 11:26:29 +02:00
Mark Qvist
9323fd22ee Improved TCP client interface recovery 2021-09-24 11:20:10 +02:00
Mark Qvist
544e15afdf Added rnsd utility 2021-09-24 11:17:23 +02:00
Mark Qvist
acae9e34c2 Improved link status detection and recovery of TCP interfaces over unreliable IP links. 2021-09-23 16:07:57 +02:00
Mark Qvist
aaf0ace027 Updated version 2021-09-18 23:32:08 +02:00
Mark Qvist
d8b76b4bc5 Improved config parsing 2021-09-18 23:24:12 +02:00
Mark Qvist
65e8487b39 Added TCP client reconnection on TCP socket drop 2021-09-18 22:49:04 +02:00
Mark Qvist
6362e04567 Cleanup 2021-09-18 21:52:28 +02:00
Mark Qvist
711b754dcc Implemented tunnel saving/restoring. 2021-09-18 21:47:37 +02:00
Mark Qvist
1351316f17 Implemented endpoint tunneling and path restoration on intermittent link layer connections. 2021-09-18 20:38:23 +02:00
Mark Qvist
7af14cec84 Work on tunnels 2021-09-18 20:33:42 +02:00
Mark Qvist
0687ee2231 Work on tunnels 2021-09-18 20:31:43 +02:00
Mark Qvist
872075a31e Work on tunnels 2021-09-18 20:13:51 +02:00
Mark Qvist
d8f0380aa9 Work on tunnels 2021-09-18 20:10:39 +02:00
Mark Qvist
569f9bd2b1 Work on tunnels 2021-09-18 19:46:28 +02:00
Mark Qvist
450b88d0f0 Work on tunnels 2021-09-18 19:14:30 +02:00
Mark Qvist
1cb9df109a Work on tunnels 2021-09-18 19:12:09 +02:00
Mark Qvist
80455c9614 Work on tunnels 2021-09-18 19:08:45 +02:00
Mark Qvist
c1e280d896 Work on tunnels 2021-09-18 18:54:57 +02:00
Mark Qvist
4a2925cdea Work on tunnels 2021-09-18 18:54:01 +02:00
Mark Qvist
7f38c32e90 Work on tunnels 2021-09-18 18:40:49 +02:00
Mark Qvist
8646be0dcf Work on tunnels 2021-09-18 18:40:27 +02:00
Mark Qvist
6b3cc07740 Work on tunnels 2021-09-18 18:35:10 +02:00
Mark Qvist
3b57b0013b Work on tunnels 2021-09-18 18:34:00 +02:00
Mark Qvist
24d8f39dd1 Work on tunnels 2021-09-18 18:33:28 +02:00
Mark Qvist
58e4bf3c80 Work on tunnels 2021-09-18 18:32:12 +02:00
Mark Qvist
1da8a0c8f1 Work on tunnels 2021-09-18 18:26:50 +02:00
Mark Qvist
8b8d4410ef Work on tunnels 2021-09-18 18:21:32 +02:00
Mark Qvist
7d804daa8f Work on tunnels 2021-09-18 18:19:42 +02:00
Mark Qvist
ce00822cb0 Work on tunnels 2021-09-18 18:11:23 +02:00
Mark Qvist
5e21bdd233 Improved link teardown handling. 2021-09-16 20:40:37 +02:00
Mark Qvist
f80e09cb5c Included six internally. 2021-09-11 16:03:35 +02:00
Mark Qvist
91d94f2f6f Fixed incorrect transfer size indications on single-packet request responses with msgpacked dictionaries as payloads. 2021-09-10 21:35:30 +02:00
Mark Qvist
534bb28900 Fixed removal of non-existing receipts. 2021-09-05 20:05:12 +02:00
Mark Qvist
5629a062a5 Added resource window timeout recalculations during transfer. 2021-09-03 22:53:25 +02:00
Mark Qvist
83232f0446 Work on resource timing. 2021-09-03 22:20:16 +02:00
Mark Qvist
aa794514b3 Work on resource timing. 2021-09-03 22:01:58 +02:00
Mark Qvist
07cf180ea8 Added continous resource timeout adjustment. Fixes missing response timeout check. 2021-09-03 21:08:20 +02:00
Mark Qvist
42a3d23e99 Optimised resource transfer timings. Improved request/response timeout handling. 2021-09-03 18:53:37 +02:00
Mark Qvist
d28c888d1c Improved link request/response handling. 2021-09-03 16:24:47 +02:00
Mark Qvist
58d48c18f4 Improved link request/response handling. 2021-09-03 16:23:31 +02:00
Mark Qvist
ecf0c55fd6 Improved link establishment. 2021-09-03 16:14:08 +02:00
Mark Qvist
32e4c262ef Improved link timeout handling. 2021-09-03 15:47:42 +02:00
Mark Qvist
f87a6a57df Added link error handling. 2021-09-03 15:08:38 +02:00
Mark Qvist
6373f159f8 Added link error handling. 2021-09-03 14:42:59 +02:00
Mark Qvist
ad9f548eeb Improved request timeout calculation and handling. 2021-09-03 14:22:53 +02:00
Mark Qvist
425f0153d0 Added flow control timeouts to AX.25 interface and optimised timeouts. 2021-09-03 10:56:49 +02:00
Mark Qvist
cd9daaefee Removed option to allow unencrypted links. 2021-09-03 10:13:48 +02:00
Mark Qvist
0fe76d50f6 Improved documentation. 2021-09-02 20:35:42 +02:00
Mark Qvist
9562803bb3 Optimised sent Fernet token data. 2021-09-02 18:42:17 +02:00
Mark Qvist
e9c89209c7 Optimised sent Fernet token data. 2021-09-02 18:34:58 +02:00
Mark Qvist
cd8de64201 Implemented ability to change MTU. 2021-09-02 18:00:03 +02:00
Mark Qvist
40f7a6d359 Added resource HMU/part request hash filter. Fixes #7. 2021-09-02 14:44:53 +02:00
Mark Qvist
0c96508cca Updated default config. 2021-08-29 13:48:12 +02:00
Mark Qvist
1fd59f1a02 Fixed resource sequencing fail handling. 2021-08-29 13:46:31 +02:00
Mark Qvist
b694cbdc91 Improved announce handling for local clients. 2021-08-29 12:43:54 +02:00
Mark Qvist
71c3333e10 Improved announce handling for local clients. 2021-08-29 12:28:30 +02:00
Mark Qvist
972fcdee22 Fixed identity saving. 2021-08-29 01:24:21 +02:00
Mark Qvist
781cb4712d Fixed request packet receipts timing out in spite of delivery. 2021-08-28 23:53:51 +02:00
Mark Qvist
cdb08325cc Fixed timeout calculation condition. 2021-08-28 20:34:41 +02:00
Mark Qvist
62d954d7bf Fixed timeout calculation condition. 2021-08-28 20:21:50 +02:00
Mark Qvist
2678aeb6a1 Improved timeout calculation and handling. 2021-08-28 20:01:01 +02:00
Mark Qvist
6d441dac02 Better resource advertisement timeout. 2021-08-28 14:41:25 +02:00
Mark Qvist
2e7126ef39 Cleaned up log statements 2021-08-27 22:51:16 +02:00
Mark Qvist
c0f909850b Updated docs. 2021-08-27 19:54:57 +02:00
Mark Qvist
a199e4c929 Improved link and resource callbacks and resource handling. 2021-08-27 19:52:48 +02:00
Mark Qvist
f719d44db5 Transport optimisations 2021-08-21 20:23:36 +02:00
Mark Qvist
af890d91d2 Fixed race condition in outbound handling packet filter 2021-08-21 19:42:01 +02:00
Mark Qvist
212518a345 Implemented requests and responses of arbitrary sizes using resources. 2021-08-21 14:52:31 +02:00
Mark Qvist
1dc6655017 Implemented request and response API 2021-08-20 23:29:06 +02:00
Mark Qvist
69930e5652 Updated default config 2021-08-20 11:23:35 +02:00
Mark Qvist
2b8b95da2b Added config options for TCP server interface binding to network interface instead of IP. 2021-08-19 20:13:53 +02:00
Mark Qvist
6382409194 Added config options for UDP interface binding to network interface instead of IP. 2021-08-19 19:56:35 +02:00
Mark Qvist
4fd3d26714 Fixed UDP broadcast echo packets not being filtered. 2021-08-19 17:05:07 +02:00
Mark Qvist
384a7db974 Implemented link peer identification 2021-08-19 14:10:37 +02:00
Mark Qvist
ad67c553d7 Added exception when trying to remember an invalid public key 2021-05-20 22:30:54 +02:00
Mark Qvist
d68cfaa8f7 Optimised link establishment 2021-05-20 20:32:08 +02:00
Mark Qvist
e8ca88377a Updated documentation 2021-05-20 18:37:12 +02:00
Mark Qvist
db527b6759 Optimised announces to 151 bytes 2021-05-20 16:56:08 +02:00
Mark Qvist
ce405b9252 Migrated all asymmetric crypto operations to ECIES on Curve25519. 2021-05-20 15:31:38 +02:00
Mark Qvist
7f5625a526 Cleanup 2021-05-20 13:38:57 +02:00
Mark Qvist
f880edbeb8 Store GROUP destination symmetric key as bytes instead of base64 2021-05-20 12:44:12 +02:00
Mark Qvist
e746a80dca Fixed beacon data in KISSInterface 2021-05-17 22:01:56 +02:00
Mark Qvist
94813d95b1 Separate Ed25519 signature keys on links 2021-05-17 19:11:10 +02:00