Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream 9.8 #737

Merged
merged 189 commits into from
Sep 18, 2024
Merged

Merge upstream 9.8 #737

merged 189 commits into from
Sep 18, 2024

Commits on Mar 24, 2024

  1. Improve detection of -fzero-call-used-regs=used.

    Should better detect problems with gcc 13 on m68k.  bz#3673 from Colin
    Watson via bz#3673 and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110934
    
    Signed-off-by: Darren Tucker <[email protected]>
    daztucker committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    f9193f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75d1d49 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. Move xpg4 'id' handling into test-exec.sh.

    Handle replacement of 'id' the same way as we do other Portable specific
    replacements in test-exec.sh.  This brings percent.sh back into sync
    with upstream.
    daztucker committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    2d7964a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d5bdc8 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. upstream: Clarify how literal IPv6 addresses can be used in -J mode

    OK djm@
    
    OpenBSD-Commit-ID: 524ddae97746b3563ad4a887dfd0a6e6ba114c50
    job authored and daztucker committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    151146f View commit details
    Browse the repository at this point in the history
  2. upstream: Import regenerated moduli.

    OpenBSD-Commit-ID: ad3d1486d105b008c93e952d158e5af4d9d4c531
    daztucker committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    fe16948 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc37d2d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5516923 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5fc1085 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    18dbe8e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2946ed5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8a421b9 View commit details
    Browse the repository at this point in the history
  9. upstream: In PuTTY interop test, don't assume the PuTTY major

    version is 0. Patch from cjwatson at debian.org via bz#3671.
    
    OpenBSD-Regress-ID: 835ed03c1b04ad46be82e674495521f11b840191
    daztucker committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    83621b6 View commit details
    Browse the repository at this point in the history
  10. upstream: Increase timeout. Resyncs with portable where some of

    the test VMs are slow enough for this to matter.
    
    OpenBSD-Regress-ID: 6a83a693602eb0312f06a4ad2cd6f40d99d24b26
    daztucker committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    d2c8c4f View commit details
    Browse the repository at this point in the history
  11. upstream: Save error code from SSH for use inside case statement,

    from portable. In some shells, "case" will reset the value of $?, so save it
    first.
    
    OpenBSD-Regress-ID: da32e5be19299cb4f0f7de7f29c11257a62d6949
    daztucker committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    dbf2e31 View commit details
    Browse the repository at this point in the history
  12. upstream: Improve shell portability: grep -q is not portable so

    redirect stdout, and use printf instead of relying on echo to do \n
    substitution.  Reduces diff vs Portable.
    
    Also resync somewhat with upstream.
    
    OpenBSD-Regress-ID: 9ae876a8ec4c4725f1e9820a0667360ee2398337
    daztucker committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    b326f7a View commit details
    Browse the repository at this point in the history
  13. upstream: Verify string returned from local shell command.

    OpenBSD-Regress-ID: 5039bde24d33d809aebfa8d3ad7fe9053224e6f8
    daztucker committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    16e2ebe View commit details
    Browse the repository at this point in the history
  14. upstream: optional debugging

    OpenBSD-Regress-ID: b4852bf97ac8fb2e3530f2d5f999edd66058d7bc
    djmdjm authored and daztucker committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    63f248c View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    861b084 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    edcff77 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2024

  1. upstream: test -h is the POSIXly way of testing for a symlink. Reduces

    diff vs Portable.
    
    OpenBSD-Regress-ID: 6f31cd6e231e3b8c5c2ca0307573ccb7484bff7d
    daztucker committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    22b2b6c View commit details
    Browse the repository at this point in the history
  2. upstream: Use egrep instead of grep -E.

    Some plaforms don't have the latter so this makes things easier
    in -portable.
    
    OpenBSD-Regress-ID: ff82260eb0db1f11130200b25d820cf73753bbe3
    daztucker committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    7844705 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2024

  1. upstream: allow WAYLAND_DISPLAY to enable SSH_ASKPASS

    From dkg via GHPR479; ok dtucker@
    
    OpenBSD-Commit-ID: 1ac1f9c45da44eabbae89375393c662349239257
    djmdjm committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    697359b View commit details
    Browse the repository at this point in the history
  2. Fix OpenSSL ED25519 support detection

    Wrong function signature in configure.ac prevents openssh from enabling
    the recently new support for ED25519 priv keys in PEM PKCS8 format.
    Alkaid-Benetnash authored and djmdjm committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    8d0e46c View commit details
    Browse the repository at this point in the history
  3. add new token-based signing key for dtucker@

    Verified in person and via signature with old key.
    Will remove old key in a bit.
    djmdjm committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    cd8a727 View commit details
    Browse the repository at this point in the history
  4. Rearrange selfhosted VM scheduling.

    Instead of trying to infer the type of the self hosted tests in each of
    the driver scripts (inconsistently...), set one of the following
    variables to "true" in the workflow:
    
    VM: tests run in a virtual machine.
    EPHEMERAL: tests run on an ephemeral virtual machine.
    PERSISTENT: tests run on a persistent virtual machine
    REMOTE: tests run on a physical remote host.
    
    EPHEMERAL VMs can have multiple instances of any given VM can exist
    simultaneously and are run by a runner pool.  The other types have a
    dedicated runner instance and can only run a single test at a time.
    
    Other settings:
    SSHFS: We need to sshfs mount over the repo so the workflow can collect
    	build artifacts.  This also implies the tests must be run over ssh.
    DEBUG_ACTIONS: enable "set -x" in scripts for debugging.
    daztucker committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    02c5ad2 View commit details
    Browse the repository at this point in the history
  5. Expose SSH_AUTH_INFO_0 always to PAM auth modules.

    This changes SSH_AUTH_INFO_0 to be exposed to PAM auth modules also
    when a password authentication method is in use and not only
    when a keyboard-interactive authentication method is in use.
    eehakkin authored and djmdjm committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    c2c0bdd View commit details
    Browse the repository at this point in the history
  6. upstream: in OpenSSH private key format, correct type for subsequent

    private keys in blob. From Jakub Jelen via GHPR430
    
    OpenBSD-Commit-ID: d17dbf47554de2d752061592f95b5d772baab50b
    djmdjm committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    2d2c068 View commit details
    Browse the repository at this point in the history
  7. Check if OpenSSL implementation supports DSA.

    If --enable/disable-dsa-keys is not specified, set based on what OpenSSL
    supports.  If specified as enabled, but not supported by OpenSSL error
    out.  ok djm@
    daztucker committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    281ea25 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2024

  1. Port changes from selfhosted to upstream tests.

    Should get them working again.
    daztucker committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    43e7c1c View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. notify systemd on listen and reload

    Standalone implementation that does not depend on libsystemd.
    With assistance from Luca Boccassi, and feedback/testing from Colin
    Watson. bz2641
    djmdjm committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    08f5792 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Configuration menu
    Copy the full SHA
    88351ec View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. Update LibreSSL and OpenSSL versions tested.

    Update LibreSSL versions to current releases (3.8.4 & 3.9.1).
    Add newly-released OpenSSL 3.3.0, and add tests against the 3.1 and
    3.3 branches.
    daztucker committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    70d4304 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8673245 View commit details
    Browse the repository at this point in the history
  3. Merge flags for OpenSSL 3.x versions.

    OpenSSL has moved to 3.4 which we don't currently accept.  Based on
    the OpenSSL versioning policy[0] it looks like all of the 3.x versions
    should work with OpenSSH, so remove the distinction in configure and
    accept all of them.
    
    [0] https://openssl.org/policies/general/versioning-policy.html
    daztucker committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    2eded55 View commit details
    Browse the repository at this point in the history
  4. Shell syntax fix (leftover from a sync).

    Signed-off-by: renmingshuai <[email protected]>
    rmsh1216 authored and daztucker committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    00e6368 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. upstream: new-style relink kit for sshd. The old scheme created

    a Makefile by concatenating two Makefiles and was incredibly fragile.  In the
    new way a narrow-purposed install.sh script is created and shipped with the
    objects. A recently commited /etc/rc script understands these files.
    
    OpenBSD-Commit-ID: ef9341d5a50f0d33e3a6fbe995e92964bc7ef2d3
    [email protected] authored and djmdjm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    bf7bf50 View commit details
    Browse the repository at this point in the history
  2. upstream: also create a relink kit for ssh-agent, since it is a

    long-running setgid program carrying keys with some (not very powerful)
    communication channels. solution for testing the binary from dtucker.
    agreement from djm. Will add it into /etc/rc in a few days.
    
    OpenBSD-Commit-ID: 2fe8d707ae35ba23c7916adcb818bb5b66837ba0
    [email protected] authored and djmdjm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    8231ca0 View commit details
    Browse the repository at this point in the history
  3. upstream: Use strtonum() instead of severely non-idomatic

    strtoul() In particular this will now reject trailing garbage, ie.
    '12garbage'. ok djm
    
    OpenBSD-Commit-ID: c82d95e3ccbfedfc91a8041c2f8bf0cf987d1501
    [email protected] authored and djmdjm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    019a5f4 View commit details
    Browse the repository at this point in the history
  4. upstream: Replace non-idiomatic strtoul(, 16) to parse a region

    of 2-character hex sequences with a low-level replacement designed just for
    the task. ok djm
    
    OpenBSD-Commit-ID: 67bab8b8a4329a19a0add5085eacd6f4cc215e85
    [email protected] authored and djmdjm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    c7fec70 View commit details
    Browse the repository at this point in the history
  5. upstream: Remove unused ptr[3] char array in pkcs11_decode_hex.

    OK deraadt@
    
    OpenBSD-Commit-ID: 3d14433e39fd558f662d3b0431c4c555ef920481
    cjeker authored and djmdjm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    8673137 View commit details
    Browse the repository at this point in the history
  6. upstream: rewrite convtime() to use a isdigit-scanner and

    strtonum() instead of strange strtoul can might be fooled by garage
    characters. passes regress/usr.bin/ssh/unittests/misc ok djm
    
    OpenBSD-Commit-ID: 4b1ef826bb16047aea3f3bdcb385b72ffd450abc
    [email protected] authored and djmdjm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    9f543d7 View commit details
    Browse the repository at this point in the history
  7. upstream: can shortcut by returning strtonum() value directly; ok

    djm
    
    OpenBSD-Commit-ID: 7bb2dd3d6d1f288dac14247d1de446e3d7ba8b8e
    [email protected] authored and djmdjm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    8176e1a View commit details
    Browse the repository at this point in the history
  8. upstream: for parse_ipqos(), use strtonum() instead of mostly

    idiomatic strtoul(), but wow it's so gross. ok djm
    
    OpenBSD-Commit-ID: cec14a76af2eb7b225300c80fc0e21052be67b05
    [email protected] authored and djmdjm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    ec78c31 View commit details
    Browse the repository at this point in the history
  9. upstream: Oops, incorrect hex conversion spotted by claudio.

    While here try to improve how it reads a bit better.  Surprising the
    regression tests didn't spot this error, maybe it fails to roundtrip the
    values.
    
    OpenBSD-Commit-ID: 866cfcc1955aef8f3fc32da0b70c353a1b859f2e
    [email protected] authored and djmdjm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    54343a2 View commit details
    Browse the repository at this point in the history
  10. upstream: set right mode on ssh-agent at boot-time

    which sthen@
    ok deraadt@
    
    OpenBSD-Commit-ID: 662b5056a2c6171563e1626f9c69f27862b5e7af
    semarie authored and djmdjm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    fd3cb8a View commit details
    Browse the repository at this point in the history
  11. upstream: correct indentation; no functional change ok tb@

    OpenBSD-Commit-ID: dd9702fd43de546bc6a3f4f025c74d6f3692a0d4
    jonathangray authored and djmdjm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    5b28096 View commit details
    Browse the repository at this point in the history
  12. upstream: add explict check for server hostkey type against

    HostkeyAlgorithms. Allows HostkeyAlgorithms to disable implicit fallback from
    certificate keys to plain keys. ok markus@
    
    OpenBSD-Commit-ID: 364087e4a395ff9b2f42bf3aefdb2090bb23643a
    djmdjm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    80fb0eb View commit details
    Browse the repository at this point in the history
  13. upstream: correctly restore sigprocmask around ppoll() reported

    by Tõivo Leedjärv; ok deraadt@
    
    OpenBSD-Commit-ID: c0c0f89de5294a166578f071eade2501929c4686
    djmdjm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    66aaa67 View commit details
    Browse the repository at this point in the history
  14. depend

    djmdjm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    16d0b82 View commit details
    Browse the repository at this point in the history
  15. upstream: add missing reserved fields to key constraint protocol

    documentation.
    
    from Wiktor Kwapisiewicz via GHPR487
    
    OpenBSD-Commit-ID: 0dfb69998cfdb3fa00cbb0e7809e7d2f6126e3df
    djmdjm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    da757b0 View commit details
    Browse the repository at this point in the history
  16. upstream: stricter validation of messaging socket fd number; disallow

    usage of stderr. Based on GHPR492 by RealHurrison
    
    OpenBSD-Commit-ID: 73dbbe82ea16f73ce1d044d3232bc869ae2f2ce8
    djmdjm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    2e69a72 View commit details
    Browse the repository at this point in the history
  17. upstream: flush stdout after writing "sftp>" prompt when not using

    editline.
    
    From Alpine Linux via GHPR480
    
    OpenBSD-Commit-ID: 80bdc7ffe0358dc090eb9b93e6dedb2b087b24cd
    djmdjm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    14e2b16 View commit details
    Browse the repository at this point in the history
  18. upstream: fix home-directory extension implementation, it always

    returned the current user's home directory contrary to the spec.
    
    Patch from Jakub Jelen via GHPR477
    
    OpenBSD-Commit-ID: 5afd775eab7f9cbe222d7fbae4c793de6c3b3d28
    djmdjm committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    385ecb3 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Configuration menu
    Copy the full SHA
    6a42b70 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. upstream: never close stdin

    The sanitise_stdfd call makes sure that standard file descriptors are
    open (if they were closed, they are connected with /dev/null).
    
    Do not close stdin in any case to prevent error messages when stdin is
    read multiple times and to prevent later usage of fd 0 for connections,
    e.g.
    
    echo localhost | ssh-keyscan -f - -f -
    
    While at it, make stdin-related error messages nicer.
    
    Authored with Max Kunzelmann <maxdev at posteo dot de>
    
    ok djm
    
    OpenBSD-Commit-ID: 48e9b7938e2fa2f9bd47e6de6df66a31e0b375d3
    [email protected] authored and djmdjm committed May 8, 2024
    Configuration menu
    Copy the full SHA
    bc5dcb8 View commit details
    Browse the repository at this point in the history
  2. upstream: remove SSH1 leftovers

    Authored with Space Meyer <git at the-space dot agency>
    
    ok djm
    
    OpenBSD-Commit-ID: 81db602e4cb407baae472689db1c222ed7b2afa3
    [email protected] authored and djmdjm committed May 8, 2024
    Configuration menu
    Copy the full SHA
    cbbbf76 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. upstream: simplify exit message handling, which was more complicated

    than it needed to be because of unexpunged ssh1 remnants. ok markus@
    
    OpenBSD-Commit-ID: 8b0cd2c0dee75fb053718f442aa89510b684610b
    djmdjm committed May 10, 2024
    Configuration menu
    Copy the full SHA
    1c0d813 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. upstream: missing files from previous

    OpenBSD-Commit-ID: 4b7be4434d8799f02365552b641a7a70a7ebeb2f
    djmdjm committed May 17, 2024
    Configuration menu
    Copy the full SHA
    c041603 View commit details
    Browse the repository at this point in the history
  2. upstream: Start the process of splitting sshd into separate

    binaries. This step splits sshd into a listener and a session binary. More
    splits are planned.
    
    After this changes, the listener binary will validate the configuration,
    load the hostkeys, listen on port 22 and manage MaxStartups only. All
    session handling will be performed by a new sshd-session binary that the
    listener fork+execs.
    
    This reduces the listener process to the minimum necessary and sets us
    up for future work on the sshd-session binary.
    
    feedback/ok markus@ deraadt@
    
    NB. if you're updating via source, please restart sshd after installing,
    otherwise you run the risk of locking yourself out.
    
    OpenBSD-Commit-ID: 43c04a1ab96cdbdeb53d2df0125a6d42c5f19934
    djmdjm committed May 17, 2024
    Configuration menu
    Copy the full SHA
    03e3de4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    02e679a View commit details
    Browse the repository at this point in the history
  4. upstream: construct and install a relink-kit for sshd-session ok

    djm
    
    OpenBSD-Commit-ID: 8b3820adb4da4e139c4b3cffbcc0bde9f08bf0c6
    [email protected] authored and djmdjm committed May 17, 2024
    Configuration menu
    Copy the full SHA
    4ad7287 View commit details
    Browse the repository at this point in the history
  5. upstream: fix incorrect debug option name introduce in previous

    commit
    
    OpenBSD-Commit-ID: 66d69e22b1c072c694a7267c847f212284614ed3
    djmdjm committed May 17, 2024
    Configuration menu
    Copy the full SHA
    92e5589 View commit details
    Browse the repository at this point in the history
  6. upstream: Since ssh-agent(1) is only readable by root by now, use

    ssh(1) while generating data in tests.
    
    OpenBSD-Regress-ID: 24eb40de2e6b0ace185caaba35e2d470331ffe68
    [email protected] authored and djmdjm committed May 17, 2024
    Configuration menu
    Copy the full SHA
    a68f80f View commit details
    Browse the repository at this point in the history
  7. upstream: allow overriding the sshd-session binary path

    OpenBSD-Regress-ID: 5058cd1c4b6ca1a15474e33546142931d9f964da
    djmdjm committed May 17, 2024
    Configuration menu
    Copy the full SHA
    b88b690 View commit details
    Browse the repository at this point in the history
  8. upstream: spelling; ok djm@

    OpenBSD-Commit-ID: bdea29bb3ed2a5a7782999c4c663b219d2270483
    jonathangray authored and djmdjm committed May 17, 2024
    Configuration menu
    Copy the full SHA
    01fb82e View commit details
    Browse the repository at this point in the history
  9. upstream: g/c unused variable

    OpenBSD-Commit-ID: aa6ef0778a1f1bde0d73efba72a777c48d2bd010
    djmdjm committed May 17, 2024
    Configuration menu
    Copy the full SHA
    17b566e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    24a1f3e View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. upstream: -Werror was turned on (probably just for development),

    and this is a simple way to satisfy older gcc.
    
    OpenBSD-Commit-ID: 7f698df54384b437ce33ab7405f0b86c87019e86
    [email protected] authored and djmdjm committed May 22, 2024
    Configuration menu
    Copy the full SHA
    f3e4db4 View commit details
    Browse the repository at this point in the history
  2. upstream: remove externs for removed vars; ok djm@

    OpenBSD-Commit-ID: f51ea791d45c15d4927eb4ae7d877ccc1e5a2aab
    jonathangray authored and djmdjm committed May 22, 2024
    Configuration menu
    Copy the full SHA
    6454a05 View commit details
    Browse the repository at this point in the history
  3. upstream: remove prototypes with no matching function; ok djm@

    OpenBSD-Commit-ID: 6d9065dadea5f14a01bece0dbfe2fba1be31c693
    jonathangray authored and djmdjm committed May 22, 2024
    Configuration menu
    Copy the full SHA
    dcd79fa View commit details
    Browse the repository at this point in the history
  4. upstream: remove duplicate copy of relink kit for sshd-session

    OpenBSD-Commit-ID: 6d2ded4cd91d4d727c2b26e099b91ea935bed504
    [email protected] authored and djmdjm committed May 22, 2024
    Configuration menu
    Copy the full SHA
    beccb73 View commit details
    Browse the repository at this point in the history
  5. upstream: Add missing kex-names.c source file required since the

    ssh split.
    
    OpenBSD-Regress-ID: ca666223f828fc4b069cb9016bff1eb50faf9fbb
    [email protected] authored and djmdjm committed May 22, 2024
    Configuration menu
    Copy the full SHA
    fd48167 View commit details
    Browse the repository at this point in the history
  6. upstream: this test has been broken since 2014, and has been

    testing the same key exchange algorithm repeatedly instead of testing all of
    them. Spotted by nreilly AT blackberry.com in bz3692
    
    Who broke the test? me.
    
    OpenBSD-Regress-ID: 48f4f5946276f975667141957d25441b3c9a50e2
    djmdjm committed May 22, 2024
    Configuration menu
    Copy the full SHA
    fc5dc09 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. upstream: Do not pass -Werror if building with gcc 3, for asn1.h

    and bio.h cause (admittedly bogus) warnings with gcc 3.
    
    OpenBSD-Commit-ID: fb39324748824cb0387e9d67c41d1bef945c54ea
    [email protected] authored and djmdjm committed May 27, 2024
    Configuration menu
    Copy the full SHA
    435844f View commit details
    Browse the repository at this point in the history
  2. upstream: Do not pass -Werror twice when building with clang.

    OpenBSD-Commit-ID: 5f378c38ad8976d507786dc4db9283a879ec8cd0
    [email protected] authored and djmdjm committed May 27, 2024
    Configuration menu
    Copy the full SHA
    2477a98 View commit details
    Browse the repository at this point in the history
  3. upstream: remove unused struct fwd_perm_list, no decl with complete

    type ok djm@
    
    OpenBSD-Commit-ID: 416fb3970b7e73c76d2963c4f00cf96f2b2ee2fb
    jonathangray authored and djmdjm committed May 27, 2024
    Configuration menu
    Copy the full SHA
    f0b9261 View commit details
    Browse the repository at this point in the history
  4. upstream: remove references to SSH1 and DSA server keys

    OpenBSD-Commit-ID: 57cc1c98d4f998981473734f144b904af7d178a2
    [email protected] authored and djmdjm committed May 27, 2024
    Configuration menu
    Copy the full SHA
    210d423 View commit details
    Browse the repository at this point in the history
  5. upstream: don't need sys/queue.h here

    OpenBSD-Commit-ID: dd137396828171eb19e4911581812ca58de6c578
    djmdjm committed May 27, 2024
    Configuration menu
    Copy the full SHA
    8054b90 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. upstream: typos

    OpenBSD-Commit-ID: edfa72eb06bfa65da30fabf7d2fe76d2d33f77bf
    djmdjm committed May 31, 2024
    Configuration menu
    Copy the full SHA
    a4b5bc2 View commit details
    Browse the repository at this point in the history
  2. upstream: warn when -r (deprecated option to disable re-exec) is

    passed
    
    OpenBSD-Commit-ID: 73145ef5150edbe3ce7889f0844ed8fa6155f551
    djmdjm committed May 31, 2024
    Configuration menu
    Copy the full SHA
    b21d271 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e68a951 View commit details
    Browse the repository at this point in the history
  4. rename need_privsep to need_chroot

    privsep is mandatory, chroot is optional (disabled when running
    sshd as non-root)
    djmdjm committed May 31, 2024
    Configuration menu
    Copy the full SHA
    94b4866 View commit details
    Browse the repository at this point in the history
  5. depend

    djmdjm committed May 31, 2024
    Configuration menu
    Copy the full SHA
    f1c8918 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2024

  1. upstream: be really strict with fds reserved for communication with the

    separate sshd-session process - reserve them early and fatal if we can't
    dup2(2) them later. The pre-split fallback to re-reading the configuration
    files is not possible, so sshd-session absolutely requires the fd the
    configuration is passed over to be in order.
    
    ok deraadt@
    
    OpenBSD-Commit-ID: 308a98ef3c8a6665ebf92c7c9a0fc9600ccd7065
    djmdjm committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    8785491 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. remove PRIVSEP macros for osx

    djmdjm committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    cc80d51 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. upstream: enable -fret-clean on amd64, for libc libcrypto ld.so

    kernel, and all the ssh tools.  The dynamic objects are entirely ret-clean,
    static binaries will contain a blend of cleaning and non-cleaning callers.
    
    OpenBSD-Commit-ID: 112aacedd3b61cc5c34b1fa6d9fb759214179172
    [email protected] authored and djmdjm committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    49b55e4 View commit details
    Browse the repository at this point in the history
  2. whitespace

    djmdjm committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    916b0b6 View commit details
    Browse the repository at this point in the history
  3. upstream: Add a facility to sshd(8) to penalise particular

    problematic client behaviours, controlled by two new sshd_config(5) options:
    PerSourcePenalties and PerSourcePenaltyExemptList.
    
    When PerSourcePenalties are enabled, sshd(8) will monitor the exit
    status of its child pre-auth session processes. Through the exit
    status, it can observe situations where the session did not
    authenticate as expected. These conditions include when the client
    repeatedly attempted authentication unsucessfully (possibly indicating
    an attack against one or more accounts, e.g. password guessing), or
    when client behaviour caused sshd to crash (possibly indicating
    attempts to exploit sshd).
    
    When such a condition is observed, sshd will record a penalty of some
    duration (e.g. 30 seconds) against the client's address. If this time
    is above a minimum threshold specified by the PerSourcePenalties, then
    connections from the client address will be refused (along with any
    others in the same PerSourceNetBlockSize CIDR range).
    
    Repeated offenses by the same client address will accrue greater
    penalties, up to a configurable maximum. A PerSourcePenaltyExemptList
    option allows certain address ranges to be exempt from all penalties.
    
    We hope these options will make it significantly more difficult for
    attackers to find accounts with weak/guessable passwords or exploit
    bugs in sshd(8) itself.
    
    PerSourcePenalties is off by default, but we expect to enable it
    automatically in the near future.
    
    much feedback markus@ and others, ok markus@
    
    OpenBSD-Commit-ID: 89ded70eccb2b4926ef0366a4d58a693de366cca
    djmdjm committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    81c1099 View commit details
    Browse the repository at this point in the history
  4. upstream: disable stderr redirection before closing fds

    OpenBSD-Commit-ID: d42cb895ee4542098050367fc35321c9303f003a
    djmdjm committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    c0cb3b8 View commit details
    Browse the repository at this point in the history
  5. upstream: prepare for PerSourcePenalties being enabled by default

    in future
    
    OpenBSD-Regress-ID: 5236c6d1c823997aac5a35e2915da30f1903bec7
    djmdjm committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    e6ea3d2 View commit details
    Browse the repository at this point in the history
  6. upstream: simplify

    OpenBSD-Regress-ID: 50316e0d1ae0c0a057a45af042253e54ce23d11c
    djmdjm committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    d7b2070 View commit details
    Browse the repository at this point in the history
  7. upstream: make sure logs are saved from sshd run via start_sshd

    OpenBSD-Regress-ID: de4ef0e32e3ab85ff3a6c36eb08d1909c0dd1b4a
    djmdjm committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    b8ebd86 View commit details
    Browse the repository at this point in the history
  8. upstream: regress test for PerSourcePenalties

    OpenBSD-Regress-ID: a1af13d411b25a727742644459d26480b9a1b0f1
    djmdjm committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    9774b93 View commit details
    Browse the repository at this point in the history
  9. upstream: mention that PerSourcePenalties don't affect concurrent

    in-progress connections.
    
    OpenBSD-Commit-ID: 20389da6264f2c97ac3463edfaa1182c212d420c
    djmdjm committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    bd1f747 View commit details
    Browse the repository at this point in the history
  10. upstream: enable PerSourcePenalties by default.

    ok markus
    
    NB. if you run a sshd that accepts connections from behind large NAT
    blocks, proxies or anything else that aggregates many possible users
    behind few IP addresses, then this change may cause legitimate traffic
    to be denied.
    
    Please read the PerSourcePenalties, PerSourcePenaltyExemptList and
    PerSourceNetBlockSize options in sshd_config(5) for how to tune your
    sshd(8) for your specific circumstances.
    
    OpenBSD-Commit-ID: 24a0e5c23d37e5a63e16d2c6da3920a51078f6ce
    djmdjm committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    0e0c697 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. upstream: escape the final dot at eol in "e.g." to avoid double

    spacing;
    
    OpenBSD-Commit-ID: 0a9fb10bc9f7d577afe2da3f498a08bc431115b9
    [email protected] authored and djmdjm committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    3ad4cd9 View commit details
    Browse the repository at this point in the history
  2. upstream: avoid shadowing issues which some compilers won't accept

    ok djm
    
    OpenBSD-Commit-ID: 1e89572397dda83433d58c4fa6333a08f51170d4
    [email protected] authored and djmdjm committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    fa7d7a6 View commit details
    Browse the repository at this point in the history
  3. upstream: correct error message

    OpenBSD-Commit-ID: 581f60f73099083392887206860229ab104620ed
    djmdjm committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    a59634c View commit details
    Browse the repository at this point in the history
  4. upstream: log waitpid() status for abnormal exits

    OpenBSD-Commit-ID: b317930e06b51819c1a2bc6a4359764fecfb1c2d
    djmdjm committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    6211aa0 View commit details
    Browse the repository at this point in the history
  5. upstream: reap the [net] child if it hangs up while writing privsep

    message payloads, not just the message header
    
    OpenBSD-Commit-ID: 24dbd400aa381ac96be7ed2dd49018487dfef6ce
    djmdjm committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    41987ef View commit details
    Browse the repository at this point in the history
  6. upstream: update to mention that PerSourcePenalties default to

    being enabled and document the default values for each parameter.
    
    OpenBSD-Commit-ID: b981288bddfb097aad269f62df4081c688ce0034
    djmdjm committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    a2300f0 View commit details
    Browse the repository at this point in the history
  7. upstream: move tree init before possible early return

    OpenBSD-Commit-ID: 72e2c5b69f151c08a7c5bf5ad929b97a92c273df
    djmdjm committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    82c836d View commit details
    Browse the repository at this point in the history
  8. upstream: fix off-by-one comparison for PerSourcePenalty

    OpenBSD-Commit-ID: af4f5d01c41ef870b23e55655bfbf73474a6c02b
    djmdjm committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    fc4e96b View commit details
    Browse the repository at this point in the history
  9. upstream: a little more RB_TREE paranoia

    OpenBSD-Commit-ID: 8dc2fd21eebd8830c4a4d25461ac4fe228e11156
    djmdjm committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    ef878d5 View commit details
    Browse the repository at this point in the history
  10. upstream: reap the pre-auth [net] child if it hangs up during privsep

    message sending, not just receiving
    
    OpenBSD-Commit-ID: f7341605bf08c4c15830910446e6775323f2f8cb
    djmdjm committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    90fb801 View commit details
    Browse the repository at this point in the history
  11. upstream: fix PIDFILE handling, broken for SUDO=doas in last commit

    here
    
    OpenBSD-Regress-ID: 96fec579af228f87a036e94801eb294af9074625
    djmdjm committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    b0a711c View commit details
    Browse the repository at this point in the history
  12. upstream: reap preauth net child if it hangs up during privsep message

    send, not just message receive
    
    OpenBSD-Commit-ID: 02a093f4ab4f8f83f0cd1ea2bb35b9ca420448f0
    djmdjm committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    cfe243c View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. upstream: do not mark up "(default: 20ms)";

    OpenBSD-Commit-ID: 54151ecdecfa1b67dcdda4fd24826ef6e2148ad4
    [email protected] authored and djmdjm committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    06ab4c6 View commit details
    Browse the repository at this point in the history
  2. upstream: split PerSourcePenalties address tracking. Previously it

    used one shared table and overflow policy for IPv4 and IPv6 addresses, now it
    will use separate tables and optionally different overflow policies.
    
    This prevents misbehaviour from IPv6 addresses (which are vastly easier
    to obtain many of) from affecting IPv4 connections and may allow for
    stricter overflow policies.
    
    ok deraadt@
    
    OpenBSD-Commit-ID: 12637ed0aa4d5f1f3e702da42ea967cbd8bfdfd9
    djmdjm committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    4de80ff View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Configuration menu
    Copy the full SHA
    f1c4285 View commit details
    Browse the repository at this point in the history
  2. delay lookup of privsep user until config loaded

    sshd-session attempting to use options.kerberos_authentication to
    decide whether it needed to lookup the privsep user before the
    configuration was loaded. This caused it to get a placeholder value
    that caused it always to try to lookup the privsep user, breaking at
    least one test environment.
    djmdjm committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    f66d4df View commit details
    Browse the repository at this point in the history
  3. fix PTY allocation on Cygwin, broken by sshd split

    Cygwin doesn't support FD passing and so used to disable post-auth
    privilege separation entirely because privsep requires PTY allocation
    to happen in the privileged monitor process with the PTY file
    descriptors being passed back to the unprivileged process.
    
    This brings back a minimal version of the previous special treatment
    for Cygwin (and any other platform that sets DISABLE_FD_PASSING):
    privilege separation remains enabled, but PTY allocation happens in
    the post-auth user process rather than the monitor.
    
    This either requires PTY allocation to not need privilege to begin
    with (this appears to be the case on Cygwin), or the post-auth
    privsep process retain privilege (other platforms that set the
    DISABLE_FD_PASSING option).
    
    Keeping privileges here is bad, but the non-Cygwin systems that set
    DISABLE_FD_PASSING are so deeply legacy that this is likely to be the
    least of their problems.
    djmdjm committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    afe1031 View commit details
    Browse the repository at this point in the history
  4. typo in comment

    djmdjm committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    425f79a View commit details
    Browse the repository at this point in the history
  5. prepare for checking in autogenerated files

    We plan to check in automatically generated files (config.h.in, etc) on
    release branches. These files are normally ignored by .gitignore, but
    this shuffles the contents of this file to make it easy to un-ignore
    them.
    djmdjm committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    bf204bd View commit details
    Browse the repository at this point in the history
  6. sshd: don't use argv[0] as PAM service name

    sshd would implicitly use argv[0] as the PAM service name to
    allow people to select different PAM service names by making
    differently-named copies/links to the sshd binary.
    
    Splitting sshd into sshd/sshd-session broke this, as the process
    that starts PAM is always sshd-session and the user has no control
    over this.
    
    Hardcode "sshd" as the default PAM service name unless/until we
    figure out a better way. Should unbreak OSX integration tests.
    djmdjm committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    a8fbe2f View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2024

  1. upstream: specify an algorithm for ssh-keyscan, otherwise it will make

    multiple attempts simultaneously and confuse the test
    
    OpenBSD-Regress-ID: 6e910f3315c4345053db1bf5cbf61826b194d0b9
    djmdjm committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    abfd1f7 View commit details
    Browse the repository at this point in the history
  2. upstream: separate keywords with comma

    OpenBSD-Commit-ID: d65a99666202a8188c4991c18d14374a229f7be5
    [email protected] authored and djmdjm committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    3e806d0 View commit details
    Browse the repository at this point in the history
  3. upstream: make host/banner comments go to stderr instead of stdout,

    so they are useful as comments without extra shell redirection and so they
    don't clutter actual errors on stderr.
    
    Add a -q flag to shut them up.
    
    ok dtucker@
    
    OpenBSD-Commit-ID: bec813de56a71adb5c1a76adcf49621130d24264
    djmdjm committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    1e84d0c View commit details
    Browse the repository at this point in the history
  4. upstream: don't redirect stderr for ssh-keyscan we expect to succeed

    OpenBSD-Regress-ID: 8878b8eb4e070ed2e343166d3eb86db4a08a216c
    djmdjm committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    9f032a4 View commit details
    Browse the repository at this point in the history
  5. add a sshd_config PamServiceName option

    Allows selecting which PAM service name to use when UsePAM is
    enabled. Defaults to "sshd" unless overridden at compile time
    by defining SSHD_PAM_SERVICE.
    
    bz2102, ok dtucker@
    djmdjm committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    b2c64bc View commit details
    Browse the repository at this point in the history
  6. upstream: split the PerSourcePenalties test in two: one tests penalty

    enforcement but not penalty expiry, the other tests penalty expiry.
    
    This lets us disable the expiry testing in certain CI test environments.
    
    OpenBSD-Regress-ID: f56811064f3e3cb52ee73a206b8c2a06af1c8791
    djmdjm committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    2866ad0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    092e4ff View commit details
    Browse the repository at this point in the history
  8. upstream: ssh-keyscan -q man bits

    OpenBSD-Commit-ID: ba28d0e1ac609a4c99c453e57e86560c79079db1
    djmdjm committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    d172ad5 View commit details
    Browse the repository at this point in the history
  9. upstream: clarify KEXAlgorithms supported vs available. Inspired by

    bz3701 from Colin Watson.
    
    OpenBSD-Commit-ID: e698e69bea19bd52971d253f2b1094490c4701f7
    djmdjm committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    dd7807b View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2024

  1. upstream: sort -q in the options list;

    OpenBSD-Commit-ID: 6839b38378f38f754de638a5e988c13b4164cc7c
    [email protected] authored and djmdjm committed Jun 15, 2024
    Configuration menu
    Copy the full SHA
    93c7547 View commit details
    Browse the repository at this point in the history
  2. upstream: crank up penalty timeouts so this should work on even the

    slowest of test builders
    
    OpenBSD-Regress-ID: 70bda39c83e3fc9d0f3c1fad4542ed33e173d468
    djmdjm committed Jun 15, 2024
    Configuration menu
    Copy the full SHA
    8d0f7eb View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2024

  1. upstream: penalty test is still a bit racy

    OpenBSD-Regress-ID: 90c9ac224db454637baf1ebee5857e007321e824
    djmdjm committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    45562a9 View commit details
    Browse the repository at this point in the history
  2. upstream: same treatment for this test

    OpenBSD-Regress-ID: d0cc9efca7833e673ea7b0cb3a679a3acee8d4c7
    djmdjm committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    48443d2 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. minix doesn't have loopback, so skip penalty tests

    pointed out by dtucker@
    djmdjm committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    1c207f4 View commit details
    Browse the repository at this point in the history
  2. propagate PAM crashes to PerSourcePenalties

    If the PAM subprocess crashes, exit with a crash status that will be
    picked up by the sshd(8) listener process where it can be used by
    PerSourcePenalties to block the client. This is similar handling to
    the privsep preauth process.
    djmdjm committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    b003314 View commit details
    Browse the repository at this point in the history
  3. upstream: promote connection-closed messages from verbose to info

    log level; they could be the only record of the connection terminating if the
    client doesn't send a SSH2_MSG_DISCONNECT message. ok dtucker@
    
    OpenBSD-Commit-ID: 0c8bfaf5e9fdff945cee09ac21e641f6c5d65d3c
    djmdjm committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    5603bef View commit details
    Browse the repository at this point in the history
  4. upstream: disable the DSA signature algorithm by default; ok

    markus@
    
    (yes, I know this expands to "the Digitial Signature Algorithm
    signature algorithm)
    
    OpenBSD-Commit-ID: 961ef594e46dd2dcade8dd5721fa565cee79ffed
    djmdjm committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    00eb959 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3f9cc47 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Configuration menu
    Copy the full SHA
    7614380 View commit details
    Browse the repository at this point in the history
  2. upstream: Stop using DSA in dropbear interop tests.

    OpenBSD-Regress-ID: abfd4457d99d8cc1417fd22ca2c570270f74c1cf
    [email protected] authored and daztucker committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    dabc2c7 View commit details
    Browse the repository at this point in the history
  3. upstream: Re-enable ssh-dss tests

    ... if ssh is compiled with DSA support
    
    OpenBSD-Regress-ID: bbfaf8c17f2b50a2d46ac35cb97af99b990c990d
    daztucker committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    de1c2e7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    df1c72a View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Remove macos-11 runner.

    Github is retiring them soon.
    daztucker committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    786a446 View commit details
    Browse the repository at this point in the history
  2. Restart sshd after installing it for testing.

    When installing an sshd built without OpenSSL the mismatch between
    the running sshd and newly installed sshd-session will cause the
    remainder of the test to fail.
    daztucker committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    d621850 View commit details
    Browse the repository at this point in the history
  3. upstream: Rework dropbear key setup

    to always generate ed25519 keys, other types only if OpenSSH has support
    for the corresponding key type.
    
    OpenBSD-Regress-ID: 8f91f12604cddb9f8d93aa34f3f93a3f6074395d
    daztucker committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    dbd3b83 View commit details
    Browse the repository at this point in the history
  4. upstream: Use ed25519 keys for kex tests

    since that's supported by OpenSSH even when built without OpenSSL.
    Only test diffie-hellman kex if OpenSSH is compiled with support for it.
    
    OpenBSD-Regress-ID: a5d09ef9bbd171f9e4ec73ed0d9eeb49a8878e97
    daztucker committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    5521060 View commit details
    Browse the repository at this point in the history
  5. upstream: Provide defaults for ciphers and macs

    if querying for them fails since on some versions of Dropbear (at least
    v2024.85) "-m help" doesn't seem to work.  Enable all supported pubkey
    algorithms in the server.
    
    OpenBSD-Regress-ID: 4f95556a49ee9f621789f25217c367a33d2745ca
    daztucker committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    fad34b4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d5f83cf View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7089b5f View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. upstream: remove one more mention of DSA

    OpenBSD-Commit-ID: 8515f55a15f02836ba657df341415f63c60526ca
    [email protected] authored and djmdjm committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    579d9ad View commit details
    Browse the repository at this point in the history
  2. upstream: put back reaping of preauth child process when writes

    from the monitor fail. Not sure how this got lost in the avalanche of
    patches.
    
    OpenBSD-Commit-ID: eb7eb36371e1ac01050b32b70fb2b3e5d98e72f5
    djmdjm committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    d9336d3 View commit details
    Browse the repository at this point in the history
  3. upstream: stricter check for overfull tables in penalty record path

    OpenBSD-Commit-ID: 7df01e648a0723418c554e64a9f2b6d38db060a6
    djmdjm committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    e9b6471 View commit details
    Browse the repository at this point in the history
  4. upstream: Remove dropbear key types not supported

    by current OpenSSH. Allows subsequent test runs to work if OpenSSH is
    rebuilt w/out OpenSSL.
    
    OpenBSD-Regress-ID: e0129eb2b1d31771105903a8055216fbba20a770
    daztucker committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    8de2c8c View commit details
    Browse the repository at this point in the history
  5. upstream: Work around dbclient cipher/mac query bug.

    Unlike earlier versions, recent Dropbear (at least v2024.85) requires
    a host arg when querying supported ciphers and macs via "-c/-m
    help".  Earlier versions accept but do not require it, so always
    provide it.  If these queries fail, skip the test with a warning.
    
    OpenBSD-Regress-ID: 98eb863a3f0363416922efb273885e6b3c7f68d4
    daztucker committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    dbbf933 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    603193e View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. upstream: mention SshdSessionPath option

    OpenBSD-Commit-ID: c29734d36c21003973b15c1c9965c35f36cef30c
    djmdjm committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    1839e3e View commit details
    Browse the repository at this point in the history
  2. upstream: - uppercase start of sentence - correct sentence grammar

    ok djm
    
    OpenBSD-Commit-ID: 1ec4b0fdb633a43667f2c8fff1d600bd647dde25
    [email protected] authored and djmdjm committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    f23e933 View commit details
    Browse the repository at this point in the history
  3. upstream: save_errno wrappers inside two small signal handlers that

    perform system calls, for systems with libc that do perform libc sigtramps.
    ok djm markus
    
    OpenBSD-Commit-ID: 7749b56419a7c9dcfe4c6c04811e429813346c62
    [email protected] authored and djmdjm committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    b8793e2 View commit details
    Browse the repository at this point in the history
  4. upstream: Instead of using possibly complex ssh_signal(), write all

    the parts of the grace_alarm_handler() using the exact things allowed by the
    signal-safe rules.  This is a good rule of thumb: Handlers should be written
    to either set a global volatile sig_atomic_t inspected from outside, and/or
    directly perform only safe operations listed in our sigaction(2) manual page.
    ok djm markus
    
    OpenBSD-Commit-ID: 14168ae8368aab76e4ed79e17a667cb46f404ecd
    [email protected] authored and djmdjm committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    d6bcd13 View commit details
    Browse the repository at this point in the history
  5. upstream: move child process waitpid() loop out of SIGCHLD handler;

    ok deraadt
    
    OpenBSD-Commit-ID: 65815a39564e431414aed7c5ace8076f4e9ca741
    djmdjm committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    12b6cc0 View commit details
    Browse the repository at this point in the history
  6. upstream: ssl(8) no longer contains a HISTORY section;

    OpenBSD-Commit-ID: 83b7ff34433d79595e9c2a5d2a561a6660251245
    [email protected] authored and djmdjm committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    268c3a7 View commit details
    Browse the repository at this point in the history
  7. upstream: retire unused API

    OpenBSD-Commit-ID: 3e30d7b0615e2707f6bbe70f61b1c2f72f78161b
    djmdjm committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    94b9d37 View commit details
    Browse the repository at this point in the history
  8. upstream: delete obsolete comment

    OpenBSD-Commit-ID: 5fb04f298ed155053f3fbfdf0c6fe7cdf84bbfa2
    djmdjm committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    c8cfe25 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. upstream: use "lcd" to change directory before "lls" rather then "cd",

    since the directory we're trying to list is local. Spotted by Corinna
    Vinschen
    
    OpenBSD-Regress-ID: 821feca4a4bebe491944e624c8f7f2990b891415
    djmdjm committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    637e4df View commit details
    Browse the repository at this point in the history
  2. upstream: when sending ObscureKeystrokeTiming chaff packets, we

    can't rely on channel_did_enqueue to tell that there is data to send. This
    flag indicates that the channels code enqueued a packet on _this_ ppoll()
    iteration, not that data was enqueued in _any_ ppoll() iteration in the
    timeslice. ok markus@
    
    OpenBSD-Commit-ID: 009b74fd2769b36b5284a0188ade182f00564136
    djmdjm committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    146c420 View commit details
    Browse the repository at this point in the history
  3. upstream: openssh-9.8

    OpenBSD-Commit-ID: 5f8b89e38a4c5f7c6d52ffa19f796d49f36fab19
    djmdjm committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    bfebb8a View commit details
    Browse the repository at this point in the history
  4. version numbers

    djmdjm committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    fa41f65 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6849957 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Fix detection of setres*id on GNU/Hurd

    Like Linux, proper _SOURCE macros need to be set to get declarations of
    various standard functions, notably setres*id. Now that Debian is using
    -Werror=implicit-function-declaration this is really required. While at
    it, define other _SOURCE macros like on GNU/Linux, since GNU/Hurd uses
    the same glibc.
    sthibaul authored and daztucker committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    20950a7 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Configuration menu
    Copy the full SHA
    34f7a96 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2024

  1. Cast to sockaddr * in systemd interface.

    Fixes build with musl libx.  bz#3707.
    daztucker committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    b35a64d View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. upstream: correct keyword; from Yatao Su via GHPR509

    OpenBSD-Commit-ID: 81c778c76dea7ef407603caa157eb0c381c52ad2
    djmdjm committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    c21fc9d View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. start merge - not compiling

    tgauth committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    429419b View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Configuration menu
    Copy the full SHA
    7906ad4 View commit details
    Browse the repository at this point in the history
  2. upstream: missing files from previous

    OpenBSD-Commit-ID: 4b7be4434d8799f02365552b641a7a70a7ebeb2f
    djmdjm authored and tgauth committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    9c25d37 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d5d6a52 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6384372 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9a0bf7d View commit details
    Browse the repository at this point in the history
  6. disable upstream workflows

    tgauth committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    442c43d View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. fix merge conflict properly

    tgauth committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    cfd259f View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. fix compilation error

    tgauth committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    9787cad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    209dad5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8584d34 View commit details
    Browse the repository at this point in the history
  4. fix typo

    tgauth committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    03aa1ed View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. fix debug mode

    tgauth committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    78fa6b2 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. Configuration menu
    Copy the full SHA
    18f1991 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. fix inetd

    tgauth committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    8e7aee9 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. fix bash test failures

    tgauth committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    9215a12 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. cleanup config declarations

    tgauth committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    f0d05b5 View commit details
    Browse the repository at this point in the history
  2. address review feedback

    tgauth committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    4d7e9c1 View commit details
    Browse the repository at this point in the history
  3. merge latestw_all

    tgauth committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    718738b View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Configuration menu
    Copy the full SHA
    10d0316 View commit details
    Browse the repository at this point in the history
  2. remove DSA from pester tests

    tgauth committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    f168dca View commit details
    Browse the repository at this point in the history