Commit Graph

116 Commits

Author SHA1 Message Date
Aaron Heise
e54ef5a675
Fix RNS dependency: should allow any version greater than 0.5.0, rather than only exact version. 2023-05-05 22:13:15 -04:00
Aaron Heise
f483444daa
Version bump 2023-03-08 16:58:03 -06:00
Aaron Heise
53332bf1ac
Use StreamDataMessage from RNS.Buffer
But don't use Buffer yet
2023-03-08 16:54:02 -06:00
Aaron Heise
5e97dc372e
Upgrade rns to 0.5.0 2023-03-08 16:42:29 -06:00
Aaron Heise
44dacb3eb3
Fix tests after switching to new Channel 2023-02-28 09:01:02 -06:00
Aaron Heise
5bca575a4b
Switch to RNS-provided Channel 2023-02-28 08:48:29 -06:00
Aaron Heise
b6a22cd2a7
Fix incorrect callback for loop signals 2023-02-25 05:20:48 -06:00
Aaron Heise
3a271c8cd5
Update some of the protocol details 2023-02-23 11:05:17 -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
bd12efd7cf
Version bump 2023-02-19 06:51:01 -06:00
Aaron Heise
07cf0e3d05
Retry with Packet.resend() instead of Packet.send() for #8 2023-02-19 06:45:58 -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
ca836a60b2
Update README for v0.0.10 2023-02-18 18:40:44 -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
b72f9bbfdf Version bump 2023-02-18 13:12:47 -06:00
Aaron Heise
64fec6e012 Remove some stuff blocking older versions 2023-02-18 08:10:26 -06:00
Aaron Heise
acc217df90 Upgrade rns and remove hacks for previous version 2023-02-18 07:44:24 -06:00
Aaron Heise
1f31307307 Test improvements 2023-02-18 07:39:00 -06:00
Aaron Heise
2b3089ddd5 Try running process tests in build after daemon threads fix. 2023-02-18 07:15:52 -06:00
Aaron Heise
d4339ba224 Fix issue with high CPU on listener after initiator disconnect
#6
2023-02-18 07:14:15 -06:00
Aaron Heise
8edb4020b1 Got the new protocol working. 2023-02-18 00:09:28 -06:00
Aaron Heise
0ee305795f Added a new message-based, packet-ready protocol layer with test suite for #4 2023-02-17 10:48:16 -06:00
Aaron Heise
aa37e4e3da Added a polling tty function 2023-02-16 18:02:44 -06:00
Aaron Heise
3b3cee73bb Add some additional tests for #3 2023-02-16 07:03:57 -06:00
Aaron Heise
9a37a52601 Remove dependency on psutil for #5
The changes made for #3 allowed the removal of the dependency on `psutil`, the import of which was throwing a startup error on Android.
2023-02-16 00:34:38 -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
21b80819c6 Version bump 2023-02-14 05:31:11 -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
a9f8ede4fe Allow retry timer callback to signal complete 2023-02-14 03:53:28 -06:00
Aaron Heise
da1e62483d Notification message should be debug level, not info level. 2023-02-13 20:07:40 -06:00
acehoss
dd32b568ed
Merge pull request #2 from acehoss/feature/remote-command
Remote command line options
2023-02-13 19:29:40 -06:00
Aaron Heise
bf61ce891c Remote command line options 2023-02-13 19:21:05 -06:00
acehoss
5ce4c342bc
Merge pull request #1 from acehoss/feature/pipe-tty-fix-rebased
Fix running initiator from a script/pipe
2023-02-13 15:46:14 -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
acehoss
e8885df46d
Update README.md 2023-02-13 07:36:51 -06:00
acehoss
33ef2b9788
Update README.md 2023-02-13 07:36:28 -06:00
Aaron Heise
39ba482720 Align version numbers 2023-02-12 23:50:14 -06:00
Aaron Heise
49603e6d76
Update README.md 2023-02-12 23:15:51 -06:00
Aaron Heise
d76b36cd63 Performance and stability improvements. 2023-02-12 22:34:36 -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
2e61b70996 Fix issue with running rnsh without proper tty (like from launch) 2023-02-12 01:51:58 -06:00
Aaron Heise
14b718d88e Add a couple more badges 2023-02-12 01:26:57 -06:00
Aaron Heise
0bfcb2e178
Getting release working 2023-02-12 01:13:31 -06:00
Aaron Heise
6f87fe3a70
Update python-publish.yml 2023-02-12 01:07:49 -06:00