Keith Winstein
2cb2f3aeb5
Tidy up unattached warning, only print when showing motd
2012-07-23 01:25:55 -04:00
Keith Winstein
549cf0a9bd
Warn of unattached Mosh sessions on login
2012-07-23 01:16:57 -04:00
Keith Winstein
92ecb99b71
Add OpenSSL licensing exception
2012-07-20 16:46:00 -04:00
Keith Winstein
428d9b48c5
Remove AES reference implementation
2012-07-20 16:10:53 -04:00
Keith Winstein
9827d123f8
Switch to OpenSSL AES
2012-07-20 16:10:12 -04:00
Keith Winstein
57c4904ed8
Switch to OpenSSL base64 routines
2012-07-20 16:00:21 -04:00
Alexander Chernyakhovsky
0099f080ad
Fix FTBFS on ARM on GCC 4.7.0
...
GCC v4.7.0, as found in Fedora 17 and newer, fails to build mosh on
ARM because of a narrowing warning, which is then promoted to an error
by -Werror. This error message is new, and did not occur under
previous versions of GCC.
This patch corrects this error by explicitly casting to the desired
datatype the return value of the offending code, the result of a macro
from glibc to implement htobe16().
2012-06-20 01:24:08 -04:00
Keith Winstein
88bed3e94a
Remove warning for IP_TOS failure
2012-06-12 14:39:36 -04:00
Keith Winstein
2df9e07926
Add "experimental" mode to local echo (always predict even when incorrect)
2012-06-11 13:21:44 -04:00
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
ade0aaa3e8
Make IP_TOS failure non-fatal per Keegan.
2012-05-25 21:00:51 -04:00
Dave Taht
72e6c85e3d
Set diffserv values to AF42 + ECT
...
AF42 has both the properties of CS42 and the IMM bit.
Whether this has the advantages or disadvantages of just one or
the other, I don't know. With most mac80211 stacks this will
force mosh packets in the VI queue on wireless.
As for pfifo_fast, have to look it up...
2012-05-25 20:40:49 -04:00
Keith Winstein
78a5eaf8e3
Clearer error message on invalid port ( closes #278 )
2012-05-24 17:16:03 -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
Keith Winstein
8026c924dc
Quit with cursor visible.
2012-05-23 11:44:49 -04:00
Larry Doolittle
eda48085ba
Simple spelling fixes
2012-05-23 05:11:05 -04:00
Keith Winstein
5e86700a0a
Fix OS X 10.5 problem where FD_ISSET() argument isn't const
2012-05-23 03:19:36 -04:00
Keith Winstein
7700984bbb
Revert "Use protobuf's Gzip streams"
...
This reverts commit b0e05776f1 .
2012-05-23 01:55:57 -04:00
Keith Winstein
eca34ea0fd
Make mandatory check for bad throwaway from sender
2012-05-22 23:12:48 -04:00
Keith Winstein
e5f8ed7579
Cap state queue used by receiver, even if sender is malicious
2012-05-22 23:01:39 -04:00
Keith Winstein
1cf12f9e9b
Prevent integer overflow of very large escape sequence params. Fixes #274 .
2012-05-16 12:16:50 -04:00
Anders Kaseorg
b0e05776f1
Use protobuf's Gzip streams
...
This reverts commit 63459ed1c7 .
2012-05-16 00:24:21 -04:00
Keith Winstein
a4dd2fed89
Use static local variable for consistency with compressor, dispatch table
2012-05-16 00:17:37 -04:00
Keegan McAllister
dd941df19d
Remove unused sigfd and skalibs
...
Closes #265 .
2012-05-16 00:00:27 -04:00
Keegan McAllister
f7be5c8cec
Use Select signal handling in examples
2012-05-16 00:00:27 -04:00
Keegan McAllister
4f23326a92
Use Select signal handling in mosh-{client,server}
2012-05-16 00:00:27 -04:00
Keegan McAllister
1d0b16881c
Switch to pselect(2) and add signal handling to Select class
2012-05-16 00:00:27 -04:00
Keegan McAllister
6edc04ed1c
mosh-server: Ignore signals rather than blocking them
...
For pselect() we want to mess with the signal mask, and this is closer to our
intent anyway.
2012-05-16 00:00:27 -04:00
Keegan McAllister
7fc1aa30a5
Move dummy_fd_set into Select
...
Now that we have select.cc.
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
bb651581a7
Remove unused poll(2) emulation
...
Closes #235 .
2012-05-16 00:00:27 -04:00
Keegan McAllister
043f9af260
Use Select in examples
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
0019b9d92a
Add a convenience wrapper for select(2)
2012-05-16 00:00:27 -04:00
Keegan McAllister
5bf681629d
mosh-server: Treat errors on pty read like EOF
...
Fixes #264 .
2012-05-16 00:00:27 -04:00
Keith Winstein
9791768705
Cap escape sequence parameters to prevent long loops.
...
Fixes #271 github issue.
2012-05-15 23:46:09 -04:00
Keegan McAllister
dee09fb8fc
Update notification less often when disconnected for at least 60 s
...
Saves battery power. Closes #243 .
2012-05-09 14:19:46 -04:00
Keegan McAllister
24d2b6e185
Calculate wait_time separately for {Notification,Prediction}Engine
...
Simplifies access to private data, including the next commit.
git renders this diff poorly. It's a bit better with --patience.
2012-05-09 14:19:46 -04:00
Keegan McAllister
02c04fbdaa
Display sendto() exception until a successful send
2012-05-09 14:19:46 -04:00
Keegan McAllister
c258e0bc4e
Make timing parameters public within namespace Network
...
So that UI timeouts can adjust accordingly.
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
22375a2d54
Tabulation clear preserves wrap state (per davidben)
2012-05-06 20:01:39 -04:00
Keith Winstein
0901cd8431
Don't flag blank->blank predictions.
2012-05-05 11:21:01 -04:00
Keegan McAllister
5cff456400
Define PROG, for newer versions of skalibs
...
Needed to build from our source tarball on some Gentoo systems.
Closes #239 .
Closes #254 .
2012-05-05 02:11:02 -04:00
Keith Winstein
43182729ec
More graceful output from failed verification
2012-05-05 01:53:28 -04:00
Keith Winstein
3573cec92a
Enable round-trip verifier in verbose mode
2012-05-05 01:46:22 -04:00
Keith Winstein
48fbe3d0e1
Correctly handle wrapped lines where first portion is blank
2012-05-05 01:45:19 -04:00