Commit graph

33 commits

Author SHA1 Message Date
Mark Qvist
e0ba3d11ba Implemented an allowed_identities file for more convenient access management 2023-09-18 17:58:44 +02:00
Mark Qvist
494ebb29fb Remove unused importlib.metadata for Python 3.7+ compatibility 2023-05-11 20:18:28 +02:00
Aaron Heise
5bca575a4b
Switch to RNS-provided Channel 2023-02-28 08:48:29 -06:00
Aaron Heise
a06d27ec15
Separate listener and initiator code into separate modules 2023-02-23 06:36:55 -06:00
Aaron Heise
458a2391df
Add tests for and fix #14 2023-02-22 21:16:41 -06:00
Aaron Heise
a07ce53bf9
Remove service name from aspects #12; minor tweaks
- Remove service name from RNS destination aspects. Service name
  now selects a suffix for the identity file and should only be
  supplied on the listener. The initiator only needs the destination
  hash of the listener to connect.
- Show a spinner during link establishment on tty sessions
- Attempt to catch and beautify exceptions on initiator
2023-02-22 19:58:03 -06:00
Aaron Heise
b41bcbbc44
Event loop bursting
Pump event loops dry before sleeping. This has a noticeable positive effect on throughput.
2023-02-18 19:40:27 -06:00
Aaron Heise
04b2660d41
Rate limit window change event.
Also added some scaling for pumping event loops to improve CPU usage.
Version bump for release
2023-02-18 18:31:59 -06:00
Aaron Heise
acc217df90 Upgrade rns and remove hacks for previous version 2023-02-18 07:44:24 -06:00
Aaron Heise
8edb4020b1 Got the new protocol working. 2023-02-18 00:09:28 -06:00
Aaron Heise
ebdcb50265 Support for pipes. #3
Connects pipes on the listener child process the same way they are connected on the initiator--any combination of stdin, stdout, and stderr could be connected to a pipe. Any one of those not connected to a pipe will be connected to a pty.
2023-02-16 00:18:34 -06:00
Aaron Heise
27664df0b3 Several test-driven fixes
- Improved test suite exposed several issues with the handling of
command line arguments which are now fixed
- Fixed a race condition that would cause remote characters to be
  lost intermittently when running remote commands that finish
  immediately.
- Added automated testing that actually spins up a random listener
  and initiator in a private Reticulum network and passes data
  between them, uncovering more issues which are now fixed.
- Fixed (hopefully) an issue where `rnsh` doesn't know what
  version it is.
2023-02-14 15:42:55 -06:00
Aaron Heise
d4cb31e220 Remote command append mode (-A) for listener 2023-02-14 06:18:22 -06:00
Aaron Heise
a3bd1f20fb Protocol version 2: do not base64 encode stream data 2023-02-14 04:28:31 -06:00
Aaron Heise
2c61fdf391 Allow retry timer callback to signal complete 2023-02-14 03:56:03 -06:00
Aaron Heise
da1e62483d Notification message should be debug level, not info level. 2023-02-13 20:07:40 -06:00
Aaron Heise
bf61ce891c Remote command line options 2023-02-13 19:21:05 -06:00
Aaron Heise
f25a9104e1 - Fix running rnsh initiator from a script
- Sanitize TERM input just in case
- Fix badge link
2023-02-13 15:40:16 -06:00
Aaron Heise
39ba482720 Align version numbers 2023-02-12 23:50:14 -06:00
Aaron Heise
5e755acad4 Performance and stability improvements. 2023-02-12 22:29:16 -06:00
Aaron Heise
7d711cde6d Performance tweaks 2023-02-12 08:57:08 -06:00
Aaron Heise
da3b390058 Protocol versioning, announce period option, old API workaround 2023-02-11 21:57:13 -06:00
Aaron Heise
f86acc3f08 Improvements to TTY attribute handling 2023-02-11 11:50:13 -06:00
Aaron Heise
81459efcd6 Address several code style concerns 2023-02-11 07:38:35 -06:00
Aaron Heise
ec5f9a0157 Added license and made a few more packaging tweaks. 2023-02-10 22:34:32 -06:00
Aaron Heise
27f6b0f0e5 Workin on packaging 2023-02-10 20:46:22 -06:00
Aaron Heise
6543620985 Decrease MDU headroom for better throughput 2023-02-10 18:22:51 -06:00
Aaron Heise
ced3ee2f98 First functional build. 2023-02-10 18:11:48 -06:00
Aaron Heise
2239f69953 Output and termination work 2023-02-10 15:29:43 -06:00
Aaron Heise
a8095b6270 Few more bugs addressed 2023-02-10 03:55:00 -06:00
Aaron Heise
3183923c8c Lots more stuff, still more debugging to do 2023-02-10 03:08:58 -06:00
Aaron Heise
fcc73ba31a Locking in a major increment for integrating the CallbackSubprocess module to rnsh 2023-02-09 19:58:46 -06:00
Aaron Heise
50744830fb Initial import 2023-02-08 23:05:36 -06:00