I recently posted about µgetty, a getty for embedded Linux devices which, in add...
Ryan Castellucci (they/them) :nonbinary_flag: 🔜 40C3 @ryanc@infosec.exchange
I recently posted about µgetty, a getty for embedded Linux devices which, in addition to offering a standard login prompt, can also detect and handle PPP and raw SSH.
Two problems, though:
1) To use PPP, pppd needs to be installed and run (as root) on the client side.
2) Since SSH reacts to even a single bit error like Madagascar reacts to someone in Brazil coughing, raw SSH eventually dies violently.
Enter pppcat. A userland PPP and TCP/IP implementation in Rust that runs as an SSH ProxyCommand. Errors on janky serial links are handled by the calming algorithms of TCP - designed for exactly this case - rather than panic. No root required. It's basically the opposite of slirp, or what you'd get if socat and pppd had a baby.
Coming soon to a repo near you.