Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 11, 2012
  1. @keithw

    Bump version number

    keithw authored
  2. @keithw

    Support 16-color set (per Anders Kaseorg).

    keithw authored
    Closes #106 github issue.
    Closes #133 github issue.
    Closes #131 github issue.
  3. @termie @keithw

    Allow lowercase "utf-8" in charset for OS X iTerm.

    termie authored keithw committed
    Closes #104 github pull request.
  4. @andersk @keithw

    Find ncurses from pkg-config if possible, and prefer separate libtinfo

    andersk authored keithw committed
    Recent ncurses can be configured --with-termlib, which splits out the
    terminfo-level functions from libncurses into a separate libtinfo.
    This allows us to avoid an unnecessary dependency on libncurses.  (We
    already avoided this on distributions that link with -Wl,--as-needed.)
    
    Signed-off-by: Anders Kaseorg <andersk@mit.edu>
    
    Closes #128 github pull request.
  5. @peterjeremy @keithw

    strtol(3) can optionally set errno to EINVAL if no conversion could be

    peterjeremy authored keithw committed
    performed and FreeBSD (at least) implements thin behaviour.  Add an
    explicit test to detect this situation in Dispatcher::parse_params().
    (This behaviour difference is not relevant to other uses of strtol()).
    
    This corrects the mishandling of (eg) "CSI m" on FreeBSD.
    
    Closes #129 github pull request.
    [keithw -- also fixes same issue with mosh-server on OS X]
  6. @kmcallister @keithw

    configure.ac: Fix protoc check

    kmcallister authored keithw committed
    AC_MSG_ERROR inside the variable assignment doesn't work properly.  We get
    output like
    
        checking for protoc... ./configure: line 4524: is: command not found
        no
    
    and then the build continues (and fails) with PROTOC="".
    
    Closes #132 github pull request.
  7. @keithw

    Fix bug involving wraparound copy-and-paste to a blank line.

    keithw authored
    Identified by Anders Kaseorg.
    
    Test case:
    
    ( reset; seq 100; printf 'Hello, world!'; sleep 1;
    printf '\t\t\t\t\t\t\t\t\t\t   \r\e[K'; sleep 1; printf '\n' )
    > /dev/pts/16 2>&1
    
    (replace /dev/pts/16 with mosh or termemu terminal)
  8. @keithw
Commits on Apr 9, 2012
  1. @keithw
  2. @piannucci @keithw

    Packaging script for Mac OS X .pkg.

    piannucci authored keithw committed
Commits on Apr 8, 2012
  1. @keithw
Commits on Apr 7, 2012
  1. @kmcallister @keithw

    Test the Mosh crypto layer

    kmcallister authored keithw committed
  2. @kmcallister @keithw

    Test the OCB-AES reference implementation

    kmcallister authored keithw committed
    This tests cryptographic primitives implemented by others.  It uses the same
    interfaces and indeed the same compiled object code as the Mosh client and
    server.  It does not particularly test any code written for the Mosh project.
  3. @kmcallister @keithw

    Create src/tests

    kmcallister authored keithw committed
  4. @kmcallister @keithw

    Make aligned allocation without posix_memalign more robust

    kmcallister authored keithw committed
    Instead of guessing the right function to use, we malloc() 15 bytes more than
    we need, and compute the aligned offset within.  The AlignedBuffer class takes
    care of passing the original pointer to free().
  5. @kmcallister @keithw

    Add a class for aligned buffers

    kmcallister authored keithw committed
    This simplifies the core crypto routines, especially the error handling.  In
    fact there was already one error path where we were failing to call free().
  6. @piannucci @keithw

    Added missing flags in src/statesync/Makefile.am

    piannucci authored keithw committed
    (closes #93)
Commits on Apr 5, 2012
  1. @kaduk @keithw

    FreeBSD needs libutil.h for forkpty()

    kaduk authored keithw committed
    The header is not available everywhere, so only include it if it
    is present.  (The extra include should be harmless on Linux by
    inspection.)
  2. @kaduk @keithw

    Allow <sys/endian.h> as well as <endian.h>

    kaduk authored keithw committed
    On FreeBSD, the header which defines htobe64() is the sys/ variant,
    unlike Linux.
Commits on Apr 3, 2012
  1. @keithw

    Update THANKS

    keithw authored
  2. @keithw
  3. @keithw
  4. @keithw

    Bump version to 1.1.3.

    keithw authored
  5. @keithw
Commits on Apr 2, 2012
  1. @keithw

    Bump version to 1.1.2c

    keithw authored
  2. @keithw
Commits on Mar 31, 2012
  1. @keithw

    Bump version to 1.1.2b

    keithw authored
  2. @kmcallister

    Kill the session after encrypting 2^47 blocks

    kmcallister authored
    "Both the privacy and the authenticity properties of OCB degrade as
     per s^2 / 2^128, where s is the total number of blocks that the
     adversary acquires.... In order to ensure that s^2 / 2^128 remains
     small, a given key should be used to encrypt at most 2^48 blocks (2^55
     bits or 4 petabytes)"
    
    -- http://tools.ietf.org/html/draft-krovetz-ocb-03
    
    We deem it unlikely that a legitimate user will send 4 PB through a Mosh
    session.  If it happens, we simply kill the session.  The server and
    client use the same key, so we actually need to die after 2^47 blocks.
    
    Closes #77.
  3. @kmcallister
  4. @keithw

    Bump version to 1.1.2a

    keithw authored
  5. @kmcallister @keithw

    Fully initialize the argument to TIOCSWINSZ

    kmcallister authored keithw committed
    struct winsize contains fields other than ws_col and ws_row.  To avoid passing
    uninitialized data to TIOCSWINSZ, initialize it first using TIOCGWINSZ.
    
    Found by Valgrind.
    
    (closes #85 github issue)
  6. @keithw
  7. @keithw

    Add warning and check for IUTF8

    keithw authored
  8. @keithw
  9. @keithw

    Insert missing "if-then" instruction in OCB ARM assem so works with T…

    keithw authored
    …humb-2.
    
    (closes #86 github issue)
    
    (approved by Ted Krovetz, author of OCB reference implementation)
Something went wrong with that request. Please try again.