12 ms·
I feel like mosh is fixing problems at the wrong layer. Instead of making application protocols connectioness, we should make Mobile IP work so that connections
by quotemstr 12y ago
I feel like mosh is fixing problems at the wrong layer. Instead of making application protocols connectioness, we should make Mobile IP work so that connections don't need to be broken in the first place, or, failing that, separate the protocol management from the session persistence system.
Combining regular ssh with screen has worked fine for me for years. Why would I want to switch to something with a much shorter track record for security?
(By the way: if you want a line-buffered ssh for use over bad connections, run ssh inside Emacs with M-x shell.)
- morsch 12y agoYes. I was wondering, faced with an unreliable on-train mobile connection, is there any existing way to improve the content delivery by using a proxy host? It seemed to me as if the mobile browser kept redoing a whole lot of work, ie. essentially re-requesting web sites from scratch. I'd like to make a single request to a web site, have my proxy host complete the request and deliver the bytes piecemeal to the browser as I go in and out of range. I think it's possible to do this transparently to the browser, but I think you might need a proxy host with a reliable connection as well as a proxy software running on the mobile device that can deal with the situation by telling the reliable host: I'm back, here's a list of running requests and the last byte I received, please continue.
- kyrra 12y agoI believe this is how the opera browser for ios works, or amazons browser for their fire tablet.
- Piskvorrr 12y agoAlas, both of them are proprietary and monolithic - IOW, you can only use the infrastructure iff you're also using the one specific client. Not very useful for extending even for other browsers, or even different protocols - which is a pity :(
- rakoo 12y agoHe was mocked, but he was anticipating it: Stallman sends an email to a daemon that fetches the pages for him (https://stallman.org/stallman-computing.html https://stallman.org/stallman-computing.html) > I generally do not connect to web sites from my own machine, aside from a few sites I have some special relationship with. I fetch web pages from other sites by sending mail to a program (see git://git.gnu.org/womb/hacks.git) that fetches them, much like wget, and then mails them back to me. Then I look at them using a web browser, unless it is easy to see the text in the HTML page directly.
- jdong 12y agoLynx over mosh?
- rweir 12y ago> I feel like mosh is fixing problems at the wrong layer. Instead of making application protocols connectioness, we should make Mobile IP work I look forward to using regular SSH to connect to my servers hosted in the floating city of New Chicago!
- quotemstr 12y agoI'm still optimistic that we'll support RFC 6275 before we're all dead.
- Piskvorrr 12y agoI for one hope that I won't need to support it after I'm dead.
- anonbanker 12y agoLet's assume for a moment that RFC6725 is implemented in pacemakers or artificial organs. How long after death would/should these devices remain active? could we use Mobile ipv6 to communicate with the recently-departed loved ones to send final well-wishes?
- Piskvorrr 12y agoLet us assume the moon is made of cheese. Now let's discuss the feasibility of a cheese-mining colony there. I, for one, look forward to communicating with a deceased person's gallbladder.
- anonbanker 12y agohttps://warosu.org/data/vr/img/0014/96/1395782839524.jpg https://warosu.org/data/vr/img/0014/96/1395782839524.jpg Perhaps replying with a non-sequitor is why you were downvoted?
- Piskvorrr 12y ago
- therealmarv 12y agoThank you for the tip with "screen"! I was aware of MOSH but did not know about screen oO. Is there any other line-buffered ssh which does not require Emacs?
- nolok 12y agoIf you do not know screen, then tmux is going to blow your mind
- matthiasv 12y agoIf you do know screen, then tmux is going to blow your mind.
- jnbiche 12y agoWell, this is probably as good a place as any to ask a tough TMUX question I've had for several years. I love TMUX, but whenever I'm working with protocols or anything binary, if I accidentally push any binary out of stdout, it corrupts the display, and the only way I've figured out how to fix this once it's happened is to totally restart TMUX. Does anyone know how to fix this? (don't usually ask SO questions on HN but this has been bugging me for years)
- marcosdumay 12y agoI have very litle experience with TMUX... But you can try runnng the "reset" command. It resets the TTY, if TMUX does not use any crazy magic it should work.
- fmoralesc 12y agoTried 'reset'?
- cel1ne 12y agolesspipe [0] might fix your problem to some part. [0] http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html
- teddyh 12y ago(If all you’re using M-x shell for is to run SSH, it makes more sense to run M-x eshell, since that doesn’t waste a process for a subshell.)
- rakoo 12y ago> we should make Mobile IP work Unfortunately we have very little chance of having an impact on how ip is implemented in mobile network, but we do have the possibility to change our softwares to accommodate deficiencies. Much like HTTP over SPDY is highly similar to HTTP over SCTP, but we have much more chance in making SPDY a reality rather than SCTP. > Combining regular ssh with screen has worked fine for me for years. I guess the real novelty (and it's too bad it isn't presented in greater depths) is SSP, the synchronization protocol. It can be an inspiration for other network programs.
- takeda 12y agoThere are already some solutions for this (and other problems). For example [NDN](http://en.wikipedia.org/wiki/Named_data_networking http://en.wikipedia.org/wiki/Named_data_networking) which was designed based on today's Internet usage pattern. The major problem with it is that existing protocols need to be reinvented once again to fit new way of communicating. Of course you could encapsulate TCP/IP over it, but then you're losing all nice properties of the protocol.
- Spooky23 12y agoIt's not going to happen, especially in mobile. ISPs like Verizon Mobile are NATing everything -- even IPv6 IPs, and running through proxy servers to enable rate-limiting and other things.
- e40 12y agoCombining regular ssh with screen has worked fine for me for years. This doesn't work for me because I use emacs over X11 over a tunnel. mosh doesn't work because I feel required to use ssh-agent. That is, I feel required to use a password on my ssh private key and not using ssh-agent is too high a burden.
- fahadkhan 12y agoHave you tried xpra?
- sandstrom 12y agoAlthough I like mosh, I agree that fixing this at a lower level would be better. What do you think about Multi-path? I think Apple is already using it for Siri. http://tools.ietf.org/html/rfc6824.html http://tools.ietf.org/html/rfc6824.html
- boomlinde 12y ago> we should make Mobile IP work so that connections don't need to be broken in the first place A lot of the problems with mobile networking are the results of connections literally being cut off. On trains I often end up without coverage (tunnels, in the middle of nowhere) exactly for that reason; the connection broke. I don't think that hacking a system based on connections to pretend that this never happens is a particularly good idea.
- gglitch 12y agoI run ssh inside emacs, and I also leave emacs running in server mode on my targets. I drop my signal, no big deal; I reconnect and reattach to emacs. No fuss, no muss, no lost work. It then becomes immense that I can do almost everything in emacs :)