Comments (5)
Relevant: http://www.cs.berkeley.edu/~daw/papers/ssh-use01.pdf
from mosh.
Although it would be easy to add timing fuzz on the order of 10 ms, Nelson's link suggests that we would have to add something on the other of >100 ms of jitter to foil a statistical eavedropper that wanted to figure out if we were hitting "same-hand" or "opposite-hand" keypairs while typing.
I don't think the benefits are worth that level of UI latency.
from mosh.
Alternatively, we could send a stream of randomly-timed dummy packets whenever the user is typing. This would preserve interactivity but increase network traffic substantially.
There's probably some meaty statistics behind the question of how a certain amount of dummy traffic affects the required sample size for recovering timing.
We could do this on good connections only (automatically or by the user's choice). Then we can worry about active attackers who degrade a link in order to gather statistical timing information...
from mosh.
Some of this could be addressed as part of / after #816 and having the transmitter run asynchronously with typing. Disclaimer: I don't know how decoupled they are now, but I get the impression that the frame-rate-limited updates are mostly in the server-client direction.
I'm thinking of mechanisms similar to TCP's delayed acks to aggregate sending keystroke packets if another keystroke comes in moments later, and quantising to fixed intervals (as a variant of jitter). With the chaff already in the protocol, it shouldn't be possible to tell whether a given packet is sending 1 or more keystrokes at a time.
from mosh.
As part of a mosh issues triage, we've concluded that the mosh project has no current plans to work on this issue. To accurately reflect that work on this issue is not planned, we're marking this issue as "closed". We still welcome contributions from community members who want to work on this issue. Please feel free to file pull requests re-opening this issue in the future.
from mosh.
Related Issues (20)
- [Bug] Visual selection of a wrapped line in Vim shows incorrect characters
- VT100 DECKPAM - Alternate Keypad Mode HOT 1
- "Did not find mosh server startup message" when connecting to a busybox ash shell (embedded device)
- Symbol not found: ___darwin_check_fd_set_overflow on Mojave
- Combining character not appearing over mosh (but it does over ssh) HOT 3
- mosh crashes with -6 IPv6
- Mosh
- Wrote a launcher for mosh-client and mosh-server for Windows
- Bad configuration option: usekeychain HOT 2
- Mac OS: Library not loaded libprotobuf.23.4.0.dylib HOT 3
- Feature request: undercurl support
- Home/End keys not working on a urxvt terminal under mosh HOT 5
- Text doesn't get to clipboard with `tmux load-buffer -w`
- Synchronized Output (DEC private mode 2026) support
- Mobile
- Introduce configuration file HOT 2
- MyID Developermlid Dr. Collapses Premium Fiture [ 9 Month ]🔴
- Dr. Collapses DEVELOPER ROLE 🔰 PREMIUM FITURE ☢️
- Mosh unexpectedly shutting down (client side) on OSX HOT 4
- Dr. Collapses DEVELOPER ROLE 🔰 PREMIUM FITURE ☢️
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mosh.