snet

snet is a small tool that connects to a serialport and then forwards everything it collects from there to tcp sockets

Its unsecure and its only one-directional for the moment, there are currently no plans to fix that

Latest version License

Install and run

First install it using cargo install, or go clone the repo and use cargo build

Cargo install:

cargo install snet
~/.cargo/bin/snet -s /dev/ttyUSB0 -p 1234

Git:

git clone https://github.com/TotalKrill/snet.git
cargo run --release -- -s /dev/ttyUSB0 -p 1234

Connect

There should now be a tcp port that you can connect to:

telnet 127.0.0.1 1234

Why

We had a pool of raspberry pi that was running gdb servers and had a lot of printf-debugging going on, this meant we had ssh access and tmux sessions etc on the raspberries for everyone who wanted to try something. It got tedious.