Index | Thread | Search

From:
Klemens Nanni <kn@openbsd.org>
Subject:
Re: syspatch -c : call ftp(1) with timeout
To:
Theo de Raadt <deraadt@openbsd.org>
Cc:
ajacoutot@bsdfrog.org, matthieu@openbsd.org, tech@openbsd.org
Date:
Thu, 09 Apr 2026 22:45:21 +0000

Download raw body.

Thread
  • Job Snijders:

    syspatch -c : call ftp(1) with timeout

  • 10.04.2026 01:11, Theo de Raadt пишет:
    > What else is affected?
    > 
    > fw_update?
    > 
    > Surely there are more.
    
    spamd-setup(8) runs 'ftp -V -o - url' for any http, https ftp `file'
    in spamd.conf(5), so if such remotes were to take forever, ftp would
    return after a minute rather than stalling.
    
    Same for sysugprade.
    
    The installer uses -w15 in some places already;  autoinstall(8) response
    and SHA256.sig files, for which the return code is handled explicitly,
    currently run without timeout, so a 1m default would make it fail quicker.
    
    
  • Job Snijders:

    syspatch -c : call ftp(1) with timeout