Jakub Wilk
42d686882f
Fix typos
2016-10-09 16:04:42 +02:00
John Hood
dcd7866d84
Try the Xcode 8 image.
2016-10-01 00:48:43 -04:00
John Hood
b0facb55c4
Test carefully for clock_gettime() and CLOCK_MONOTONIC
2016-09-29 01:10:23 -04:00
John Hood
f429fd38b0
Use old AppleCommonCrypto name for AES
2016-09-25 22:24:03 -04:00
John Hood
477729b315
tests: improve robustness
...
Replace some blind timeouts with actual synchronization.
Improve performance on some slow tests.
Tweak some of the remaining timeouts.
This still isn't good enough to get 'make -j9 check'
working reliably on Cygwin for me; I think some Cygwin/
Windows scheduling issues remain.
2016-09-20 06:25:43 -04:00
John Hood
e494025b24
Work around "make distcheck" fail on OS X with protobuf 3.02.
2016-09-19 13:56:47 -04:00
John Hood
e734d5e41a
tests: Work around tmux display corruption bug on OpenBSD.
...
See https://github.com/tmux/tmux/issues/539
2016-09-19 13:23:16 -04:00
John Hood
46b30e6851
AppVeyor CI configuration using Cygwin.
...
This also serves nicely as documentation of the Cygwin build
requirements.
2016-09-19 13:23:16 -04:00
John Hood
1077db41b6
Support OpenBSD 6.0 pledge() syscall for sandboxing.
2016-09-19 13:23:16 -04:00
John Hood
5619dd47bb
tests: fix incorrect usage of "trap ... SIGHUP"
...
Discovered with OpenBSD 6.0 /bin/sh
2016-09-19 13:23:16 -04:00
John Hood
39ea3d9512
Fix excess newlines on mosh startup/shutdown.
...
Fixes #788 .
This also works around issues with remote pty typeahead echo corrupting output
from mosh-server.
2016-09-19 13:23:16 -04:00
John Hood
70d48fbcc0
Add --no-ssh-pty option.
...
This eliminates issues with typeahead being echoed by the remote pty
and corrupting remote output from mosh-server to the mosh script, but
cannot be made default because older mosh-servers require a pty.
2016-09-19 13:23:15 -04:00
John Hood
8945efeb82
Allow server to bind an OS-selected UDP port with -p 0.
...
It looks like Mosh used to be able to do this but the capability was
lost when port ranges were added in 141ec23 .
2016-09-19 13:23:15 -04:00
John Hood
c599987ff8
Fix object sizing for PMTUD setsockopt() and recvmsg().
...
Also cleans up other setsockopt() calls, and buffer sizing/handling
for recvmsg().
These are minor errors and no actual misbehavior was observed.
Discovered while working Windows Subsystem for Linux compatibility
issues.
2016-09-19 13:23:15 -04:00
John Hood
4ad131a55d
Fix lost MOSH CONNECT on FreeBSD 11
...
This moves all routine stdout/stderr output into the parent
server, and adds tcdrain(), even though this may be a
FreeBSD pty bug.
2016-09-18 01:53:36 -04:00
john hood
b7d081056b
Fix CPPFLAGS handling possibly causing curses detection failure
...
This is an old, old bug.
2016-09-18 01:52:50 -04:00
Andrew Chin
c8aa151685
Travis-ci bot doesn't need to join #mosh to send notifications
...
If #mosh ever sets the +n channel mode, we'll need to remove the
`skip_join: true` part
2016-08-16 07:50:41 -04:00
Keith Winstein
ddb5fd9d7a
README.md: More http -> https for links
2016-08-12 00:13:22 -07:00
Keith Winstein
a09381d161
http -> https links for mosh.org
2016-08-12 00:11:47 -07:00
Keith Winstein
ca2750dd03
Update website location (mosh.mit.edu -> mosh.org)
2016-08-12 00:10:53 -07:00
Keith Winstein
11251ffa9e
Add build-source-package.sh
2016-08-10 12:00:42 -07:00
Keith Winstein
da7c87a822
Add test for nonce incrementing
2016-08-10 04:49:52 -07:00
Keith Winstein
68f91a0b43
mosh 1.2.6
2016-08-10 01:05:47 -07:00
John Hood
5f92a8a835
Bump version to 1.2.6.
...
Signed-off-by: John Hood <cgull@glup.org >
2016-07-30 21:36:55 -07:00
John Hood
8211b88420
Don't use user's .tmux.conf
...
It may contain configuration that breaks our testing.
2016-07-21 01:19:23 -04:00
John Hood
ece4280401
Reduce IPv4 MTU to 1280.
...
Seems to fix #773 .
2016-07-12 01:06:01 -04:00
John Hood
af8ddd090e
Add options to prefer v4 or v6 on connect; make prefer-inet the default.
...
Resolves #764 , mostly.
2016-07-10 23:30:24 -04:00
John Hood
1b2ddc2e81
Make OS X mDNS/Bonjour .local IPv6 addresses work.
...
OS X advertises IPv6 link-local addresses for .local hostnames.
getaddrinfo() correctly reports interface identifiers for these, but we
were discarding them by using the socket peer host address instead.
2016-06-09 11:51:35 -04:00
Robin H. Johnson
274b5a4d14
bind-server: accept any value to option.
...
Rather than trying to validate, accept any option to the bind-server
option, and allow mosh-server to validate it, as noted by
https://github.com/mobile-shell/mosh/pull/670#issuecomment-135147605
Fixes: 669
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org >
2016-06-09 00:31:49 -04:00
John Hood
05fe24d50d
1.2.5.95rc1 pre-release
2016-05-25 02:13:12 -04:00
John Hood
adc3593808
bash-completion file is not a standalone script
...
Fixes a Lintian warning.
2016-05-25 02:13:12 -04:00
John Hood
e167b2f9c0
Debian packaging fixes and updates.
2016-05-25 02:13:11 -04:00
John Hood
e89c4fcb65
update .gitignores
2016-05-24 18:43:51 -04:00
John Hood
30eb5bb515
mosh.pl: restore compatibility with older Socket module.
...
Also require Perl 5.14, which is the new compatibility
floor.
Fixes #758 .
2016-05-24 15:13:12 -04:00
john hood
5bc1c6c032
include-once -impl files
2016-05-14 02:58:07 -04:00
John Hood
882539884e
Remove unnecessary usage of #include <iostream>. Rename templated impls from .cc to -impl.h.
2016-05-14 00:10:59 -04:00
John Hood
dfdfa5d9b0
FreeBSD TOS issues
2016-05-14 00:05:41 -04:00
John Hood
dcd04850f0
Fix memory leak in window resize
2016-05-13 01:22:47 -04:00
john hood
70c62c5a94
#include <memory> for std::shared
2016-05-11 00:51:00 -04:00
John Hood
c1ca7e46a5
Coverity fixes: do { ...; continue; ... } while (false)
...
This is more stylistic than substantial, but it's bad enough
style to be worth fixing.
2016-05-11 00:03:37 -04:00
John Hood
9a6e0d576d
Coverity fixes: deref of NULL pointers
...
We were potentially passing (char *)NULL to string constructors.
2016-05-10 23:58:56 -04:00
John Hood
da30bb74a2
Coverity fixes: deref of stale pointer
...
I think this one was actually impossible to trigger.
2016-05-10 23:57:29 -04:00
John Hood
c027112a88
Coverity fixes: uncaught exceptions
2016-05-10 23:55:56 -04:00
John Hood
25a65fc071
Coverity fixes: tainted/unbounded array index
2016-05-10 23:54:41 -04:00
John Hood
ec6980da96
GCC 6 fixes.
...
Should resolve https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811579
Resolves #719 .
2016-05-10 00:14:22 -04:00
Anders Kaseorg
4c7200c016
--experimental-remote-ip=local: Substitute the IP more carefully
...
For example, do not interpret regex metacharacters within the
hostname, and avoid accidentally matching the username part of
username@hostname when they happen to match.
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2016-05-09 03:01:32 -04:00
Jaeho Shin
d636845c8d
Display original command line argv via no-op flag.
...
Improves 679b819216 to make it simpler to
ignore mosh-client from OS X Terminal.app's "Ask before closing" process
list. (See: http://superuser.com/a/254647 )
Moreover, the command displayed from ps is a completely functional one,
which was not the case in the previous approach, that mangles `argv[0]`.
Fixes #742 .
2016-05-08 23:05:36 -04:00
John Hood
09bdc7caae
Enforce SHELL=/bin/sh for more reliable SSH proxy command.
2016-05-08 22:59:30 -04:00
John Hood
eb98976410
Add --experimental-remote-ip option.
2016-05-08 22:47:54 -04:00
John Hood
880c639361
Include POSIX header strings.h for strncasecmp()
...
Motivated by Cygwin.
2016-05-08 20:46:58 -04:00