Keith Winstein
37f78d0e4c
Disable out-of-order warning (fires too much on some 802.11n networks)
...
This reverts commit 682bbdfebd .
2012-05-30 02:04:32 -04:00
Keith Winstein
682bbdfebd
Warn on out-of-order or duplicated packets (or missing nonce increment!)
2012-05-23 18:08:31 -04:00
Keith Winstein
b9ed0cdaa6
Cleanups to "firewalled" quit scenario.
2012-05-23 12:05:59 -04:00
Keith Winstein
c0a8cd61ee
More graceful quit sequence when UDP is firewalled.
2012-05-23 11:48:10 -04:00
Larry Doolittle
eda48085ba
Simple spelling fixes
2012-05-23 05:11:05 -04:00
Keegan McAllister
4f23326a92
Use Select signal handling in mosh-{client,server}
2012-05-16 00:00:27 -04:00
Keegan McAllister
768d4ce797
Make Select a singleton
...
It's going to manipulate process-global signal state, so multiple
instances do not make sense.
2012-05-16 00:00:27 -04:00
Keegan McAllister
2112a3865c
Use Select in mosh-{client,server}
2012-05-16 00:00:27 -04:00
Keegan McAllister
02c04fbdaa
Display sendto() exception until a successful send
2012-05-09 14:19:46 -04:00
Keegan McAllister
67a85eaf99
Deliver sendto() exceptions without disturbing control flow
...
This prevents the client from waking up every 200 ms while the network is down.
Addresses #243 .
2012-05-09 14:19:46 -04:00
Keegan McAllister
9dddcd8566
Move NetworkException formatting into NotificationEngine
2012-05-09 14:19:46 -04:00
Keith Winstein
2ea3f3a347
Warn when server has not heard from us (even if we have heard from server)
2012-04-30 22:43:45 -04:00
Keith Winstein
b9a8b8c009
More helpful messages when locale not found or wrong ( closes #209 )
2012-04-19 02:35:14 -04:00
Keith Winstein
a8c3df9c80
More robust shutdown sequence with warning on unclean shutdown.
2012-04-16 06:22:35 -04:00
Keith Winstein
119bbcaced
Add nicer message and 15s timeout if server can't be reached on UDP.
...
(Closes #152 )
2012-04-16 02:31:27 -04:00
Keith Winstein
8f60f7ab05
Convey locale-related environment variables as backup, and nicer error.
...
Fixes #74 .
2012-04-14 16:56:48 -04:00
Keith Winstein
d0a818d2e2
Track icon name and window title separately. Implement MOSH_TITLE_NOPREFIX
2012-04-14 01:55:28 -04:00
Keegan McAllister
0eec0b60f0
Linux: Use our own signalfd wrapper, rather than libstddjb
...
selfpipe already does a fine job of interfacing to signalfd. But Debian and
Ubuntu want us to depend on the skalibs-dev package rather than build libstddjb
ourselves. That would be fine except that skalibs-dev has static libraries
only, and they aren't built with -fPIC. This interferes with building
mosh-{client,server} as position-independent executables, which is a desirable
security measure.
So we have our own wrapper, which invokes either signalfd or selfpipe. And we
build it ourselves with our own flags, because it's part of the Mosh project
proper.
(closes #108 )
2012-04-13 12:33:21 -04:00
Keegan McAllister
ba6387f36c
Allow CryptoExceptions to be fatal
2012-03-31 16:19:33 -04:00
Keith Winstein
9a7f3ad33d
Print warnings when IUTF8 missing
2012-03-31 15:20:30 -04:00
Quentin Smith
44ab7360bc
Fix poll.h location
2012-03-28 14:32:32 +02:00
Keegan McAllister
7ed5174aa7
Move some locale handling into one place
2012-03-26 20:08:55 -04:00
Keith Winstein
0b0ff72f40
Don't display blue "Connecting..." bar immediately
2012-03-21 19:21:02 -04:00
Keith Winstein
170bc8366a
Posterize to 8 colors when outer terminal does not support 256 colors
...
Fixes #58 github issue.
2012-03-16 17:43:01 -04:00
Keith Winstein
487ab77e42
Eliminate one terminal copy per frame (20% speedup on benchmark)
2012-03-14 01:59:07 -04:00
Keith Winstein
b8457dd308
Use TERM env var / terminfo to decide whether to send ECH. Fixes tmux bug.
...
Closes #28 github issue.
2012-03-10 05:41:03 -05:00
Keith Winstein
df5d163f9c
Fix asserts with side-effects (per Keegan McAllister)
2012-03-08 10:50:19 -05:00
Keegan McAllister
4a29ab9d70
Fix comments, formatting, error message around use of selfpipe
2012-03-07 18:38:18 -08:00
Quentin Smith
9a3ab83783
Use libstddjb's selfpipe instead of signalfd
...
Use selfpipe in our client, server, and examples.
2012-03-07 03:05:37 -05:00
Quentin Smith
19d284bfa4
Handle util.h if it exists instead of pty.h
2012-03-07 03:05:36 -05:00
Keegan McAllister
e35733a2c1
Rename 'attached' to 'has_remote_addr'
...
Even with future support for detaching and reattaching, this variable will keep
its original meaning.
2012-03-06 11:54:56 -08:00
Keith Winstein
3a92cd1393
Explicit echo ack protobuf with reliable semantics
2012-02-25 14:34:39 -05:00
Keith Winstein
354dff39c8
Catch and prettyprint exceptions even in setup phase
2012-02-09 01:45:03 -05:00
Keith Winstein
3781a290c8
Add copyright/license notices
2012-02-06 20:52:48 -05:00
Keith Winstein
38c9e99882
Separate modules by subdirectory
2012-02-06 18:26:45 -05:00