mirror of
https://github.com/D-Modem/app.git
synced 2026-11-28 17:38:05 -08:00
The SSH client is the same as iOS's and the GUI's now: native-ssh, on libssh, loaded as libdmodem_ssh_jni.so (NativeSsh.kt). SshLink polls it on its own thread; its channels carry the shell, commands, the port forwards (-L, -R, -D) and the forwarded agent's requests. Keys stay the app's: SSH's wire form (SshWire.kt), OpenSSH's and PEM keys read through the engine, PuTTY's .ppk read here, all on BouncyCastle. The engine: commands can forward the agent, a write tells what's still kept for the server (forwards hold back a fast sender), libssh built WITH_SERVER (its callbacks for the agent's channels need it), and its remote listen on port 0 patched to take the port from its own reply. The unit tests build the JNI library for the host (buildHostSsh) and run against it: OpenSSH's sshd, puttygen and Apache MINA's server. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
D-Modem app documentation
- The modem's line: SIP, the phone's own mobile calls, no line, two phones as each other's line
- Fax
- Voice calls and the answering machine
- Serial adapters and real phone lines: pico-serial, USB modems, a modem on a USB serial adapter, a Bluetooth modem
- The app, screen by screen
- Terminal types: the DEC line, PETSCII, ATASCII, videotex, ANSI-BBS and the graphics terminals, and how to test them
- Settings reference: every setting, its key and default, made from the code (
tools/settings_ref.py) - Building the Android app
- The iOS app: building and running on iPhone and iPad
- Source layout
- The AT command reference, shown in the app