Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: mosh aborts with pledge failure after network interruption or SIGSTOP
To:
James Cook <falsifian@falsifian.org>
Cc:
ports@openbsd.org, Jeremie Courreges-Anglas <jca@wxcvbn.org>
Date:
Thu, 10 Sep 2026 11:36:13 -0600

Download raw body.

Thread
  • Theo de Raadt:

    mosh aborts with pledge failure after network interruption or SIGSTOP

  • > If I start a mosh session, then bring my network interface down,
    > after a few seconds mosh-client dies with this error code:
    > 
    > 	mosh-client[71399]: pledge "inet", syscall 105
    > 	Abort trap
    
    Very new kernels contain:
    
    CVSROOT:        /cvs
    Module name:    src
    Changes by:     deraadt@cvs.openbsd.org 2026/09/10 01:56:38
    
    Modified files:
            sys/kern       : kern_pledge.c
    
    Log message:
    Allow IPPROTO_IP / IP_TOS on AF_INET6 sockets to go through to the
    netinet6 code, which will quickly return EINVAL.  Too much software
    tries this.  Issue noticed in chrome by kirill
    discussions with kirill and robert.
    
    
  • Theo de Raadt:

    mosh aborts with pledge failure after network interruption or SIGSTOP