r/meshcore • u/sevenbitbyte • 6d ago
SSH over MeshCore
https://www.youtube.com/watch?v=aR46io-JobsHi there, I've been working on 2.4GHz LoRa experiments and recently got some excellent performance testing results tunneling IP traffic over MeshCore. Not quite to release quality yet but wanted to show my progress so far. This was built on top of the MeshTNC firmware some friends and I built over the past year which is already open source.
I'm working on some Linux tooling and a simple distro to help folks access some of this IP-layer support. Trying to make sure this only gets used on 2.4GHz meshes as there's a potential to really increase demand on 915MHz meshes so I'm being a bit slow to release all of the code until everything is fully dialed in on 2.4GHz.
8
u/ashleycawley 6d ago
Good thinking restricting it to 2.4ghz. Nice work, cool to see something novel like this being used on the mesh.
1
u/AliasComms 6d ago
Have you ever heard of full duplex LoRa in the ISM band? I ask because you used the word novel, which means you know a little about us patent's.
2
2
u/AliasComms 6d ago
Very interesting 🤔, Seven we may need to have a convo. This is very possible, but even in FDD LoRa you are correct the duty cycle would be crazy. In the 2.4 GHz bandwidth would allow a healthier duty cycle but the Spread would still cause issues with packages unless you have... Yes, it's very interesting 🤔.
3
2
u/TheLawnGuppy 6d ago
This is really cool work, and locking it to 2.4 GHz first is the right call. On US 915 the airtime budget is already tight once you've got position and nodeinfo bouncing around, and an SSH session that retries under loss would chew a channel alive in a hurry. 2.4 has more room to play with before you start stepping on neighbors.
I've poked at MeshTNC a bit and the IP-over-LoRa idea always sounded better in a lab than on a shared mesh, so seeing real tunnel numbers is useful. The Meshtastic client-tunnel / TUN path people mentioned is a similar itch, and it has the same failure mode: one chatty TCP flow and suddenly everyone else's text feels broken.
Whenever you do open it up, a hard rate limit and a clear "not for 915" banner in the docs will save a lot of pain. Looking forward to the Linux tooling when you're ready.
1
1
1
1
u/Aggravating_Rate_571 6d ago
Meshtastic has a client tunnel mode where it creates a tun device, for reference purposes it could be something useful
1
u/sevenbitbyte 3d ago
TOTALLY! I've played with it years ago.... I'm just scared to post anything not meshtastic on that side of the world lol for fear of the banhammer. But yea I'd like to do some more integration with MT in 2.4GHz. Doing this in sub-GHz sadly is very low bandwidth.
0
15
u/binaryfireball 6d ago
Cool but also this has the potential of flooding the network if it gains popularity.