Commit Graph

129 Commits

Author SHA1 Message Date
Mark Qvist
06fffe5a94 Use internal implementation for X25519 key exchanges 2022-06-08 13:36:23 +02:00
Mark Qvist
4bd5f05e0e Moved Link Fernet to internal implementation 2022-06-08 12:34:31 +02:00
Mark Qvist
19a033db96 Freed RNS from dependency on PyCA HMAC, HKDF and hashes 2022-06-07 15:48:23 +02:00
Mark Qvist
49ed335e19 Cleanup 2022-05-26 16:52:28 +02:00
Mark Qvist
33fac728f8 Improved link stale process and timeout calculations 2022-05-26 16:49:02 +02:00
Mark Qvist
30f71857ae Added docstrings. Added request size to receipts. Fixed link stale time calculation on newly created links with no actual activity. 2022-05-24 20:13:11 +02:00
Mark Qvist
3bf5694238 Fixed naming conflict in resource advertisements 2022-05-23 08:54:07 +02:00
Mark Qvist
0ace84367b Improved link authentication callback 2022-05-22 19:08:03 +02:00
Mark Qvist
b2d61843d0 Improved log output 2022-05-17 13:25:42 +02:00
Mark Qvist
cf1ca01a3b Configuration support for interface access codes 2022-04-27 13:21:53 +02:00
Mark Qvist
dc6877927e Updated license headers 2022-04-01 17:18:18 +02:00
Mark Qvist
550dfd44cb Improved cryptography API compatibility 2022-03-08 00:38:51 +01:00
Mark Qvist
cb023cde40 Fixed potential race condition in resource assembly 2022-02-26 18:27:11 +01:00
Mark Qvist
fdaa58a6fa Improved malformed packet detection 2022-01-11 03:06:16 +01:00
Mark Qvist
81158c27e4 Cleanup 2021-12-11 18:41:28 +01:00
Mark Qvist
eeb424ecee Link request debug 2021-12-11 18:33:09 +01:00
Mark Qvist
0273328b23 Link proof debug 2021-12-11 18:19:51 +01:00
Mark Qvist
20dfbcf0cc Link activation time 2021-12-11 17:26:45 +01:00
Mark Qvist
9ff37543f3 Adjusted request timeout 2021-12-11 16:42:57 +01:00
Mark Qvist
ba39a69175 Timeout default structure updated 2021-12-05 11:45:13 +01:00
Mark Qvist
448ea8ceb5 Added try statements for various callbacks 2021-10-15 14:36:50 +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
75c3180933 Improved shared instance and local client handling 2021-10-03 15:23:12 +02:00
Mark Qvist
5e21bdd233 Improved link teardown handling. 2021-09-16 20:40:37 +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
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
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
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
2e7126ef39 Cleaned up log statements 2021-08-27 22:51:16 +02:00
Mark Qvist
a199e4c929 Improved link and resource callbacks and resource handling. 2021-08-27 19:52:48 +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
384a7db974 Implemented link peer identification 2021-08-19 14:10:37 +02:00
Mark Qvist
d68cfaa8f7 Optimised link establishment 2021-05-20 20:32: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
94813d95b1 Separate Ed25519 signature keys on links 2021-05-17 19:11:10 +02:00
Mark Qvist
8478782c18 Moved Reticulum to Curve25519 for ECDH exchanges and signatures 2021-05-17 14:05:13 +02:00
Mark Qvist
dfb5af5dd1 Added docstrings, refactored method names. 2021-05-16 23:14:49 +02:00
Mark Qvist
235b1cea4c Refactored Transport method names 2021-05-16 16:48:54 +02:00
Mark Qvist
55c0f44e58 Refactored Packet method names 2021-05-16 16:42:07 +02:00
Mark Qvist
cd2f49272d Refactored Link method names 2021-05-16 16:37:12 +02:00
Mark Qvist
0c76d6a15c Link inbound/outbound inactivity timers 2021-05-14 12:58:02 +02:00
Mark Qvist
51ab2d3488 Implemented app_data recall from announces, better destination registration handling and link inactivity querying. 2021-05-13 16:41:23 +02:00
Mark Qvist
bd098c338a Indentation and formatting cleanup 2020-08-13 12:15:56 +02:00
Mark Qvist
4ffe4482d3 Updated readme and fixed typos 2020-06-14 11:26:11 +02:00
Mark Qvist
c595fdd54b Optimised resource transfer implementation 2020-05-12 16:45:51 +02:00
Mark Qvist
c9d1c938ff Implemented progress on resource initiator side. Made MDUs more obvious. 2020-04-28 20:50:57 +02:00
Mark Qvist
fa50e1d35b Migrated to Python3 2020-04-22 17:07:40 +02:00
Mark Qvist
a339ae3d28 Preliminary Python3 support 2020-04-22 12:07:13 +02:00
Mark Qvist
d754ed989c Implemented transport for links 2020-03-06 22:20:50 +01:00
Mark Qvist
bcfcf4eb86 Link window optimisations 2018-12-31 20:33:55 +01:00
Mark Qvist
deffcae419 RNode interface updates 2018-06-27 10:15:39 +02:00
Mark Qvist
c03bce5547 RNode interface 2018-04-26 13:20:43 +02:00
Mark Qvist
4e136eea03 File transfer example 2018-04-25 23:10:26 +02:00
Mark Qvist
aa9d0876d7 File transfer example 2018-04-25 23:05:30 +02:00
Mark Qvist
d69f3c2c34 Implemented elliptic curve signatures and verify on links, auto proofs on links 2018-04-25 22:08:17 +02:00
Mark Qvist
5c94324230 Resource timing, retries 2018-04-23 23:42:16 +02:00
Mark Qvist
23ff873c63 Tied link teardown to resource cancellation 2018-04-21 23:15:48 +02:00
Mark Qvist
260f8bbaf1 Implemented link timeouts and keepalive 2018-04-21 16:12:42 +02:00
Mark Qvist
ece4f732f4 Implemented RTT measurements on link establishment and link teardown procedure 2018-04-21 13:54:22 +02:00
Mark Qvist
de8d9cf722 Implemented resources 2018-04-18 23:31:17 +02:00
Mark Qvist
8772db6736 Added plaintext link support 2018-04-16 22:04:28 +02:00
Mark Qvist
75e0cb039d Implemented links 2018-04-16 17:14:01 +02:00