mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
Release notes are available at https://www.openssh.com/txt/release-9.2 OpenSSH 9.2 contains fixes for two security problems and a memory safety problem. The memory safety problem is not believed to be exploitable. These fixes have already been committed to OpenSSH 9.1 in FreeBSD. Some other notable items from the release notes: * ssh(1): add a new EnableEscapeCommandline ssh_config(5) option that controls whether the client-side ~C escape sequence that provides a command-line is available. Among other things, the ~C command-line could be used to add additional port-forwards at runtime. * sshd(8): add support for channel inactivity timeouts via a new sshd_config(5) ChannelTimeout directive. This allows channels that have not seen traffic in a configurable interval to be automatically closed. Different timeouts may be applied to session, X11, agent and TCP forwarding channels. * sshd(8): add a sshd_config UnusedConnectionTimeout option to terminate client connections that have no open channels for a length of time. This complements the ChannelTimeout option above. * sshd(8): add a -V (version) option to sshd like the ssh client has. * scp(1), sftp(1): add a -X option to both scp(1) and sftp(1) to allow control over some SFTP protocol parameters: the copy buffer length and the number of in-flight requests, both of which are used during upload/download. Previously these could be controlled in sftp(1) only. This makes them available in both SFTP protocol clients using the same option character sequence. * ssh-keyscan(1): allow scanning of complete CIDR address ranges, e.g. "ssh-keyscan 192.168.0.0/24". If a CIDR range is passed, then it will be expanded to all possible addresses in the range including the all-0s and all-1s addresses. bz#976 * ssh(1): support dynamic remote port forwarding in escape command-line's -R processing. bz#3499 MFC after: 1 week Sponsored by: The FreeBSD Foundation
125 lines
5.7 KiB
YAML
125 lines
5.7 KiB
YAML
name: C/C++ CI
|
|
|
|
on:
|
|
push:
|
|
paths: [ '**.c', '**.h', '**.m4', '**.sh', '.github/**', '**/Makefile.in', 'configure.ac' ]
|
|
pull_request:
|
|
paths: [ '**.c', '**.h', '**.m4', '**.sh', '.github/**', '**/Makefile.in', 'configure.ac' ]
|
|
|
|
jobs:
|
|
ci:
|
|
if: github.repository != 'openssh/openssh-portable-selfhosted'
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
# First we test all OSes in the default configuration.
|
|
target: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12, windows-2019, windows-2022]
|
|
config: [default]
|
|
# Then we include any extra configs we want to test for specific VMs.
|
|
# Valgrind slows things down quite a bit, so start them first.
|
|
include:
|
|
- { target: windows-2019, config: cygwin-release }
|
|
- { target: windows-2022, config: cygwin-release }
|
|
- { target: ubuntu-20.04, config: valgrind-1 }
|
|
- { target: ubuntu-20.04, config: valgrind-2 }
|
|
- { target: ubuntu-20.04, config: valgrind-3 }
|
|
- { target: ubuntu-20.04, config: valgrind-4 }
|
|
- { target: ubuntu-20.04, config: valgrind-5 }
|
|
- { target: ubuntu-20.04, config: valgrind-unit }
|
|
- { target: ubuntu-20.04, config: c89 }
|
|
- { target: ubuntu-20.04, config: clang-6.0 }
|
|
- { target: ubuntu-20.04, config: clang-8 }
|
|
- { target: ubuntu-20.04, config: clang-9 }
|
|
- { target: ubuntu-20.04, config: clang-10 }
|
|
- { target: ubuntu-20.04, config: clang-11 }
|
|
- { target: ubuntu-20.04, config: clang-12-Werror }
|
|
- { target: ubuntu-20.04, config: clang-sanitize-address }
|
|
- { target: ubuntu-20.04, config: clang-sanitize-undefined }
|
|
- { target: ubuntu-20.04, config: gcc-sanitize-address }
|
|
- { target: ubuntu-20.04, config: gcc-sanitize-undefined }
|
|
- { target: ubuntu-20.04, config: gcc-7 }
|
|
- { target: ubuntu-20.04, config: gcc-8 }
|
|
- { target: ubuntu-20.04, config: gcc-10 }
|
|
- { target: ubuntu-20.04, config: gcc-11-Werror }
|
|
- { target: ubuntu-20.04, config: pam }
|
|
- { target: ubuntu-20.04, config: kitchensink }
|
|
- { target: ubuntu-20.04, config: hardenedmalloc }
|
|
- { target: ubuntu-20.04, config: tcmalloc }
|
|
- { target: ubuntu-20.04, config: musl }
|
|
- { target: ubuntu-latest, config: libressl-master }
|
|
- { target: ubuntu-latest, config: libressl-2.2.9 }
|
|
- { target: ubuntu-latest, config: libressl-2.8.3 }
|
|
- { target: ubuntu-latest, config: libressl-3.0.2 }
|
|
- { target: ubuntu-latest, config: libressl-3.2.6 }
|
|
- { target: ubuntu-latest, config: libressl-3.3.6 }
|
|
- { target: ubuntu-latest, config: libressl-3.4.3 }
|
|
- { target: ubuntu-latest, config: libressl-3.5.3 }
|
|
- { target: ubuntu-latest, config: libressl-3.6.1 }
|
|
- { target: ubuntu-latest, config: libressl-3.7.0 }
|
|
- { target: ubuntu-latest, config: openssl-master }
|
|
- { target: ubuntu-latest, config: openssl-noec }
|
|
- { target: ubuntu-latest, config: openssl-1.0.1 }
|
|
- { target: ubuntu-latest, config: openssl-1.0.1u }
|
|
- { target: ubuntu-latest, config: openssl-1.0.2u }
|
|
- { target: ubuntu-latest, config: openssl-1.1.0h }
|
|
- { target: ubuntu-latest, config: openssl-1.1.1 }
|
|
- { target: ubuntu-latest, config: openssl-1.1.1k }
|
|
- { target: ubuntu-latest, config: openssl-1.1.1n }
|
|
- { target: ubuntu-latest, config: openssl-1.1.1q }
|
|
- { target: ubuntu-latest, config: openssl-1.1.1s }
|
|
- { target: ubuntu-latest, config: openssl-3.0.0 }
|
|
- { target: ubuntu-latest, config: openssl-3.0.5 }
|
|
- { target: ubuntu-latest, config: openssl-3.0.7 }
|
|
- { target: ubuntu-latest, config: openssl-1.1.1_stable }
|
|
- { target: ubuntu-latest, config: openssl-3.0 } # stable branch
|
|
- { target: ubuntu-22.04, config: pam }
|
|
- { target: ubuntu-22.04, config: krb5 }
|
|
- { target: ubuntu-22.04, config: heimdal }
|
|
- { target: ubuntu-22.04, config: libedit }
|
|
- { target: ubuntu-22.04, config: sk }
|
|
- { target: ubuntu-22.04, config: selinux }
|
|
- { target: ubuntu-22.04, config: kitchensink }
|
|
- { target: ubuntu-22.04, config: without-openssl }
|
|
- { target: macos-11, config: pam }
|
|
- { target: macos-12, config: pam }
|
|
runs-on: ${{ matrix.target }}
|
|
steps:
|
|
- name: set cygwin git params
|
|
if: ${{ startsWith(matrix.target, 'windows') }}
|
|
run: git config --global core.autocrlf input
|
|
- name: install cygwin
|
|
if: ${{ startsWith(matrix.target, 'windows') }}
|
|
uses: cygwin/cygwin-install-action@master
|
|
- uses: actions/checkout@main
|
|
- name: setup CI system
|
|
run: sh ./.github/setup_ci.sh ${{ matrix.config }}
|
|
- name: autoreconf
|
|
run: sh -c autoreconf
|
|
- name: configure
|
|
run: sh ./.github/configure.sh ${{ matrix.config }}
|
|
- name: save config
|
|
uses: actions/upload-artifact@main
|
|
with:
|
|
name: ${{ matrix.target }}-${{ matrix.config }}-config
|
|
path: config.h
|
|
- name: make clean
|
|
run: make clean
|
|
- name: make
|
|
run: make -j2
|
|
- name: make tests
|
|
run: sh ./.github/run_test.sh ${{ matrix.config }}
|
|
env:
|
|
TEST_SSH_UNSAFE_PERMISSIONS: 1
|
|
TEST_SSH_HOSTBASED_AUTH: yes
|
|
- name: save logs
|
|
if: failure()
|
|
uses: actions/upload-artifact@main
|
|
with:
|
|
name: ${{ matrix.target }}-${{ matrix.config }}-logs
|
|
path: |
|
|
config.h
|
|
config.log
|
|
regress/*.log
|
|
regress/valgrind-out/
|
|
regress/asan.log.*
|
|
regress/msan.log.*
|