Giter Site home page Giter Site logo

Comments (5)

nelhage avatar nelhage commented on May 14, 2024

Relevant: http://www.cs.berkeley.edu/~daw/papers/ssh-use01.pdf

from mosh.

keithw avatar keithw commented on May 14, 2024

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.

kmcallister avatar kmcallister commented on May 14, 2024

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.

dcarosone avatar dcarosone commented on May 14, 2024

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.

achernya avatar achernya commented on May 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.