Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do you know mobile shell (mosh)? [1]

Seems like most of the features you need are what mosh offers. I've been using it for a decade, probably, and it is pretty awesome for latent mobile connections (read as: throttled 2G @16kBit/s with interruptions).

https://github.com/mobile-shell/mosh



https://www.youtube.com/watch?v=XsIxNYl0oyU

> If you want to have 10 concurrent connections, you have to open 10 ports.

That is a problem in most environments.


I don't understand your statement, to be honest.

Either you waste lots of traffic bandwidth because you have to have a session identifier or nonce in every packet, or you have to map sessions to ports in order to guarantee persistance when the client drops its connection.

Other ways of doing session handling will lead to an attack surface that can probably be used for DoS attacks.

Maybe I am missing something: How would you solve this, given the limitations of UDP and TCP?


I am just saying that opening an unpredictable amount of ports is a problem for every firewall admin.


I think mosh first appeared in 2012? How can you have been using it for decades?


Sorry, mobile typo. Been using it since around 2013.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: